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
Programming questionHello I'm new to programming and I'm stuck trying to do a simple task within a program. How do you …
Need help with logistic regressionHello everybody, For my master's thesis, I need help using logistic regression. It's about the effe…
Create variable containing hour by hour observationsHello, I am new to Stata and I am trying to properly understand how to use dates. As such, I was in…
Estimating shape and scale parameters of Weibull distribution, with right censoringI have a continuous variable to which I want to fit a Weibull distribution. The variable is right ce…
Split dataset in parts based on conditionHello, I have a split dataset containing a string variable named '"Time Splot" that takes 5 value, …
Subscribe to:
Post Comments (Atom)
0 Response to Modifying a variable
Post a Comment