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
threshold cointegrationHi all, I'm using Stata 15.1. I have a balanced panel of 34 countries T=24 years. I found co-integra…
New -chartab- package on SSC to tabulate character frequency countsThanks to Kit Baum, the chartab package is now available on SSC. To install, type in Stata's Command…
Spatial Panel: spmatrix create idistance W says "Two or more observations have the same coordinates"Dear Statalist, I am using Stata 15. and I am working on spatial (SAR) model with panel data. I hav…
Factual and Counterfactual terminologyHello Statalist, I have a question that I hope is appropriate: I am looking for synonyms to the wor…
Question on Reshaping(?) Data to Create Annual Dummy Variable from Monthly DataHello Everyone, I have data that runs monthly and each observation is a national troop contribution…
Subscribe to:
Post Comments (Atom)
0 Response to cmogram problem
Post a Comment