logLik.pgam | R Documentation |
Method for loglik value extraction.
## S3 method for class 'pgam' logLik(object, ...)
object |
object of class |
... |
further arguments passed to method |
See pgam.likelihood
for more information on log-likelihood evaluation in Poisson-Gamma models.
The maximum value achieved by the likelihood optimization process.
Washington Leite Junger wjunger@ims.uerj.br and Antonio Ponce de Leon ponce@ims.uerj.br
Harvey, A. C., Fernandes, C. (1989) Time series models for count data or qualitative observations. Journal of Business and Economic Statistics, 7(4):407–417
Junger, W. L. (2004) Semiparametric Poisson-Gamma models: a roughness penalty approach. MSc Dissertation. Rio de Janeiro, PUC-Rio, Department of Electrical Engineering.
pgam
, pgam.fit
, pgam.likelihood
library(pgam) data(aihrio) attach(aihrio) form <- ITRESP5~f(WEEK)+HOLIDAYS+rain+PM+g(tmpmax,7)+g(wet,3) m <- pgam(form,aihrio,omega=.8,beta=.01,maxit=1e2,eps=1e-4,optim.method="BFGS") logLik(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.