Understanding the estimator will help you in understanding the estimates involved to do hypothesis testing.
Review two-sided test
For a two-sided test of an unknown parameter \(\theta\)
The null hypothesis is \[H_0:\theta=c,\]
The alternative hypothesis is \[H_1:\theta\neq c.\]
The hypothesis test of \(H_0\) determines whether there is statistical evidence to reject \(H_0\).
Asymptotic two-sided test
Rejection rule based on z-statistics (test at \(\alpha\)-level)
Reject \(H_0:\theta=c\) if \(|\text{z-stat}|=\left|\frac{\hat{\theta}-c}{se(\hat{\theta})}\right|\geq z_{\alpha/2}\)
Do not reject \(H_0:\theta=c\) if \(|\text{z-stat}|=\left|\frac{\hat{\theta}-c}{se(\hat{\theta})}\right|< z_{\alpha/2}\)
P-value for two-sided test
The p-value of a test of the null hypothesis \(H_0\) is the smallest level \(\alpha^*\) such that the test rejects \(H_0\) at \(\alpha\)-level.
\[\text{p-value}=P\left(|Z|<\left|\frac{\hat{\theta}-c}{se(\hat{\theta})}\right|\right) \text{ when }H_0:\theta= c \text{ is true, where }Z\sim N(0,1).\]
Rejection rule based on p-value (test at \(\alpha\)-level)
Reject \(H_0:\theta=c\) if \(\text{p-value}<\alpha\)
Do not reject \(H_0:\theta=c\) if \(\text{p-value}>\alpha\)
Asymptotic one-sided test
Rejection rule based on z-statistics (test at \(\alpha\)-level)
Reject \(H_0:\theta\geq c\) if \(\text{z-stat}=\frac{\hat{\theta}-c}{se(\hat{\theta})}\leq -z_{\alpha}\)
Do not reject \(H_0:\theta\geq c\) if \(\text{z-stat}=\frac{\hat{\theta}-c}{se(\hat{\theta})}> -z_{\alpha}\)
Rejection rule based on z-statistics (test at \(\alpha\)-level)
Reject \(H_0:\theta\leq c\) if \(\text{z-stat}=\frac{\hat{\theta}-c}{se(\hat{\theta})}\geq z_{\alpha}\)
Do not reject \(H_0:\theta\leq c\) if \(\text{z-stat}=\frac{\hat{\theta}-c}{se(\hat{\theta})}< z_{\alpha}\)
P-value for one-sided test
The p-value of a test of the null hypothesis \(H_0\) is the smallest level \(\alpha^*\) such that the test rejects \(H_0\) at \(\alpha\)-level.
\[\text{p-value}=P\left(Z<\frac{\hat{\theta}-c}{se(\hat{\theta})}\right) \text{ when }H_0:\theta\geq c \text{ is true, where }Z\sim N(0,1).\]
\[\text{p-value}=P\left(Z>\frac{\hat{\theta}-c}{se(\hat{\theta})}\right) \text{ when }H_0:\theta\leq c \text{ is true, where }Z\sim N(0,1).\]
Rejection rule based on p-value (test at \(\alpha\)-level)
Reject \(H_0:\theta=c\) if \(\text{p-value}<\alpha\)
Do not reject \(H_0:\theta=c\) if \(\text{p-value}>\alpha\)
Next week
Lab 4 on Monday: practice hypothesis testing
Project proposal presentation on Wednesday:
Order of presentation will be announced on Monday
Plan for 4 minutes presentation and 2 minutes for Q&A.