My basic cross-sectional (countrywise) model is based on regress life_exp gdp_pc_ppp sq_gdp_pc_ppp
Now, I have put each country into one of 5 regions (continents) and generated dummy variables for 4 of them (leaving one as base).
Next, I need to add an interaction term in order to see whether the life_exp depends on gdp_pc_ppp in a different way in africa than others.
A bit lost on how to introduce the interaction term in this situation...
Related Posts with Interaction term in a quadratic model
What is wrong with inlist2 in my code?Hi all, Yesterday, as documented from this post (https://www.statalist.org/forums/for...p-of-countr…
Why the number of observation decrease when I increase the sample size?Hi all, Today I face a strange situation that the number of observations shrinking when I expand th…
How to see the frequency of a veriables in each country in a dataset ?By the helps from others, I see that I can list the unique countries from a sample by using\ tab GE…
Test constraint droppedDear Statalist: *First, I run the following Modified Pearson Regression with interactions glm k6ca…
"Starting values invalid" message when using nlsur commandsDear Stata users, I am trying nlsur command using function evaluator program to estimate coefficien…
Subscribe to:
Post Comments (Atom)
0 Response to Interaction term in a quadratic model
Post a Comment