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
panel ardlhi i am running a panel ardl model for n= 5 , my optimal lag length was 2 for the dependent variable…
Making Tables from Matrices using esttabI am trying to make a 2 rows, 3 columns table using esttab. Every item/observation in this table sho…
Very novice question re calculating Wald testI know that the Wald test uses 'test' as command but I have some simple calculations to make on appr…
Making Tables from Matrices using esttabI am trying to make a 2 rows, 3 columns table using esttab. Every item/observation in this table sho…
getting result of table command in excelI have given dataset with some viables because all the variables are not possible with dataex comman…
Subscribe to:
Post Comments (Atom)
0 Response to Concentration curves of a dichotomous variable
Post a Comment