library(CBPS)
Estimate CBPS via logistic regression
fit <- CBPS(formula=formu1, data = data2, ATT = TRUE, twostep = FALSE, standardize = TRUE) rr.att.CBPS <- Match(Y=Y, Tr=Tr, X=fitted(fit), M=1, ties=FALSE, replace=FALSE, estimand='ATT')
https://stackoverflow.com/questions/67339333/i-have-used-cbps-package-in-r-for-matching-how-do-i-access-the-matched-treated May 01, 2021 at 03:14AM
没有评论:
发表评论