Re: [R] lm.influence in multivariate linear model

About this list Date view Thread view Subject view Author view Attachment view

From: Martin Maechler (maechler@stat.math.ethz.ch)
Date: Fri 28 Jun 2002 - 17:25:24 EST


Message-id: <15644.3940.620118.126108@gargle.gargle.HOWL>


>>>>> "Daniel" == Daniel Mastropietro <mastropi@uwalumni.com> writes:

    Daniel> I have fitted a multivariate linear model using lm()
    Daniel> but then I cannot apply any function available for
    Daniel> diagnostics, such as lm.influence(), rstudent()
    Daniel> etc. I get the following error message when calling
    Daniel> any of the above functions.

    Daniel> "Error in lm.influence(model1) : non-NA residual
    Daniel> length does not match cases used in fitting"

            ....

    Daniel> The command for the fit is simply lm(y ~ x)
    Daniel> which runs properly.

    Daniel> Are the diagnostic measures only available for
    Daniel> univariate linear models?

currently, yes.
Improvements to the code (and docu) are very welcome!
R is an open & volunteer project.

Regards,

Martin Maechler <maechler@stat.math.ethz.ch> http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum LEO C16 Leonhardstr. 27
ETH (Federal Inst. Technology) 8092 Zurich SWITZERLAND
phone: x-41-1-632-3408 fax: ...-1228 <><
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Wed 16 Oct 2002 - 11:57:34 EST