[R] meaning of error message about collinearity

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

From: Adaikalavan Ramasamy (ramasamy@stats.ox.ac.uk)
Date: Sat 13 Jul 2002 - 06:07:32 EST


Message-id: <011401c229df$c9883d30$a81401a3@stats.ox.ac.uk>

Just a quick question. I am trying to fit an LDA model with a restricted
subsample. My X is a numerical matrix and Y is vector of factor response.

fit _ lda( Y[1:50] ~ X[1:50, ] )

gives the following error message: variables are collinear in:
lda.default(x, grouping, ...)

I am guessing this is the problem of rank deficiency as I have about 80
variable. [since the lda works with subsample of size 80 and above]

Q1: Is my interpretation of the error message correct ?
Q2: I am using the fit to prediction purposes etc. Is this likely to be
affected. ie how serious is this problem ?
Q3: Is there a good website about sound statistical theory/practical of
overcoming problem of rank deficiency if this is indeed the source of the
error.

Many thanks, Adai.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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 : Tue 01 Jun 2004 - 09:30:58 EST