Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: RE: Listing coefficient of one variable


From   "Scott Merryman" <smerryman@kc.rr.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: Listing coefficient of one variable
Date   Tue, 13 Sep 2005 09:36:39 -0500

Another possibility is to use -statsby-

statsby, by(d):treatreg y a b c , treat(wc=l m n) twostep


Scott


> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-
> statalist@hsphsun2.harvard.edu] On Behalf Of FUKUGAWA, N.
> Sent: Tuesday, September 13, 2005 8:42 AM
> To: statalist@hsphsun2.harvard.edu
> Subject: Re: st: RE: Listing coefficient of one variable
> 
> Dear all,
> How can I apply your suggestion to the treatment regression model?
> 
> forvalues i=1/100 {
> treatreg y a b c if d==`i', treat(c= l m n ) twostep
> }
> 
> Thank you in advance.
> --
> FUKUGAWA Nobuya, Ph.D.
> nfukugawa@gmail.com


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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   |   What's new   |   Site index