Hi, for the sake of my question I will use the following variables: dependent = lnwage, control1 = gender, control2 = education level
I want to do a regression on log wages and the interaction between gender and edu level.
Currently to run the regression I am using the following input
reg lnwage i.gender##edu
The base levels are gender: male and edu: level 1
From my understanding the interpretation of the coeff of female#level 2 = -0.2
Would be a female with a level 2 education receives 20% less than a male with a level 1 education. And a female with a level 3 edu receives 15% less than a male with a level 1 edu etc.. Since male, level one is the base.
However, I want to be able to get output that allows me to interpret the coeff as a female with a level 2 edu receives 20% less than a male with a level 2 edu and a female with a level 3 edu receives 15% less than a male with a level 3 edu and so on.
Basically I'd like a regression in which the females edu level is compared with a male of the same edu level, rather than a male at the base edu level, for every edu level, including the base level 1.
I hope this makes sense. I am new to stata and haven't interpreted statistical values in years.
Related Posts with Problem with coeff interpretation of a regression with interaction
xtabond2 for System GMM code writing problemDear all, I am new to xtabond2 I don't know to write the proper codes for my study. I would like to…
BCa bootstrap confidence levelsHi all, I am bootstrapping a program and would like to obtain the confidence intervals for various …
calculating percentages by household idHello, I want to create a variable that shows the % of increase in care by household. Below, you ca…
marginal effect of multivariate probit modelhow to estimate marginal effect of multivariate probit model in stata …
Boxplot/quantiles for frequencyHi everyone, I'm struggling with my dataset and I don't know how I can fix it. Here you see a sample…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with coeff interpretation of a regression with interaction
Post a Comment