If I estimate an intercept only model in Stata
reg c.y
I get an estimate of a constant that shows the mean of the continuous variable y.
In Stata, it is also possible to have an intercept-only model with an interaction term, e.g.
reg c.y##c.x
Now, y gets estimated by a constant, a coefficient for the effect of c.x, and a coefficient for the effect of c.y#c.x.
I am not sure what to make of this result. Is the constant plus the effect of c.y#c.x the constant that I get if x equals "zero"?
Who could give me a hint? I cannot find any explanation in the manuals.
Related Posts with Intercept-Only regression with an interaction term - What does it mean?
Parallel trends GraphingGood morning everyone, I am writing this post in order to receive some help with the verification of…
QregplotHello - I am using qregplot command to plot quantile for one of my variable by using the Code: quie…
Cut axis without excluding data pointsHi I am working on a twoway plot where one data point is quite large compared to the rest. However,…
egen =total(), by() issueHello - I'm attempting to create a variable (totalsharesheld) that is the aggregate of three differe…
godir - for working in directoriesDon't know why this never took off - I'm sure I publicized it years ago. For anyone who's interested…
Subscribe to:
Post Comments (Atom)
0 Response to Intercept-Only regression with an interaction term - What does it mean?
Post a Comment