Hello,
Do you have a suggestion as to the best way to move open-ended text answers for education into a defined category?
For example, I have two respondents who chose "other" and typed in "Business College" and "Johnson Business /Secretarial School"
- upon investigation of these two answers, they should be coded into the 4th category of my educ var (vocational)
I generated a new educ var
gen educ=EDUC
then replaced:
replace educ = EDUC[4] if EDUC_TEXT=="Business College" // ** this coded the respondent into my 6th educ category and not my 4th educ category **
Can anyone direct me how to do this? I am unsure what the "EDUC[4]" portion of my syntax is supposed to and I can't find anything about it.
Thank you!
Related Posts with Recoding open-ended answers into a category for education
how to graph t test results with mean, confidence interval, and significance levelI saw a nice graph in a paper, do we have user-written command to graph t test results with mean, co…
How to interpret xtsktest results of panel dataHow to interpret xtsktest results of panel data and is it okay to run without OLS and Random Effect …
Exporting Percentage with asdocHi Attaullah Shah I am using asdoc command in stata it is very useful, and i am thankful for you. …
heteroskedasticityCan anyone tell me how to test heteroskedasticity for Pooled OLS please? …
Right way to generate a dataset of estimates of treatment effect by year and their CI's as well as the year FEDear all, I want yearly coefficients of treat with their confidence intervals as well as the year f…
Subscribe to:
Post Comments (Atom)
0 Response to Recoding open-ended answers into a category for education
Post a Comment