Hello,
I have an education variable called educ and the variable has 5 items: 1-less than high school, 2-high school, 3-some college, 4-college, 5- advanced degree. However, i want only three items in this variable. i would like to combine 1 & 2 and drop 5. So i would have 1- high school or less, 2-some college, 3- college. How can i do this, without creating/generating three new variables?
Related Posts with Modifying a variable
Group IDs for observation-specific date range and a dummyHi, I have data on project teams for a number of different companies. Included in the data is a DAT…
Unit-root test for a bounded seriesHi All, I would like to test for unit root for a series that is bounded, i.e., a series which lies …
Structural Break Tests with an unknown date - Ambiguous information given in STATA output.Hello, I am running a structural break test with an unknown data (command in STATA: estat sbsingle)…
using xtreg for decompositionHello, We have the following dataset: A limited panel in which an establishment is found in the sam…
Cumulative incidence proportions by covariateHi Stata forum, I would like to estimate the cumulative incidence proportions with a competing risk …
Subscribe to:
Post Comments (Atom)
0 Response to Modifying a variable
Post a Comment