Evaluates the loglikelihood of a Poisson-Tweedie generalized linear mixed model with random intercept, using the adaptive Gauss-Hermite quadrature rule.
loglik.pt.1re(beta, D, a, Sigma, y, X, Z, id, offset = NULL, GHk = 5,
tol = 9.88131291682493e-324, GHs = NULL)
The loglikelihood value obtained using a Gauss-Hermite quadrature
approximation with GHk
quadrature points.
Vector of regression coefficients
Dispersion parameter (must be > 1)
Power parameter (must be < 1)
A matrix with the variance of the random intercept
Response vector (discrete)
Design matrix for the fixed effects
Design matrix for the random effects
Id indicator (it should be numeric)
Offset term to be added to the linear predictor
Number of quadrature points (default is 5)
Tolerance value for the evaluation of the probability mass function of the Poisson-Tweedie distribution
Quadrature points at which to evaluate the loglikelihood. If NULL
(default value),
the GH quadrature points are computed internally
Mirko Signorelli
Signorelli, M., Spitali, P., Tsonaka, R. (2021). Poisson-Tweedie mixed-effects model: a flexible approach for the analysis of longitudinal RNA-seq data. Statistical Modelling, 21 (6), 520-545. URL: https://doi.org/10.1177/1471082X20936017
ptmixed
and the examples therein