Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: rsquare Command


From   daniel klein <[email protected]>
To   [email protected]
Subject   Re: st: rsquare Command
Date   Fri, 7 Oct 2011 17:49:53 +0200

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

      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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index