multilevelGPSMatch: Matching on GPS with multilevel treatments

Description Usage Arguments Value References See Also Examples

View source: R/multilevelGPSMatch.r

Description

Matching on GPS with multilevel treatments

Usage

1
multilevelGPSMatch(Y, W, X, Trimming, GPSM = "multinomiallogisticReg")

Arguments

Y

A continuous response vector (1 x n)

W

A treatment vector (1 x n) with numerical values indicating treatment groups

X

A covariate matrix (p x n) with no intercept. When GPSM="existing", then X must be a vector (1 x n) of user-specified propensity scores.

Trimming

An indicator of whether trimming the sample to ensure overlap

GPSM

An indicator of the methods used for estimating GPS, options include "multinomiallogisticReg", "ordinallogisticReg" for proportional odds or cumulative logit model, and "existing" for user-specified propensity score via the parameter X. Defaults to "multinomiallogisticReg"

Value

A list element including:

References

Yang, S., Imbens G. W., Cui, Z., Faries, D. E., & Kadziola, Z. (2016) Propensity Score Matching and Subclassification in Observational Studies with Multi-Level Treatments. Biometrics, 72, 1055-1065. https://doi.org/10.1111/biom.12505

Abadie, A., & Imbens, G. W. (2006). Large sample properties of matching estimators for average treatment effects. Econometrica, 74(1), 235-267. https://doi.org/10.1111/j.1468-0262.2006.00655.x

Abadie, A., & Imbens, G. W. (2016). Matching on the estimated propensity score. Econometrica, 84(2), 781-807. https://doi.org/10.3982/ECTA11293

Crump, R. K., Hotz, V. J., Imbens, G. W., & Mitnik, O. A. (2009). Dealing with limited overlap in estimation of average treatment effects. Biometrika, 96(1), 187-199. https://doi.org/10.1093/biomet/asn055

See Also

multilevelMatchX; multilevelGPSStratification

Examples

1
2
3
4
5
  X <- c(5.5,10.6,3.1,8.7,5.1,10.2,9.8,4.4,4.9)
  Y <- c(102,105,120,130,100,80,94,108,96)
  W <- c(1,1,1,3,2,3,2,1,2)
  multilevelGPSMatch(Y,W,X,Trimming=0,GPSM="multinomiallogisticReg")
  multilevelGPSMatch(Y,W,X,Trimming=1,GPSM="multinomiallogisticReg")

shuyang1987/multilevelMatching documentation built on Dec. 3, 2019, 4:04 p.m.