Machine Learning, Data Science, Regression, Week07.
racepctblack + racePctHisp, data=crimeData) fitWithFourVariables = lm(ViolentCrimesPerPop ~ racepctblack + racePctWhite + racePctAsian + racePctHisp, data=crimeData) Carrying out an ANOVA for these two models will enable us to find if the two models are similar or not. anova(fitWithTwoVariables,