Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: cnsreg


From   Tirthankar Chakravarty <tirthankar.chakravarty@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: cnsreg
Date   Thu, 25 Feb 2010 21:13:18 +0530

**********************************
clear*
sysuse auto
constraint 1 price = weight
cnsreg mpg price weight, constraints(1)
di "The residual sum of squares: " ///
	(`e(rmse)')^2*`e(df_r)' "."
**********************************

T

2010/2/25 Kaganova, Yevgeniya <ykaganova@rti.org>:
> Dear Stata listers, I need to do a Chow test for two constrained linear
> regressions, but the output of cnsreg doesn't have
> Sum of Squares of Errors in it. Why is that?
>
> Thank you. Yevgeniya
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>



-- 
To every ω-consistent recursive class κ of formulae there correspond
recursive class signs r, such that neither v Gen r nor Neg(v Gen r)
belongs to Flg(κ) (where v is the free variable of r).

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index