I am dealing with a DHS data set. Here is what it looks like:
ID number | Age In months | X1 |
1 | 6 | A |
2 | 3 | B |
3 | 2 | C |
ID number | Age In months | X1 |
1 | 0 | A |
1 | 1 | A |
1 | 2 | A |
1 | 3 | A |
1 | 4 | A |
1 | 5 | A |
1 | 6 | A |
2 | 0 | B |
2 | 1 | B |
2 | 2 | B |
2 | 3 | B |
3 | 0 | C |
3 | 1 | C |
3 | 2 | C |
0 Response to Expand each observation based on age in months
Post a Comment