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
From single event observations to time seriesHi everyone, As I am quite new to Stata hope you can help me out with the next question. Currently…
Time and Country Fixed Effects in Panel Data Estimation (OLS and PPMLI am doing a regression taking 34 countries for the time period 2010-19. It is a gravity model so th…
How do I generate a risk score and then use it to calculate quartile odds ratioHello I was looking for some assistance in generating a prediction risk score for a binary outcome …
How to rewrite graph-like command that written by users under Stata 6.0 or earlierDear Stata users, Stata had changed its graph command since version 7. However there are a lot of c…
error message returned when installing spost13 using Stata 17Hello, I would like to use Brant test for my ordered logistic regression models and tried to instal…
Subscribe to:
Post Comments (Atom)
0 Response to Interaction term in a quadratic model
Post a Comment