Dear all,
I would like to view the interaction effect between education level and age while trying to predict their health status (continuous variable) with the Oaxaca-Blinder decomposition approach (linear model).
Education level is measured by 3 dummy variables for lower than high school degree, high school degree and university degree. Age is measured by 8 age groups: 25-29, 30-34, 35-39, 40-44, 45-49, 50-54, 55-59 and 60-64.
I am unsure how to measure this interaction. Options I see are:
1) 3x8 interaction, but this seems over-complicated.
2) Interacting the two categorical variables directly as follows: educationlevel##age, but this is not allowed in the oaxaca command
3) Treating the age variable as a continuous variable and writing the code as follows: normalize(lessthanhighschool highschool university) normalize(lessthanhighschoolxage highschoolxage universityxage # age), but this does not seem technically correct.
What do you think?
Related Posts with Interaction effect between two non-dichotomous categorical variables
Marginsplot only some categoriesDear all, I am struggling with a probably easy procedure. I estimate the following command: logit…
Restructuring of variables using multiple if conditionsHi all, I got a question regarding the reconstruction of my dataset using multiple if commands.I de…
mlogit discrete choice and non-available optionsHi, I'm using mlogit to model a McFadden type multinomial logit model for choice of mode of travel.…
Multilevel Models_repest_PISA2015Good morning, I'm a basic Stata user (version 15) and I want to do some analysis with PISA(2015) dat…
For fractional regression, it is appropriate to rank the dependent variable for the concern that the measure is noisy?Hi, I am using fractional regression, fracreg in Stata, to analyze how city's high school student gr…
Subscribe to:
Post Comments (Atom)
0 Response to Interaction effect between two non-dichotomous categorical variables
Post a Comment