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
PPML or PPMLHDFEDear all, I am currently working on my master thesis and I would like some guidance, since the data…
Calculating investor turnover with Gaspar's formulaHi, I'm new to Stata so apologies if my question seems a bit 'simple'. I'm currently researching the…
Confirmatory factors analysis CFA in panel dataDear readers, I am carrying out a study with panel data from 2011 to 2016 for several cities. I cre…
Difference in differences: Problem in the set up?Hi Everyone, I am relatively new to stata and statistics in general so excuse me for the rather bas…
Regression Discontinuity With Binary OutcomesHi, is it possible to use package rdrobust to perform a logit regression with binary outcome variab…
Subscribe to:
Post Comments (Atom)
0 Response to cmogram problem
Post a Comment