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: rsquare Command


From   "Carl Mastropaolo" <accuscience@comcast.net>
To   <statalist@hsphsun2.harvard.edu>
Subject   Re: st: rsquare Command
Date   Fri, 7 Oct 2011 11:58:45 -0400

Hi Daniel

Will try to re-upload.

Thanx,
Carl


----- Original Message ----- 
From: "daniel klein" <klein.daniel.81@googlemail.com>
To: <statalist@hsphsun2.harvard.edu>
Sent: Friday, October 07, 2011 11:49 AM
Subject: Re: st: rsquare Command


I think -rsquare- is

package rsquare from http://www.ats.ucla.edu/stat/stata/ado/analysis
---------------------------------------------------------------------------------------------

TITLE
      rsquare. Display R-Square for all possible regressions.

DESCRIPTION/AUTHOR(S)
      Philip B. Ender
      Statistical Computing and Consulting
      UCLA Office of Academic Computing
      ender@ucla.edu

      STATA ado and hlp files in the package
      distribution-date: 20021001

Try

. qui reg y1 x17 x18 x19
. rsquare y1 x19 if e(sample)
. rsquare y1 x17 x18 x19

and compare the results. The changes in R2 values are probably due to
missing values and resulting differences in the estimation sample.

Best
Daniel

--

[...]
Now I add a third indy variable, x17.  Why should the R^2 value for the
simple model  y1  vs  X19 now change to  .0624 from the original value of
.0596?
[...]
*
*   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/ 

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