Description Usage Arguments Value See Also Examples
psw.balance
is used to compute the standardized mean difference (in percentage) for balance diagnosis.
1 | psw.balance(data, form.ps, weight, V.name = NULL, K = 4)
|
data |
data frame to be used. |
form.ps |
propensity score model. |
weight |
weighting method to be used. Available methods are |
V.name |
a vector of covariates on which standardized mean difference is computed. If |
K |
value of K in ω(e_i) = min(1, K min(e_i, 1-e_i)) for |
A list of weighting method, fitted propensity score model, estimated propenstity scores, estimated propensity score weights, standardized mean difference before and after weighting adjustment.
weight |
weighting method. |
ps.model |
object returned by fitting the propensity score model using |
ps.hat |
estimated propensity score. |
W |
estimated propensity score weight. |
std.diff.before |
A data frame of weighed mean, variance, and standardized mean difference for covariates in |
std.diff.after |
A data frame of weighed mean, variance, and standardized mean difference for covariates in |
psw, psw.spec.test
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.