Hi everyone,
Let's say I'm running a simple regression like Y=a+bX+e using a certain sample of people which comprehends both boys and girls. I want to know if the effect of X is different on boys and girls.
I run the following regression Y=a+bX+c(X*Sex)+e where Sex is a dummy variable which takes value 0 for girls and 1 for boys. Is it correct to say that b is the marginal effect for girls and (b+c) is the effect for boys? Can I say that two effects are indeed different if c is statistically different from 0?
Would it be the same thing to just run Y=a+bX+e separately on the two subsamples of male and female? If yes, how could I test that the effects are different?
Thanks a lot
Let's say I'm running a simple regression like Y=a+bX+e using a certain sample of people which comprehends both boys and girls. I want to know if the effect of X is different on boys and girls.
I run the following regression Y=a+bX+c(X*Sex)+e where Sex is a dummy variable which takes value 0 for girls and 1 for boys. Is it correct to say that b is the marginal effect for girls and (b+c) is the effect for boys? Can I say that two effects are indeed different if c is statistically different from 0?
Would it be the same thing to just run Y=a+bX+e separately on the two subsamples of male and female? If yes, how could I test that the effects are different?
Thanks a lot
Comment