Statistical hypothesis test
ID: statistical-hypothesis-test
A statistical hypothesis test is a decision rule calibrated to distinguish a null hypothesis from a specified alternative hypothesis. A randomized statistical test gives a rejection probability for possible data . Its power function of a statistical test is , and a level- test satisfiesThe supremum is the size of a statistical test. Controlling it limits type I error; a useful test also has high statistical power against scientifically relevant alternatives.
For ten independent Bernoulli trials with success probability , test against by rejecting for at least nine successes. The upper-tail probability increases with , so the largest null rejection probability occurs at and equalsIt is therefore a conservative level-0.05 test. Rejecting at eight successes would have size . This illustrates why discrete calibration need not attain the advertised level exactly. A p-value is a null-tail probability for the observation, not a probability that the null hypothesis is true. The decision also does not measure the size or practical importance of an effect.
New to topics? Read the docs here!