MIT 18.650 — Lecture 17

pp-Values

Note that the behavior of a test Ψ:{data}{0,1}\Psi: \{\mathrm{data}\} \to \{0, 1\} is a function of the level α\alpha that is set.

Definition. Given a test Ψ\Psi and some inputted data {Xi}i=1n\{X_i\}_{i = 1}^n, the pp-value of Ψ\Psi is the smallest level α\alpha at which Ψ\Psi rejects H0H_0.

Suppose we perform a test and get a pp-value of…

Remark. In most settings, we can simplify the definition of a pp-value to just be “the probability of observing results as or more extreme than what we did, assuming that H0H_0 was true”.

Example. Suppose we observe Xˉn=33.4\bar{X}_n = 33.4 with n=164n = 164 and σ^=12\hat{\sigma} = 12, and we are doing a test on H0:μ30H_0: \mu \leq 30 and H1:μ>30H_1: \mu > 30. Using the Wald test Ψ\Psi, our test statistic is:

Tn=nσ^(Xˉn30)=16412(33.430)3.63.T_n = \frac{\sqrt{n}}{\hat{\sigma}}(\bar{X}_n - 30) = \frac{\sqrt{164}}{12}(33.4 - 30) \approx 3.63.

The test Ψ\Psi rejects H0H_0 if 3.63zα3.63 \geq z_{\alpha}. The least α\alpha for which this occurs is 1Φ(3.63)0.01%1 - \Phi(3.63) \approx 0.01\%, so the pp-value is 0.01%0.01\%, and we have very strong evidence against H0H_0.