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
Problem in using simarwilson commandHello all! For a research investigation of mine, I wish to estimate two-stage DEA-bootstrap regressi…
Need help with DD analysis.Is there anyone who cam help wit DD analysis (canonical) for like 45 mins via zoom call? …
Plot Standardized Differences between GroupsI want to standardize a set of outcomes and plot differences based on a category variable. I was usi…
Multiplying with missing valuesI want to generate a new variable showing total hours of care per month. I generate this variable ba…
Stata 17: How to put Confidence Intervals on either "graph bar" or "graph hbar" with Survey DataDear Statalist Users, Good morning. I have two quick questions to ask you : How can we add some co…
Subscribe to:
Post Comments (Atom)
0 Response to Decile groups based on MPCE
Post a Comment