Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: how to use treatreg


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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index