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

Re: st: -test- following regress


From   [email protected]
To   [email protected]
Subject   Re: st: -test- following regress
Date   Mon, 8 Mar 2004 21:37:09 +0100

You cannot use -regress- for this, since you have two different dependent
variables. You must use -sureg- instead.

Christer Thrane
Lillehammer University College
Norway


                                                                                                                                               
                      <[email protected]>                                                                                                
                      Sent by:                         To:       [email protected]                                                
                      owner-statalist@hsphsun2.        cc:                                                                                     
                      harvard.edu                      Subject:  st: -test- following regress                                                  
                                                                                                                                               
                                                                                                                                               
                      08.03.2004 21:30                                                                                                         
                      Please respond to                                                                                                        
                      statalist                                                                                                                
                                                                                                                                               
                                                                                                                                               




Hello Stata-listers ---
I have a question on how to test equality of coefficients
following the execution of two simple linear models.  My code
follows:
 regress alcon power
 regress sover power
 test [#1]power = [#2]power
Following the test command, the error "equation [#2] not found"
is returned.
I've read the relevant Stata help documentation and searched
the Stata listserve archive with little success.
Any suggestions?
Many Thanks in advance!!
Clint Thompson
*
*   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