Hi, I am new to the forum and stata itself. I need help in drawing a concentration curve. I am trying to graph prenatal care according to the wealth index. My prenatal care is a dichotomous variable ("yes/no") and after using the following code:
glcurve prenatal_care [aw=weight], glvar(yord) pvar(rank) sortvar(wealth) lorenz
I get a graph that is kinked and has jumps, instead of a smooth curve. Could someone please guide me on how to fix it. The data is from the DHS.
Many thanks.
I have also added the attatchment
I have also attached the output of the graph Array
Related Posts with Concentration curves of a dichotomous variable
Matching sample based on multiple variablesHi, I have two samples. Sample 1 (main sample) includes 200 companies from Sweden. Sample 2 includes…
Identifying when a variable passes a certain thresholdHi I have a data set of athletes training times per day as well as the date the training was held. I…
Marginal Effects with Factor VariablesI want to calculate the marginal effects of my control variables. I use factor variables for categor…
how do we get the significance of Beta'sHi all, So I estimate the beta's using GMM in MATA. : void GMM_DL(todo,betas,crit,g,H) { PHI=st_da…
Calculate Percentile of Top Scale Response in Longitudinal dataI have longitudinal international survey data, with a variable on a scale of 5. I would like to asse…
Subscribe to:
Post Comments (Atom)
0 Response to Concentration curves of a dichotomous variable
Post a Comment