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 | RE: st: how to use treatreg |
Date | Tue, 03 Aug 2010 19:36:33 +1000 |
hi, Martin, what do you mean by "ta treatmentvar"? i do include dummy variable in "treat (dep_t = indep_t)". Jing >>> "Martin Weiss" <martin.weiss1@gmx.de> 30/07/2010 4:16 pm >>> <> What does -ta treatmentvar- give you? HTH Martin -original message- Subject: st: how to use treatreg From: "Jing Zhou" <jing.zhou@rmit.edu.au> Date: 30-07-2010 04:36 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/ * * 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/ * * 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/