In my linear regression, I am trying to see if there's an interaction between a categorical variable with more than 2 levels (CatVar) and another independent continuous variable (ConVar) . The problem is that the continuous variable has a quadratic relationship with the dependent variable.
When I check for interaction by
regress Outcome i.CatVar##c.ConVar##c.ConVar
"testparm" reveals that neither quadratic interaction (CatVar#c.ConVar#c.ConVar) or linear interaction term (CatVar#c.ConVar) is significant.
However, when I put the interaction term as i.CatVar##c.ConVar##c.ConVar in the whole regression model together with other variables, "testparm" reveals that only the quadratic interaction term (CatVar#c.ConVar#c.ConVar) is significant, while the linear interaction term (CatVar#c.ConVar) is non-signficant.
How can I interpret this? Is there an interaction effect at all? Or do I conclude that there is no interaction?
Related Posts with How to interpret quadratic interaction in linear regression?
csdid error 3598I am using the incredible command csdid by @avila Fernando Rios-Avila https://friosavila.github.io/p…
Merging Compustat annual and segment databaseI have the compustat segment data that looks as follows: gvkey stype sid datadate cogss dps 100…
how to add values from variable of one observation to another observationhttps://www.statalist.org/forums/for...72#post1681572 …
IV regression syntax (different sample periods)Hello, I am trying to run IV regressions in STATA. I use xtivreg or ivregress with year and industr…
Are wage data with 7% of observations earning '0' censored?Hi all Trying to understand the nature of my wage data and whether Tobit regression (or some other …
Subscribe to:
Post Comments (Atom)
0 Response to How to interpret quadratic interaction in linear regression?
Post a Comment