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
Simultaneity in panel dataHow to deal with simultaneity in panel data? I am trying to establish a relationship between variabl…
Trying to figure out how to effectively display long label names while using tabplotArray Array I am displaying two graphs here - example 1 and example 2. I use the same code for bot…
What is Panel VAR?Good day. For our class project we need to analyse a panel of macroeconomic variables using "panel V…
R to STATAHello, I have a .Rdata file that I would like to convert into STATA. Can someone help to do this? Re…
Stata 13. Counting variable on loop.Dear all, I'm having problems trying to generate a variable of count from a local and a loop. I need…
Subscribe to:
Post Comments (Atom)
0 Response to Concentration curves of a dichotomous variable
Post a Comment