I am utterly confused at calculating the p value for both single sampled and matched pair sign tests.
Suppose we have a sample size of 12 and 4 values are below our hypothesized median of $m_x$ and 8 are above.
And that $H_0: m=m_x $ and $H_1: m≠m_x$ with $\alpha = 0.10$
Now, taking the number of plus signs to be our test statistic, I know that the number of plus signs follow a binomial distribution of $n=12$ $p=0.5$, however this is where I fail to proceed from.
If we take a look at the distribution of our test statistic we would find exactly half of the values above and below the hypothesized median, but which probability would we calculate to compare to $\alpha$ here?
The textbook I am using is extremely unhelpful here and gives the vague statement that
Given n data points a single sample sign test is created using $X- \text{Bin}(n,0.5)$, the test statistic can be the amount of plus signs. We can calculate the probability that $X$ is above the test statistic, below it or either.
Why cant we just calculate the probability that the number of plus signs is equal to our test statistic or $P(X=4)$ and compare that to $\alpha$, furthermore how can I tell whether to calculate $P(X≥ \text{Test statistic})$ or $P(X≤ \text{Test statistic})$