powered by
Get a point estimate of the covariance or correlation matrix of population-level parameters
# S3 method for brmsfit vcov(object, correlation = FALSE, pars = NULL, ...)
covariance or correlation matrix of population-level parameters
An object of class brmsfit.
brmsfit
Logical; if FALSE (the default), compute the covariance matrix, if TRUE, compute the correlation matrix.
FALSE
TRUE
Optional names of coefficients to extract. By default, all coefficients are extracted.
Currently ignored.
Estimates are obtained by calculating the maximum likelihood covariances (correlations) of the posterior draws.
if (FALSE) { fit <- brm(count ~ zAge + zBase * Trt + (1+Trt|visit), data = epilepsy, family = gaussian(), chains = 2) vcov(fit) }
Run the code above in your browser using DataLab