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?
How to create and define 30 minutes interval data in Stata?Dear user, My data is 30 minutes interval. I want to declare as time series. For daily time series d…
Combining time variables in panel dataHi,
This is my first time here on statalist, I am trying to do a portfolio analysis in Stata and ra…
Generating a new variable that is the sum of each value of a different variableHello. This seems like it would be straightforward but as an advanced beginner I am having a hard ti…
categorizing continuous dataHello, I would be super grateful for some help with the following scenario
Maternal obesity is cons…
Combining time variables in panel data for forecastingHi,
This is my first time here on statalist, I am trying to do a portfolio analysis in Stata and ra…
Subscribe to:
Post Comments (Atom)
0 Response to How to interpret quadratic interaction in linear regression?
Post a Comment