Hello!
Can you tell me how to pull out one of the 4 categorical options of the education variable so that those who finish university can be a separate dummy variable, reducing the categories for the education indicator to only 3:
a) Less than primary completed,
b) Primary completed and
c) Secondary completed?
I've tried changing them each to binary but then I don't know how to assemble again the 3 that I want to remain a single categorical variable. Maybe there is a more straightforward way?
Thanks in advance
Heather
Related Posts with Transforming a categorical variable into 1 categorical and 1 binary
Factor AnalysisI am running the following command: factor criswci criswmi criswpi criswyi criswui criswti criswbi…
Interaction Term interpretationHello, I have the following model log trade volume = log distance*year I want to figure out how t…
Help with Estimation of Total Factor Productivity in a BC'95 Stochastic Frontier ModelI ran a Battese and Coelli 1995 sfpanel model in Stata 12.1 of the following translog equation sfpa…
How do I create HHI by country,and by industry of data in a time seriesI'm trying to get started with my regression analysis on Stata but I'm lacking HHI variable.I n part…
Path Model with (endogenous) Treatment - which model, which command?Hello all I have collected data on the intention to create a new business of my students. I measur…
Subscribe to:
Post Comments (Atom)
0 Response to Transforming a categorical variable into 1 categorical and 1 binary
Post a Comment