Hi there!
I am new to stata, and need to work something out. I have a dummy variable (Pmov) for if somebody has recently moved into a private rental, and a categorical variable (Ethn) which lists their ethnicity. What I want to do is to create a new categorical variable that still categorises by ethnicity, but only shows movers into private rentals from those ethnicities. I've been searching high and low for answers, can somebody please point me in the right direction? This seems like it's probably a really simple question, but it's been causing me a lot of trouble, as I say, big novice right here. Here's what the data looks like:
Cheers
C
I am new to stata, and need to work something out. I have a dummy variable (Pmov) for if somebody has recently moved into a private rental, and a categorical variable (Ethn) which lists their ethnicity. What I want to do is to create a new categorical variable that still categorises by ethnicity, but only shows movers into private rentals from those ethnicities. I've been searching high and low for answers, can somebody please point me in the right direction? This seems like it's probably a really simple question, but it's been causing me a lot of trouble, as I say, big novice right here. Here's what the data looks like:
Pmov | Native | Turks | Moroc | Other_nonwestern | West_Mig |
0 | 10,414 | 389 650 | 923 | 2,414 | 1,114 |
1 | 1,473 | 84 204 | 346 | 366 | 328 |
C
Comment