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
0 Response to Concentration curves of a dichotomous variable
Post a Comment