Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: ABX P Value (Read 3999 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

ABX P Value

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?

ABX P Value

Reply #1
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