reportPSM: Report propensity sore matching

View source: R/PSM1.R

reportPSMR Documentation

Report propensity sore matching

Description

Report propensity sore matching

Usage

reportPSM(out, depvar = "", compare = NULL)

Arguments

out

An object of class matchit

depvar

Character name of dependent variable

compare

logical Whether or not compare to nearest model

Examples

library(MatchIt)
formula=treat ~ age + educ + race+ married +nodegree + re74 + re75
out=matchit(formula, data =lalonde, method= "nearest")
reportPSM(out)
out=matchit(formula, data = lalonde, method= "full",distance="glm",link="probit")
reportPSM(out,depvar="re78")
reportPSM(out,depvar="re78",compare=FALSE)

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