Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Jing Zhou" <jing.zhou@rmit.edu.au> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | st: how to use treatreg |
Date | Fri, 30 Jul 2010 12:35:08 +1000 |
Dear All, I am going to use treatment effects model to address the self-selection problem in my models. when using "treatreg dep indep, treat (dep_t = indep_t)", the result shows "invalid treatment values. only 0 and 1 are allowed". in fact, my treatment indicator which is specified in () is a dummy with 1 or 0 values only. Could you please advise me why this happens and how i can correctly use this command? Many thanks! Jing * * 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/