Re: [R] CVbinary - Help

2011-10-12 Thread Weidong Gu
Maybe it was caused by your modeling binary variable using lm rather than glm. Weidong Gu On Wed, Oct 12, 2011 at 9:59 AM, anamiguita wrote: > Hey, > > I need some help. > > I want to obtain a cross validation for a regression model (binary response) > but I got an error with CVbinary. Well I di

[R] CVbinary - Help

2011-10-12 Thread anamiguita
Hey, I need some help. I want to obtain a cross validation for a regression model (binary response) but I got an error with CVbinary. Well I did this: fit <- lm(resp ~ PC1 + PC2 + PC3 + PC4 + PC5 + PC6 + PC7 + PC8 + PC9+PC10+PC11+PC12+PC13+PC14+PC15+PC16+PC17+PC18+PC19+PC20+PC21+PC22+PC23+PC24