pgam.fit(w, y, eta, partial.resid)
raw
, pearson
and deviance
. The type raw
is prefered. Properties of other form of residuals not fully tested. Must be careful on choosing it.
See details in predict.pgam
and residuals.pgam
.Harvey, A. C. (1990) Forecasting, structural time series models and the Kalman Filter. Cambridge, New York
Junger, W. L. (2004) Semiparametric Poisson-Gamma models: a roughness penalty approach. MSc Dissertation. Rio de Janeiro, PUC-Rio, Department of Electrical Engineering.
Green, P. J., Silverman, B. W. (1994) Nonparametric Regression and Generalized Linear Models: a roughness penalty approach. Chapman and Hall, London
pgam
, residuals.pgam
, predict.pgam