search for: modelg

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

Did you mean: model
2008 Aug 19
0
gam.check in gam (mgcv)
...ief description of my data, I have claims: a vector of values, which include NA's and one large negative value - otherwise all positive (55 values in total that are not NA). origin: a factor with 10 levels j : taking the values 1, 2, ...., 10 I have fitted a gam, with: > library(mgcv) > modelg <- gam(claims ~ origin + s(log(col)), family = quasipoisson(), + subset=!is.na(claims)) (I have obtained a work-around of the quasipoisson family to deal with the negative value.) After this I tried the following: > gam.check(modelg) This gives a plot in the usual way (that looks fi...