Recall: ANOVA, F-Test
Hypotheses:
\(H_0: \beta_1 = \beta_2 = \cdots = \beta_p = 0\) vs. \(H_A:\) at least one \(\beta_i \neq 0\)
Test statistic: F-statistic
\[
F = \frac{MSModel}{MSE} = \frac{SSModel/p}{SSE/(n-p-1)} \\
\]
p-value: Probability of observing a test statistic at least as extreme (in the direction of the alternative hypothesis) from the null value as the one observed
\[
\text{p-value} = P(F > \text{test statistic}),
\]
calculated from an \(F\) distribution with \(p\) and \(n - p - 1\) degrees of freedom.
Nested F-Test
Suppose \(k\) is the number of \(\beta\)’s in the nested model and \(p\) is the full number of predictors in the larger model. I.e. \(\beta_{k+1},\ldots, \beta_{p}\) are the new \(\beta\)’s
Hypotheses:
\(H_0: \beta_{k+1} = \beta_{k+2} = \cdots = \beta_p = 0\) vs. \(H_A:\) at least one \(\beta_i \neq 0\) for \(i>k+1\)
Test statistic: F-statistic
\[
F = \frac{(SSModel_{full} - SSModel_{reduced})/(p-k)}{SSE_{full}/(n-p-1)} \\
\]
p-value: Probability of observing a test statistic at least as extreme (in the direction of the alternative hypothesis) from the null value as the one observed
\[
\text{p-value} = P(F > \text{test statistic}),
\]
calculated from an \(F\) distribution with \(p-k\) (the number of predictors being tested) and \(n - p - 1\) degrees of freedom.
Note: Same as regular F-test if reduced model is just \(Y= \beta_0\).