vcov.brmcoda function

Covariance and Correlation Matrix of Population-Level Effects

Covariance and Correlation Matrix of Population-Level Effects

Get a point estimate of the covariance or correlation matrix of population-level parameters of the brmsfit object in a brmcoda object.

## S3 method for class 'brmcoda' vcov(object, ...)

Arguments

  • object: An object of class brmcoda.
  • ...: Further arguments passed to vcov.brmsfit.

Returns

covariance or correlation matrix of population-level parameters

Examples

## fit a model if(requireNamespace("cmdstanr")){ m <- brmcoda(complr = complr(data = mcompd, sbp = sbp, parts = c("TST", "WAKE", "MVPA", "LPA", "SB"), idvar = "ID", total = 1440), formula = Stress ~ bilr1 + bilr2 + bilr3 + bilr4 + wilr1 + wilr2 + wilr3 + wilr4 + (1 | ID), chain = 1, iter = 500, backend = "cmdstanr") vcov(m) }

See Also

vcov.brmsfit