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
Creating 2 dummy variables in StataHi everyone I am back with another question to help me out I have a table output containing lots o…
merge 1:m using new_id, overwrites id in masterfileDear listers I have two files that i want to merge. File 1 includes: id (string), case_id (string)…
Running regression while controlling for industry and yearsI'm investigating the influence of patenting (pat_yr -> patents per year) on the returnoninvestem…
Odd scalar behaviourDear statalisters, I am running the following code to cut up a very large file (>15g) into small…
Correlation between dummy variablesI am working on STATA 14 and have a panel data- long view with cross sectional data of Indian non-fi…
Subscribe to:
Post Comments (Atom)
0 Response to Concentration curves of a dichotomous variable
Post a Comment