Task 03 - Vcavalcanti1975/regression_project GitHub Wiki
Create a 4 level indicator variable for Median Income (column G) and conduct an ANOVA comparing the four groups. Four levels might be Very low, low, high, very high or similar
Df Sum Sq Mean Sq F value Pr(>F)
cancerdeaths$lev_income 3 315288 105096 48.01 <2e-16 ***
Residuals 32547 71242824 2189
Signif. codes: 0 ‘’ 0.001 ‘’ 0.01 ‘’ 0.05 ‘.’ 0.1 ‘ ’ 1