Hello,
I am a master's student. I am working with an individual level dataset with household id (hhid). I have created a unique id for each individual in the household. I need to create a household size variable, basically which tells me the total number of members in the household. This is the command I found: bysort hhid egen=count(gender). Can someone please tell me if this is right? Cheers!
Related Posts with Creating a household size variable
how to export Summary Statistics to wordDear Sir/Madam I am working on my thesis on impact of informal credit on household welfare. I try to…
F test for cof.Hello everyone, My model is: Y = b0 + b1.x1 + b2.x2 + b3.x3 + e and I use GMM for this model. I wa…
Adding partner data to responding person data in a panel data fileI wish to extend my analysis of panel data to include information about the responding person's part…
Generate a new variable in a loop in different files and calculating the meanHi, I want to write a loop to generate a new variable called savings (income-expenditure) in two se…
Matching observations across boundariesI am looking at houses on each side of a designated geographical boundary. Does anyone know how to …
Subscribe to:
Post Comments (Atom)
0 Response to Creating a household size variable
Post a Comment