Sunday, December 4, 2011

How to generate a binary variable for household information in Stata?

So have I have a dataset which contains survey information for different people within households. I want to generate a binary function which is 1, if any individual has at least one household member who has gone to University. All people from the same household share a common serial number|||I think the answer is "13561" for all of that, but I could be wrong.

No comments:

Post a Comment