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
Estimating shares for a categorical variable per year and per stateHi all, I have a categorical variable with three categories (1, 2, 3). I want to find the percentag…
Converting numeric values into timeHello! In my dataset, I have a column "time_out" which has numeric values such as 17.45 or 18.36 et…
Westerlund error-correction-based panel cointegration testsDear all, I am trying to do panel cointegration test using xtwest command or using Westerlund(2007) …
Westerlund error-correction-based panel cointegration testsDear all, I am trying to do panel cointegration test using xtwest command or using Westerlund(2007) …
Inserting knot locations in stpm2 when degree of freedom is 1.Hi there, I am running a flexible parametric model with 2 knots (I know this is equivalent to weibu…
Subscribe to:
Post Comments (Atom)
0 Response to Concentration curves of a dichotomous variable
Post a Comment