Hello,
In my assignment im supposed to show that my multiple regression fulfills the "zero conditional mean" assumption, MLR.4, i.e E(u|xi)=0 but i dont know how to code it in R.
My regression looks like
Regalc <- lm(ethanol ~ beertax+unemrate+educ, data = alcohol)
Since I probably dont have included all the "right" independent variables it must be likely that my dependent variable "ethanol" must be correlated with the error term?
How do i code and interprate?
Thanks!