Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Nick Cox <njcoxstata@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: cmogram command for Regression Discontinuity Design |
Date | Mon, 5 Sep 2011 16:25:07 +0100 |
-cmogram- is a user-written program from SSC. Please recall that you are asked to explain where user-written programs you refer to come from. The author of -cmogram- is not obviously active on Statalist. You may need to contact him directly for good support. I've not used this program except once on its publication, but this sounds soluble. For example, you could -clonevar- your assignment variable, and then in the cloned version change exact zeros to join the bin to which you would prefer they be assigned. If this is not a solution you may need to spell out exactly what you are trying and exactly why it does not work, which is again is no more than you are asked to do. Nick On Mon, Sep 5, 2011 at 4:04 PM, Borgomeo, Letizia <L.Borgomeo@warwick.ac.uk> wrote: I am using the cmogram command for plotting the means-per-bin of an outcome variable against the assignment variable in a RDD. I am wondering if there is any way of setting the bins in order to have all the treated observations to the right and the untreated to the left of the cutoff. The forcing variable range is [-37;61] and I need the last bin in the LHS not to include the observations with a 0 value of the assignment variable, since they are exposed to treatment. Yet both with histopts(width()) and histopts(bin()) I do not manage to do it. * * 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/