


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
An introduction to null hypothesis significance testing (nhst), also known as hypothesis testing. It explains the concept of statistical inference, the role of the p value, and the difference between the fisher and neymann-pearson schools of thought. The document also includes an example of nhst using the binomial distribution and discusses common misconceptions about p values.
What you will learn
Typology: Study notes
1 / 4
This page cannot be seen from the preview
Don't miss anything!
P P value p binomial parameter “probability of success” n sample size H 0 the null hypothesis H a the alternative hypothesis
Statistical inference is the act of generalizing from sample (the data) to a larger phenomenon (the population) with calculated degree of certainty. The prior chapter introduced the most important form of inference: estimation. This chapter introduces the second form of inference: null hypothesis significance tests (NHST), or “hypothesis testing” for short.
The main statistical end product of NHST is the P value, which is the most commonly encountered inferential statistic and most frequently misunderstood, misinterpreted, and misconstrued statistics in the biomedical and public health literature.^1 Most teachers of statistics do not fully understand P values. Not even specialist scientists can easily explain them.
Since the process of NHST revolves around the P value, let us start with its definition, which is easiest to remember with this notation:
P value ≡ Pr(data or data more extreme | H 0 true) where
Pr ≡ probability | ≡ “given” or “conditional upon” H 0 ≡ the null hypothesis
Thus, the P value answers the question “If the null hypothesis were true, what is the probability of observing the current data or data that is more extreme?” Note that the P value is NOT the probability that the hypothesis (or any other hypothesis) is right or wrong. In fact, it assumes the null hypothesis is right!
In light of these facts, there are actually two classical schools of thought on how best to use the P value: the Fisher and Neymann-Pearson schools.^2 There is also a Bayesian way to interpret the P value, but that presents a whole other set of dilemmas.
As a starting point, we will consider the P value as a calculated index which, as it gets smaller-and- smaller, provides stronger-and-stronger evidence against the null hypothesis.
(^1) There is a large body of literature about the misinterpretation of P values. My favorite is: Cohen J. (1994). The
earth is round (p < .05). American Psychologist, 49, 997-1002. (^2) For an introduction to the distinct between these interpretations, see this video. You can get to the video by
Googling “Gerstman p value Youtube.”
The first step of NHST is to convert the research question into null and alterative hypotheses. Thus, the research question must be concisely articulated before starting this process.
H 0 is assumed to be true until proven otherwise. However, H a is the hypothesis the researcher hopes to bolster.
Take as an example a treatment that is said to be 25% effective. A researcher claims she has a new treatment with improved efficacy. It is essential that we articulate the research question into “plain English.” In null (no difference) form, the new treatment is NO more effective than the existing treatment (25% effective). In alternative (“difference”) form, the new treatment is more effective than the existing treatment.
We can see that this question is about a proportion (25% vs. not 25%). Thus, the parameter to be inferred is similar to binomial proportion p. Under the null hypothesis, H 0: p = .25. This is the most important part of setting up the NHST.
The researcher tests the new treatment in 3 patients. This experiment lends itself to the binomial distribution since it is based on series of trials which can each outcome can be characterized as a success or failure. Since the null hypothesis of “no difference" is assumed to be true until proven otherwise, the number of successes in the experiment should follow a binomial pmf with n = 3 and p = 0.25. This exact pmf was introduced in Chapter 4 and is also shown here:
X Number of successes
Pr( X = x ) Probability
Pr( X ≤ x ) Cumulative Probability 0 0.4219 0. 1 0.4219 0. 2 0.1406 0. 3 0.0156 1.
We consider two possible outcomes of the experiment.
If all 3 patients in this experiment responded to the new treatment, P value = (data or data more extreme| H 0 true) = Pr(X=3) = 0.0156. This observation would be rare if the true success rate was only 25%. Thus, the evidence against H 0 would be deemed to be significant.
If 2 of the 3 patients in the experiment responded, P value = (data or data more extreme| H 0 true) = Pr(X =
In neither case can we say that the evidence of efficacy is conclusive. However, the “3 out of 3” (P = .0156) provides some evidence of a “real difference” and is worthwhile of follow-up, where the “2 out of 3” ( P = .1562) evidence is weak.
The interpretation of P values is a minefield. It is therefore very important to start out with the proper understanding. As the movie “The Big Short” noted, “It ain’t what you don't know that gets you into trouble. It's what you know for sure that just ain’t so” (falsely attributed to Mark Twain).^3
“It is not the fault of researchers that the P value is difficult to interpret correctly. The man who introduced it as a formal research tool, the statistician and geneticist R.A. Fisher, could not explain exactly its inferential meaning. He proposed a rather informal system that could be used, but he never could describe straightforwardly what it meant from an inferential standpoint. In Fisher’s system, the P value was to be used as a rough numerical guide of the strength of evidence against the null hypothesis.”^4
One common mistake in using the P value is to declare a result as “significant” if the P value is less than .05. We want to avoid this common and costly mistake. In addition, here are twelve additional misconceptions of the P values that we wish to avoid (Goodman 2008, footnote 5):
Future sections of this chapter will introduce the one-sample z test for a mean and the one-sample z test for a proportion.
(^3) An actual quote from Tolstoy (1893): “The most difficult subjects can be explained to the most slow-witted man if
he has not formed any idea of them already; but the simplest thing cannot be made clear to the most intelligent man if he is firmly persuaded that he knows already, without a shadow of a doubt, what is laid before him.” (^4) Goodman S. A (2008) Dirty Dozen: Twelve P -Value Misconceptions. Seminars in Hematology, 45(3), 135-40.