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
Label variable list (varlist) based on labels of another varlistI want to label a list of variables using the same labels as another list of variables. In the table…
interactions involving dummies resulting from dummy coding categorical variablesHello. I am having trouble in understanding what exactly am I contrasting when I use margins r. with…
help with calculating the means for long form dataHi, I'm working with long form data which contains information on financial outcomes (income, total…
Different variables with different datesHello, I want to make the portfolio sort analysis and extract the idiosyncratic volatility, However…
Panel Data Regression Fixed Effects InterpretationHello everyone. I am asking for your help in interpreting my results. I am currently using a panel …
Subscribe to:
Post Comments (Atom)
0 Response to Modifying a variable
Post a Comment