search for: datansd

Displaying 1 result from an estimated 1 matches for "datansd".

2009 Jan 16
2
Predictions with GAM
Dear, I am trying to get a prediction of my GAM on a response type. So that I eventually get plots with the correct values on my ylab. I have been able to get some of my GAM's working with the example shown below: * model1<-gam(nsdall ~ s(jdaylitr2), data=datansd) newd1 <- data.frame(jdaylitr2=(244:304)) pred1 <- predict.gam(model1,newd1,type="response")* The problem I am encountering now is that I cannot seem to get it done for the following type of model: *model3<-gam(y_no~s(day,by=mapID),family=binomial, data=mergeday)* My mapID con...