This is for a homework that I'm supposed to do in SAS, but doing in R instead.
I want to perform an F-test for $H_0: \beta_i = 0$ for all $\beta_i$, all slopes equal to 0.
I have a linear model
lm(salary ~ quality + experience + success) and can manually compute the F statistic from the ANOVA table and perform the test.
Is there a simpler way to do the F-test?