Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Cmogram - scatter option?


From   Andreas Fagereng <[email protected]>
To   [email protected]
Subject   st: Cmogram - scatter option?
Date   Fri, 2 Dec 2011 13:33:40 +0100

Dear listers,


Im using the very efficient cmogram command to produce RD plots of a
Treatment that happens for individuals above the age of 30. For this
Im using a bandwidth of 2 years on each side of the threshold.

The following line gives me a plot with CI bands below and above the threshold.
-cmogram Outcome Age if inrange(Age,28,32), scatter lineat(30)
cutpoint(30) lfitci-


I would ideally also like to scatter plot the observations for the
interval 25-35, although keeping the CI bands for the interval 28-32
only.
Is there an easy way of doing this, or will I have to program it manually?

Best,
Andreas
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index