search for: rv961327

Displaying 2 results from an estimated 2 matches for "rv961327".

Did you mean: v961327
2010 Feb 03
1
Changing an unordered factor into an ordered factor
I'm trying to change an unordered factor into an ordered factor: data96$RV961327 <- data96$V961327 data96$RV961327[data96$V961327 %in% levels(data96$V961327)[4]] <- NA data96$RV961327[data96$V961327 %in% levels(data96$V961327)[5]] <- NA data96$RV961327 <- factor(data96$RV961327) attributes(data96$RV961327) levels(data96$RV961327) data96$RV961327 data96$RRV961327 &...
2010 Jan 31
1
Running a Logit Model in R
...ewbie and had the following question. I'm trying to run a logit model because I have a dependant variable that is a factor with three levels. Each of my independent variables are factor variables and have two or more levels, which is why I'm unsure about the error. regone <- glm(data96$RV961327 ~ data96$RV960605 + data96$RV960610 + data96$RV960337 + data96$RV960385 + data96$RV960417 + data96$RV960615 + data96$RV960698 + data96 $RV960714 + data96$RV961145 + data96$RV960067 + data96$RV960702, family=binomial(logit)) This produces the following error. Error in `contrasts<-`(`*t...