Displaying 1 result from an estimated 1 matches for "aufnahmen_0708".
2009 Dec 13
0
cross validation/GAM/package Daim
Dear r-helpers,
I estimated a generalized additive model (GAM) using Hastie's package GAM.
Example:
gam1 <- gam(vegetation ~ s(slope), family = binomial, data=aufnahmen_0708, trace=TRUE)
pred <- predict(gam1, type = "response")
vegetation is a categorial, slope a numerical variable.
Now I want to assess the accurancy of the model using k-fold cross validation.
I found the package Daim with function Daim for estimation of prediction error based on cross-...