I'm trying to run a repeated k-fold cross validation of my GAM model, but I can't specify my family in CVgam in R. I want to compare poisson GAM and Negative binomial GAM. How can I solve this problem?

  • $\begingroup$ From what package is CVgam()? $\endgroup$ – Gavin Simpson Nov 24 '20 at 16:51
  • $\begingroup$ It is from gamclass. $\endgroup$ – hans Nov 24 '20 at 17:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.