Zero Conditional mean

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!

Hi, welcome!

Homework inspired questions are welcome here, but you have to tell us what have you tried so far? what is your specific problem? We are more inclined towards helping you with specific coding problems rather than doing your work for you.

For guidelines about how to properly ask homework related questions here, please read our homework policy.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.