In R, you can use the package \(\texttt{leaps}\) for best subset selection, and for computing BIC and the \(C_p\) statistic (which is equivalent to AIC in the considered setting).
Hints for problem 7.9
Published Sep. 3, 2025
- Last modified Sep. 3, 2025