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
Help needed with labeling y axis on a twoway graphDear Statalist users, I am creating a graph where I display recurrent event times over a period of …
Coefplot issueHi all, I have a quick question. My code is below. When I do this code without the "at(vertical)" p…
betaHi everyone, I have a panel data comprising daily stock returns of companies, risk free rates and da…
Standard error of quantile commandHello all,when I was doing quantile regression, I outputted the table and found that several of the …
Setting effect directionalityHow can I demarcate the direction of a measure in my dataset? For example, I have one test where fav…
Subscribe to:
Post Comments (Atom)
0 Response to Modifying a variable
Post a Comment