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
Problem with estimation of coefficient in panel regressionMy aim is to estimate the association between a country's real per capita growth (realgthpc) and exp…
Geonear producing unstable resultsI'm trying to use geonear to identify the nearest neighbors within a dataset at the household-day le…
Redistributing a Group's percentiles in panel dataHi, this is my first post in Statalist and I'm hoping you can help me. I am using a panel data set …
MisstableHello, Looking to do misstable summarize. I have a variable split into cases and controls. Then I h…
Generating mean returns, based on xtile returnsHi comminuty, I seem to have problems with calculating mean returns (ret_sup in my data). My datase…
Subscribe to:
Post Comments (Atom)
0 Response to Recoding open-ended answers into a category for education
Post a Comment