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
Error message when estimating a Translog cost function for efficiency of banking sectorDear Statlist members, Good afternoon. I am estimating a translog cost function intending to measure…
Metan 3 variable input, possible to standardize output?Hi all, I am doing some meta-analysis. Most of my data are in six-variable format - and Metan's def…
Loop renaming from labelsmy variables are named B, C, D, E,... EY (because i imported from excel), and they have labels such …
Import new variable from Excel to existing dataset?Hi there - I built a new dataset in Excel and have been using it in Stata (copied and pasted in the …
Error message when estimating a Translog cost function for efficiency of banking sectorDear Statlist members, Good afternoon. I am estimating a translog cost function intending to measure…
Subscribe to:
Post Comments (Atom)
0 Response to Creating a household size variable
Post a Comment