Dear Statalist,
Sorry if my question is too general for this forum. I hope it is okay.
I am looking at the impact of trade on the returns to various levels of education in a developing country. Education is a categorical variable (where: 1 = no completed education, 2 = primary complete, 3 = secondary complete, 4 = university complete). The data is from household surveys.
My base regression is as follows:
Hourly wage = (trade_country_i) + (trade_worldminus_i) + (education level) + (more controls) + u
Because I am interested in the returns to specific returns to education, I do the following interaction:
Hourly wage = x1(trade_country_i)*(education level) + (trade_country_i) + (trade_worldminus_i) + (education level) + i(more controls) + u
The base category (1=no complete) is omitted by Stata.. but this masks important information. The coefficients on the other education levels are always positive, which makes sense as they are relative to the lowest level of education. But I really I would like to know how each react of them independently.
Is there a way to do this on Stata?
Thank you in advance.
Ray
Related Posts with Using an interaction between a categorical and a continuous interaction where the base category is highly informative
esttab different number formatting within same columnDear experts, I am currently exporting my stata table to Overleaf (LaTeX) using estpost and esttab.…
Pooled-Cross Sectional Data - nhis_alcohol.dtaHello, I am writing an Empirical Paper on the effect of alcohol on labor market outcomes. The data i…
Regression and heteroskedasticityGood day everyone! I am just starting my path and learning use of Stata. Can someone help me to sol…
Reshaping my datasetGood evening, I would like to ask a question about my dataset: This is how my data look like Code:…
Truncate Y-axis with twoway function graphHi, folks. I've been using Stata for data management and analysis for quite a few years, but I've re…
Subscribe to:
Post Comments (Atom)
0 Response to Using an interaction between a categorical and a continuous interaction where the base category is highly informative
Post a Comment