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 perform impulse response function (IRF) and forecast error variance decomposition (FEVD) based on panel VECM?Hi all, I am currently working on a panel error correction model (PVECM), and trying to perform IRF…
Counting year and company-wise string observationsHi everyone, I have a dataset of governance data, listing each company's directors and whether they…
Two-level Logistic Regression with Complex Survey Design - QueryHello, I am relatively new to Stata (and Multilevel Modelling more broadly), and would be grateful …
MHTEXP*Theorem 3.1 Adjusted Values ExtractionHi everyone, I have been trying to create a matrix of List's MHT adjusted p-values that I get after…
Help on using coded variables to run the mincer wage equation?Hi, I'm trying to run the mincer wage equation using ols regression with a random effect model. In …
Subscribe to:
Post Comments (Atom)
0 Response to Recoding open-ended answers into a category for education
Post a Comment