## Topic: ABX P Value (Read 2734 times)previous topic - next topic

0 Members and 1 Guest are viewing this topic.
• cabbagerat
ABX P Value
##### 22 September, 2004, 07:14:48 AM
I definately remember reading a discussion on the correct calculation of the ABX p-value (probability you were guessing) a while back but a couple of searches and a read through the FAQ were unhelpful. From my limited stats knowledge (half a semester on probability) I came up with (for p correct from n trials) nCk*(0.5)^n*(0.5)^(n-k) which simplifies to nCk/2^n. This doesn't seem correct to me.

What is the correct equation for working this out?

• Omion
• Developer
ABX P Value
##### Reply #1 – 22 September, 2004, 04:02:34 PM
I don't know if there's an easier mathematical equation for it, but this one works:

n=number of trials
k=number correct
q=temp variable

sum( q=0 to n-k : ([span style='font-size:8pt;line-height:100%']n[/span]C[span style='font-size:8pt;line-height:100%']q[/span]) / (2^n))
For n=5 and k=4, this gives 1/32 + 5/32 = 3/16 ~ 0.1875

[edit: deleted quote]
"We demand rigidly defined areas of doubt and uncertainty!" - Vroomfondel, H2G2

• kjoonlee
ABX P Value

• cabbagerat
ABX P Value
##### Reply #3 – 23 September, 2004, 02:40:44 AM
Thanks Omion and kjoonlee, that's just what I was looking for.