The null hypothesis and the p-value
A trader tells you 116 of her last 200 trades made money. Is she good, or could a coin have done that? Hypothesis testing makes the question precise. The null hypothesis is the boring explanation: each trade wins with probability . The alternative is her claim, .
Next you need a test statistic, a number that measures how far the data sit from what predicts. Under the win count has mean and standard deviation , so
The p-value is the probability, computed assuming is true, of a statistic at least as extreme as the one observed. Here (the exact binomial tail is 0.014). If you fixed a significance level in advance, then and you reject .
This is a one-tailed test, because only a high win rate supports her claim. If you were asking whether a coin is biased in either direction, you would count both tails: the two-tailed p-value is . Pick the tail before looking at the data. Choosing it afterwards quietly halves your p-value.
The interview trap is the interpretation. A p-value of 0.012 does not mean there is a 1.2% chance she has no skill. It is . Turning that into needs a prior on how common skilled traders are, which is the reversal covered in Bayes' Theorem.