Just a quick question on dummy creation.
I'm working on a household survey and I want to create a dummy which flags the individuals that live in a household whose breadwinner is a woman.
For example:
Code:
list hous_id sexo breadwinner mulherchefe in 1/12
+------------------------------------------+
| hous_id sexo breadw~r mulher~e |
|------------------------------------------|
1. | 11000001616 1 1 1 |
2. | 11000001616 0 0 . |
3. | 11000001616 0 0 . |
4. | 11000001616 1 1 1 |
5. | 11000001616 0 0 . |
|------------------------------------------|
6. | 11000001616 1 0 . |
7. | 11000001616 1 0 . |
8. | 11000001616 0 0 . |
9. | 11000001616 0 0 . |
10. | 11000001616 1 1 1 |
|------------------------------------------|
11. | 11000001616 0 0 . |
12. | 11000001616 0 0 . |
+------------------------------------------+Thanks.
0 Response to Fill a dummy for all individuals based on the answer of only one
Post a Comment