meta_V() marks known sampling variance or covariance in a formula. It is
designed for meta-analysis and other regression problems where part of the
observation covariance is known in advance.
Arguments
- V
A column name, vector, diagonal matrix, block-diagonal matrix, or full covariance matrix. Diagonal/vector
Vrepresents independent known sampling variances. A matrix represents the known covariance among rows.meta_V()matchesVto the model frame by row position after ordinarydrmTMB()row handling; it does not reorder a covariance matrix by row names or dimnames. Put the rows ofdataand the rows and columns ofVin the same order before fitting.
Examples
bf(yi ~ moderator + meta_V(V = vi), sigma ~ moderator)
#> <drm_formula>
#> yi ~ moderator + meta_V(V = vi)
#> sigma ~ moderator