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   "FUKUGAWA, N." <nfukugawa@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: Listing coefficient of one variable
Date   Tue, 13 Sep 2005 23:54:01 +0900

Thank you for your cooperation.
"treatreg" does not allow to use "statsby" and the program I wrote in the previous mail does not work.
Any help would be appreciated.
--
FUKUGAWA Nobuya, Ph.D.
nfukugawa@gmail.com

Scott Merryman wrote:

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/

*
*   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