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
Appropriate Dimension for Clustering of Standard ErrorsHi, I am trying to estimate the impact of directors' remuneration on firm performance. My unbalance…
How to model change over timeHello, I have panel data and my goal is to model the change over time of my dependent variable. Mor…
Greatest lower bound and other alternatives to Cronbach's alphaHello everyone, What are the stata commands for glb (greatest lower bound) for estimating internal …
Erase blank spaces from a twoway graphDear Statalist, I would like to create a graph (twoway scatter) using the by() option for some group…
Forvalue loop in self-design bootstrapI am a beginning learner of Mata, and I came across a feedback of "break" when running the code belo…
Subscribe to:
Post Comments (Atom)
0 Response to Concentration curves of a dichotomous variable
Post a Comment