Finding exact $p$ value for McNemar's test, using the table with probabilities under the binomial distribution
Assuming a table for a certain number of trials $n$, with a column per true probability $P$, and a row for each possible number of successes $X$
$p$ value is the probability of finding the observed $b$ value or a more extreme number, given that the null hypothesis is true.
|