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." <[email protected]>
To   [email protected]
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.
[email protected]

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: [email protected] [mailto:owner-
[email protected]] On Behalf Of FUKUGAWA, N.
Sent: Tuesday, September 13, 2005 8:42 AM
To: [email protected]
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.
[email protected]


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index