[Rd] Trivial formatting typo in summary(lm()) (PR#10480)
maechler at stat.math.ethz.ch
maechler at stat.math.ethz.ch
Wed Dec 5 18:55:15 CET 2007
I'm about to commit a fix to this "age old" typo,
using "R-squared" in both cases as Jeff suggests,
unless some R-corer tells me I should not.
Yes, indeed, two *.Rout.save files need to be replaced too,
but I don't think that this --- and the fact that the output in many
books will eventually be "wrong" by a difference of
' "r" - "R" '
would be good enough reason to keep this inconsistency.
Ok?
Martin
>>>>> "JR" == Jeffrey Racine <racinej at mcmaster.ca>
>>>>> on Fri, 30 Nov 2007 19:40:12 +0100 (CET) writes:
JR> Full_Name: Jeffrey Racine
JR> Version: 2.6.1 and previous...
JR> OS: FreeBSD
JR> Submission from: (NULL) (130.113.139.86)
JR> Hi.
JR> I almost feel bad reporting this, but here goes.
JR> The summary() for lm() (and possibly others?) uses a capitalized `S' in Multiple
JR> R-Squared but a lowercase `s' in Adjusted R-squared. For instance,
JR> Residual standard error: 0.5608 on 202 degrees of freedom
JR> Multiple R-Squared: 0.2308, Adjusted R-squared: 0.2232
JR> F-statistic: 30.3 on 2 and 202 DF, p-value: 3.103e-12
JR> Perhaps they both ought to be lowercase? Again, truly trivial but perhaps it
JR> adds to the overall polish...
JR> -- Jeff
More information about the R-devel
mailing list