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
Calculate at once using patternHello, I would like to calculate the employment and unemployment rate using estimates of labor forc…
In regression analysis, is the unit of the predictor rounded in any way?In regression analysis, I'm familiar with the saying that the coefficient reported is an effect on y…
Converting a country-year dataset into a countyr-year-religiousgroup dataset (from wide format to long format)Hello, Thanks in advance for suggestions. I want to change the format of the data (I think the corre…
Mean, StDev, N, t-value in one commandHello Guys I have a dataset which shows the following: Firm date return DayofWeek AARGKB Janua…
Problem with using propensity score matching (psmatch2) while conducting an event studyDear Statalisters, I am using Stata 16 on an Apple Macbook. For my master thesis Financial Economi…
Subscribe to:
Post Comments (Atom)
0 Response to Concentration curves of a dichotomous variable
Post a Comment