Hello!
I want to control for education in a OLS regression. Right now I have all of my data in a single education variable.
1. Does it make sense to divide it in 2 dummies: secondary school and college, and include both on the regression? Or do I do both of them together as 1 dummy only? Is there any difference?
2. If I do the 2 dummies (with values of eitheir 1 or 0) do I have to put as missing values the college data in the secondary school dummy variable or can it be the zero (0). The same for the college dummy variable, is it ok that the secondary school data is coded as zero?
Thank you
Related Posts with Dummy Variables In a regression
Hazard as a Propensity Score for Matching - Propensity Score Matching with Time-Dependent CovariatesHello, I am trying to create a matched sample using hazard ratios by observation by id. I am conduct…
Maximum Likelihood Exploratory Factor Analysis and Confirmatory Factor AnalysisDear Statalist users, I am using Stata 15 and comparing the results between Maximum likelihood expl…
How to make a hbar which shows percentage of sum of one variable over groupsI have a dataset like this (part of it): Code: * Example generated by -dataex-. To install: ssc in…
Dummy Variables OmmittedIn a study looking at the effect of foreign ownership, we have run into the issue that our variables…
Listing unique observations with a rolling windowDear all, Suppose I have the following dataset: Code: clear input str8 memberid year "B000" 1980…
Subscribe to:
Post Comments (Atom)
0 Response to Dummy Variables In a regression
Post a Comment