Dear StataList Users,
I have attached a small and a relevant portion of my data.
V010 stands for mother's year of birth
bfduration2 stands for the duration of breastfeeding given in months
age_months stands for the children's age given in months.
I tried to make a graph to see discontinuity after the cut-off (year of birth = 1986, there was a compulsory education law that affected women who born after 1987. Yet, the treatment status of women born in 1986 is fuzzy)
When I run these codes, I see less dots(points) around the lines even though my n's are large enough.
For example,
when I use this command "cmogram bfduration2 V010 if V010<1998, cut(1986) scatter line(1986) lfit", my number of obs is 7554 (N=7554) but I could not see7554 dots around my lines. I do not understand why is that the case?
Similar problems exist in the following commands.
cmogram bfduration2 V010 if V010<1998 & age_months>=36, cut(1986) scatter line(1986) lfit (N=2444)
cmogram bfduration2 V010 if V010<1998 & age_months>=48, cut(1986) scatter line(1986) lfit (N=1158)
Thank you in advance.
Related Posts with cmogram problem
Work out date from ISO week and yearHello, I was wondering if anyone could help me work out the a date for the first day of an ISO week …
Problem with comparing xtunitroot test across selected panelsGood Morning/Afternoon to you all, First post I've made, but I'm a very long-time user of the insig…
How to separate 2 dates that are currently in 1 variable?Hello all, this is my first post on this site. I am currently dealing with a variable whose entries …
Tabulating means and CI for each level of a categorical variableDear Statalist, I want to obtain some descriptives of a continuous variable by age group. I can ach…
2SLS Panel Data for Logit/Probit regressionDear Statalists, I just have a general question of how to proceed with the logit model with instrum…
Subscribe to:
Post Comments (Atom)
0 Response to cmogram problem
Post a Comment