BornRuff
03-27-2011, 04:32 AM
Hi,
So I have a data set that is sorted by house hold number, and person number within each household. So their are unique house hold numbers for each house, and a number 01,02,....n for each person in the house.
I want to assign a dummy variable 1 to everyone in a household that has a child with a disability. This is so that I can find all of the parents of children who have a disability.
So far I have created a dummy variable that indicates if the child has one of the disabilities that I am interested in. I want to figure out what function I have to run to assign that dummy variable to all other people within the households that contain a person flagged with the dummy variable.
Help please!
So I have a data set that is sorted by house hold number, and person number within each household. So their are unique house hold numbers for each house, and a number 01,02,....n for each person in the house.
I want to assign a dummy variable 1 to everyone in a household that has a child with a disability. This is so that I can find all of the parents of children who have a disability.
So far I have created a dummy variable that indicates if the child has one of the disabilities that I am interested in. I want to figure out what function I have to run to assign that dummy variable to all other people within the households that contain a person flagged with the dummy variable.
Help please!