| plogLik | R Documentation |
Computes the Gaussian pseudo-loglikelihood for fitted multivariate
covariance generalized linear models. The pseudo-loglikelihood is
obtained by assuming a multivariate normal distribution for the
stacked response vector, using the estimated mean vector and
covariance matrix from the fitted mcglm object.
plogLik(object, verbose = TRUE)
object |
An object of class |
verbose |
Logical indicating whether the pseudo-loglikelihood value
should be printed to the console. Defaults to |
The Gaussian pseudo-loglikelihood is computed as
\ell_p = -\frac{n}{2}\log(2\pi)
- \frac{1}{2}\log|\Sigma|
- \frac{1}{2}(y - \mu)^\top \Sigma^{-1} (y - \mu),
where y is the stacked vector of observed responses, \mu is
the stacked vector of fitted means, and \Sigma is the estimated
covariance matrix. For a list of mcglm objects, block-diagonal
covariance matrices are constructed internally.
This quantity is used mainly for model comparison purposes and as a
building block for pseudo-information criteria such as pAIC
and pBIC. It is not a true likelihood unless the Gaussian
assumption holds.
An invisible list with the following components:
A numeric value giving the Gaussian pseudo-loglikelihood.
An integer giving the total number of estimated parameters (degrees of freedom) used in the model.
Wagner Hugo Bonat, wbonat@ufpr.br
pAIC, pBIC, ESS, pKLIC, GOSHO,
RJC
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.