s-news
[Top] [All Lists]

[S] regression question

To: "S-PLUS Newsgroup (E-mail)" <S-news@wubios.wustl.edu>
Subject: [S] regression question
From: Winfred Lambert <winnie@amu.ensco.com>
Date: Thu, 28 Sep 2000 11:16:56 -0400
Sender: owner-s-news@wubios.wustl.edu
All,

I have a binary predictand and 27 predictors that are mostly binary (4
are continuous).  I tried to put them in lm() but I get an error:

Error in lm.fit.qr(x, y): computed fit is singular, rank 26

I tried it again and got a different rank number.  Before I go nuts and
look in every S book I have, can someone tell me if my approach is
flawed and, if so, what direction I should go?  I tested lm() with my
continous data and it worked fine with 2 predictors and a continous
predictand.  My goal is to forecast probabilities of an event happening.

W

******************************************************
Winifred C. Lambert, Senior Scientist/Meteorologist
ENSCO Inc.
Aerospace Sciences and Engineering Division
1980 N Atlantic Ave, Suite 230
Cocoa Beach, FL 32931
VOICE: 321.853.8130  FAX: 321.853.8415
lambert.winifred@ensco.com

AMU Quarterly Reports on the Web:
http://technology.ksc.nasa.gov/WWWaccess/AMU/home.html
******************************************************
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>