Hi all,
I am trying to standardise 'ethnicity' variable into four categories:
1. white
2. black
3. asian
4. other
I have currently got:
1. white
2. black
3. indian
4. pkstni, bngldeshi
5. other
6. na, refused
I want to put "indian, pkstni, bngldeshi" into "asian" and also "na,refused" in "other".
I have been recommended to create a new variable and then proceed. Please help.
Related Posts with Standardising variables ***Stata newbie***
Grouped from ungrouped dataHi all, I have a data set with 2.2m observations (individuals), nested in 28 countries, between 197…
Fund and time fixed effectsHey I am new to Stata, how can I run a fund and time fixed regression? What would the code look like…
Interpreting Solman Goodman Mediation testHello, How can I interpret the following Solman Goodman Mediation test: Sobel Goodman Mediation …
Testing for the significance of monetary policy announcementsHello, I would like to conduct a similar t-test to the one done in the following paper Ranaldo and …
diff in diff, unbalanced panel data re election yearsHello! I am trying to do a diff in diff with fixed effects on unbalanced panel data. My dependent va…
Subscribe to:
Post Comments (Atom)
0 Response to Standardising variables ***Stata newbie***
Post a Comment