[R] Is there an R-SQUARE function?
Stuart Luppescu
s-luppescu at uchicago.edu
Wed Sep 29 17:59:56 CEST 1999
On 29-Sep-99 Thomas Lumley wrote:
> On Tue, 28 Sep 1999, Pete St. Onge wrote:
>
>> Hi there, I realize that this is a bit of a strange question, but here
>> goes.
>>
>> In SAS, one can use the REG procedure to carry out a least-squares
>> regression analysis. By specifying the R-SQUARE option in the SELECTION
>> command, the program carries out regressions for every combination of
>> every independant variable against the dependant variable. This is
>> useful in smaller datasets, though difficult to justify from the
>> perspective of statistical design.
>
>
> The "leaps" package on CRAN does this. This is normally called
> all-subsets regression rather than R-SQUARE (or, to be fair, "leaps")
This interests me a lot. But when I tried to use the package, I got this
message:
> library(leaps)
Error in dyn.load(file) : unable to load shared library
"/usr/lib/R/library/leaps/libs/leaps.so":
/usr/lib/R/library/leaps/libs/leaps.so: undefined symbol: do_lio
Did I make some mistake in installing the package, or what?
I'm running R 0.65 on RedHat Linux 6.0 (intel) with kernel 2.2.12; leaps is
Aug 17 12:45 leaps_2.0.tar.gz
______________________________________________________________________
Stuart Luppescu -=-=- University of Chicago
$(B:MJ8$HCRF`H~$NIc(B -=-=- s-luppescu at uchicago.edu
http://www.consortium-chicago.org/people/sl/sl.html
ICQ #21172047 AIM: psycho7070
Q: Why does Washington have the most lawyers per capita and
New Jersey the most toxic waste dumps?
A: God gave New Jersey first choice.
>> Sent on 29-Sep-99 at 10:56:43 with xfmail
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list