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
How do I obtain the parameters for rgamma() from a specified gamma modelI would like to obtains input parameters for the function gamma(a,b), where a is the gamma shape par…
Creating all possible firmpairs within each industryDear Statalist, The following shows a snippet of the dataset used: HTML Code: compid compname …
Trying to assess yearly coverage for 5-year date ranges, using half (or more) of each year as the cutoff for coverageHi all, I am working with data involving coverage of a 5-year environmental safety plan for various…
Stata Runs .Do File without errors to plot graph but nothing happensI've run into a problem after working with a .do file and dataset to draw a series of graphs, prior …
CEM with panel dataWhy are some weights bigger than 1 and some weights smaller than 1 when using the CEM command in Sta…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with coeff interpretation of a regression with interaction
Post a Comment