Hi everyone,
hope you had a nice Christmas.
I am having some Stata issues and i hope that someone could help me.
I have different household IDs (HHID) in my dataset and per household there are several observations. The HHID is coded as a string and looks like "679Zbdejf987fbsdz89". Then I generated another variable that describes if a person is working or not. Work==1 if the person is working.
My goal is to create a variable that indicates if at least one person from the household is working. I.e. if at least one of the HHID has "679Zbdejf987fbsdz89" at work==1, then a variable should be created for all household members " Does anyone know how I implement this?
Regards,
Jasmin
Related Posts with Connect Variables
Finding Matches in Panel DataHello Statalisters, Firstly, thank you for having a look at my problem - any help or advice you cou…
Modified Park Test*to determine family of distribution in GLMHie there! I would like to identify the family of distribution to use in a GLM model and i've seen …
Can't download spost13_adoHello stata friends, I'm trying to download spost13_ado so I can run mlogtest but there seems to be…
Reshape ErrorHello everyone, Array I am struggling with this problem, I am running an analysis in Stata, with lo…
Providing start values for E-M algorithm (traj plug-in)Dear all, I am using a plug-in called traj. It is a subset of finite mixture modeling and it uses a…
Subscribe to:
Post Comments (Atom)
0 Response to Connect Variables
Post a Comment