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

st: -test- following regress


From   <cthompson@dfpm.utah.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: -test- following regress
Date   Mon, 08 Mar 2004 13:30:05 -0700

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/



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