Displaying 1 result from an estimated 1 matches for "dad_id".
Did you mean:
ad_id
2008 Nov 07
2
Vectorizing sample()
I am simulating sickness among a group of families. Part of the task is
to randomly draw who in the family will be sick, randomly drawing from
family ID's where Dad =1, Mom = 2, Kid1 = 3, Kid2 = 4., etc. My census of
Dads is of the form shown below.
Dad_ID Spouse (Y=1;N=0) #Kids #People_Becoming_Sick
1 1 0 1
2 0 2 2
3 1 0 2
4 1...