Skip to content
Prev 360518 / 398503 Next

lm() with spearman corr option ?

Please read ?lm! -- where it says:

method:
the method to be used; for fitting, currently only method = "qr" is
supported; method = "model.frame" returns the model frame (the same as
with model = TRUE, see below).


More to the point, your request for a "spearman" method for lm() makes
little or no sense. There *are*  rank-based methods for multiple
regression, but that sort of discussion is off topic here. I suggest
you talk with a local statistician as you appear to be out of your
depth statistically; or you might try posting on a statistical site
like stats.stackexchange.com

Cheers,
Bert
Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Thu, Apr 28, 2016 at 8:35 PM, Hoji, Akihiko <akh22 at pitt.edu> wrote: