Extracts propensity score weights from a ps object.
提取倾向得分权重从ps的对象。
用法----------Usage----------
get.weights(ps1,
stop.method,
estimand = NULL)
参数----------Arguments----------
参数:ps1
a ps object
ps对象
参数:stop.method
indicates which set of weights to retrieve from the ps object
表示的权值来检索ps对象
参数:estimand
indicates whether the weights are for the average treatment effect on the treated (ATT) or the average treatment effect on the population (ATE). By default, get.weights will use the estimand used to fit the ps object.
表示的权重是否为上的处理过的(ATT)的平均处理效果或人口(ATE)上的平均处理效果。默认情况下,get.weights使用使用的estimand,适合ps对象。
Details
详细信息----------Details----------
Weights for ATT are 1 for the treatment cases and p/(1-p) for the control cases.
ATT的权重是1,治疗病例和P /(1-P)控制的情况下。
Weights for ATE are 1/p for the treatment cases and 1/(1-p) for the control cases.
适用于ATE的权重是1 / P的治疗病例和1 /(1-P)的控制的情况下。