Hi,
I have two populations in my data. A population of parents (mothers and fathers) with their respective occupations and one of children. I want to create a variable that is a random assignment of occupations to children, based on parental occupation. In other words I want to preserve the occupational distribution of parents (i.e. if 60% of parents are doctors and 40% are lawyers, I want 60% of children to be doctors and 40% are lawyers) on the children's population. Even better if that could be conditional on some characteristics (say, education).
If I had exactly the same number of observations for parents and children I could just assign random numbers (within the same range) to both and match them. Any idea of how to do it with different population sizes?
Thanks!
I have two populations in my data. A population of parents (mothers and fathers) with their respective occupations and one of children. I want to create a variable that is a random assignment of occupations to children, based on parental occupation. In other words I want to preserve the occupational distribution of parents (i.e. if 60% of parents are doctors and 40% are lawyers, I want 60% of children to be doctors and 40% are lawyers) on the children's population. Even better if that could be conditional on some characteristics (say, education).
If I had exactly the same number of observations for parents and children I could just assign random numbers (within the same range) to both and match them. Any idea of how to do it with different population sizes?
Thanks!
Comment