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
Question about exogeneityI ran the following equations via fixed effects (one with a lead for union status, and one without a…
How to construct equal weighted portfolio using StataHi, I have date and returns for 5 factors in different columns. I need to construct a equally weigh…
Applying a conditional -if- statement to a set of variables without typing the names individually?Dear STATA Forum, I have a (hopefully simple) question about using variable shortcuts and condition…
setstars option with asdocIn the (wonderful) asdoc program, the option setstars(*@.05, ~@.10) does not seem to work with neste…
Creating seasons of the year by using gen commandHi, all. I imported a dataset from excel to stata with data from seven years. I am trying to create…
Subscribe to:
Post Comments (Atom)
0 Response to Concentration curves of a dichotomous variable
Post a Comment