[R] Missing coefficient on a glm object

From: Diego Cesar <diegocfq_at_gmail.com>
Date: Tue, 13 May 2008 13:27:50 -0300


Hello guys, i looked over the archive files and found nothing about this kind of error.

I have a database of 33 elements described in 8 variables, i'm using the Leave-One-Out iterative process
to take one of the elements to be the test element and make a regression with the other 32 and then
I try to predict the clas of the element out.

 I'm using this call as a part of a Leave-One-Out experiment:

glmresult <- glm(Y ~ x1+x2+x3+x4+x5+x6+x7+x8, family=binomial, control=glm.control(epsilon = 1e-8, maxit = 100, trace = FALSE))

but when i look at the coefficients with:

coef(glmresult)

Everything goes well (i get all the coefficients) until the 27th element which gets a NA as a coefficient to variable x8

The vectors Y, x1,x2,x3,x4,x5,x6,x7,x8 have the same length and there isn't any missing data.

don't know what to do right now as i already reviewed the code a lot and i'm starting to think the problem is in the
data.

Diego Cesar

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 13 May 2008 - 17:17:43 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 13 May 2008 - 18:30:38 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive