[R] lm.influence in multivariate linear model

Martin Maechler maechler at stat.math.ethz.ch
Fri Jun 28 09:25:24 CEST 2002


>>>>> "Daniel" == Daniel Mastropietro <mastropi at 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 at 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 at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list