Learn R Programming

metaSDTreg (version 0.2.2)

vcov.metaSDTreg: Variance-covariance method for metaSDTreg

Description

Variance-covariance method for metaSDTreg

Usage

# S3 method for metaSDTreg
vcov(object, ...)

Value

A matrix of variances and covariances.

Arguments

object

An object of class metaSDTreg.

...

For future methods.

Examples

Run this code
## Declare simulated data as metaSDTdata
metadata <- metaSDTdata(simMetaData, type1='resp', type2='conf', signal='S')

## Fit model to subset of data
fit <- metaSDTreg(A ~ signal,
            data=metadata,
            subset = m <= 20)

## Standard errors
sqrt(diag(vcov(fit)))


Run the code above in your browser using DataLab