Quantcast
Channel: The Stata Blog - Latest Comments
Viewing all articles
Browse latest Browse all 1126

Re: How to successfully ask a question on Statalist

$
0
0

Hello,
I am working on national household survey data. I constructed the consumption aggregate and estimated the per capita consumption per annum. The entire dataset is household level data. The data is also weighted (household weights). The data has health insurance coverage per household (i.e. number of persons covered by health insurance per household). I have divided the population into quintiles (using the command: xtile quintile=cons_pc[aw=weights], n(5)). The problem is I want to use stata to calculate health insurance coverage in the entire population across quintiles applying the household weights. I have tried the command: tab quintile nhis[aw=weights], but it doesn't give me exactly what I am looking for. I gives me values at the household level.

Please, I need your help.

Thanks.


Viewing all articles
Browse latest Browse all 1126

Trending Articles