Hello,
I'm trying to re-create a table given in one of the technical reports on housing. The data set includes household level data on housing condition and other socio-economic parameters. The table that I want to recreate basically divides the households into decile groups based on monthly per capita consumption expenditure (MPCE). I tried different approaches including:
Method 1:
egen MPCErank= rank( MPCE ), unique
egen decile =cut(MPCErank), group(10)
Method 2:
sort MPCE
sumdist MPCE [aweight==weight], n(10)
But yet failed to recreate them. Please tell me where I'm going wrong.
Related Posts with Decile groups based on MPCE
Anova problemDear Statalisters, I haven't done anova in Stata since the advent of great 'xt/mixed'. But for part…
Reducing space between columns using frmttableHi. I'm trying to fit a multicolumn table in word using the stata command "frmttable". The spacing b…
How to Fit Non-Linear Regressions with Scatter PlotDear Statalists, I really need help now. Thanks in advance. In the below code chunk, I would like …
How to generate Hosmer Lemeshow test/ goodness of fit in the case of xtlogit, re?Hi, After conducting xtlogit, re (logistic regression for panel data), how do I check the goodness …
Generate population data based on known population characteristicsHello everyone, My goal is to draw a random sample from a population of registered voters. However,…
Subscribe to:
Post Comments (Atom)
0 Response to Decile groups based on MPCE
Post a Comment