search for: glmmod

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

Did you mean: glmod
2005 Oct 06
0
how to handle missing values in the data?
...lues are imputed with mean, median or new category?? I have another problem with Generalized Linear Model (glm) function. I might have commited some error, but i am not sure where i did? The script for glm function i have tried is as: trdata<-data.frame(train,row.names=NULL) attach(trdata) glmmod <- glm(Class~., family= binomial(link = "logit"),data=trdata,maxit=50) tstdata<-data.frame(test,row.names=NULL) attach(tstdata) xtst <- subset(tstdata, select = -Class) ytst <- Class pred<-predict(glmmod,xtst) library(mda) confusion(pred,ytst) can you help me to sort o...
2008 Apr 03
2
coding for categorical variables with unequal observations
Hi, I am doing multiple regression, and have several X variables that are categorical. I read that I can use dummy or contrast codes for that, but are there any special rules when there're unequal #observations in each groups (4 females vs 7 males in a "gender" variable)? Also, can R generate these codes for me? THanks.