austinCafri: Austin and Cafri's SE estimator

View source: R/estimateEffect.R

austinCafriR Documentation

Austin and Cafri's SE estimator

Description

Austin and Cafri's SE estimator

Usage

austinCafri(formula, data)

Arguments

formula

A formula

data

A data.frame which is the result of get_mactchs() function

Source

Austin, Peter C., and Guy Cafri. 2020. “Variance Estimation When Using Propensity-Score Matching with Replacement with Survival or Time-to-Event Outcomes.” Statistics in Medicine 39 (11): 1623–40. https://doi.org/10.1002/sim.8502.

Examples

library(MatchIt)
library(survival)
out=matchit(A ~ X1 + X2 + X3 + X4 + X5 + X6 + X7 + X8 + X9, data = exData,
    link = 'linear.logit', caliper = .1,ratio = 3, replace = TRUE)
austinCafri(Surv(Y_S) ~ A,data=get_matches(out))

cardiomoon/webrPSM documentation built on Feb. 2, 2024, 3:55 a.m.