vcov_outcome.CBPSContinuous: vcov_outcome

Description Usage Arguments Value

View source: R/analytic_vcov.R

Description

vcov_outcome

Usage

1
2
## S3 method for class 'CBPSContinuous'
vcov_outcome(object, Y, Z, delta, tol = 10^(-5), lambda = 0.01)

Arguments

object

A fitted CBPS object.

Y

The outcome.

Z

The covariates (including the treatment and an intercept term) that predict the outcome.

delta

The coefficients from regressing Y on Z, weighting by the cbpsfit$weights.

tol

Tolerance for choosing whether to improve conditioning of the "M" matrix prior to conversion. Equal to 1/(condition number), i.e. the smallest eigenvalue divided by the largest.

lambda

The amount to be added to the diagonal of M if the condition of the matrix is worse than tol.

Value

Variance-Covariance Matrix for Outcome Model


kosukeimai/CBPS documentation built on Jan. 24, 2022, 3:27 p.m.