createIPW | R Documentation |
Calcuates inverse probability weights based on the propensity score
createIPW( ps, weightsType = "ATE", useStabilizedWeights = TRUE, truncationLevels = c(0.01, 0.99) )
ps |
A propensity score data frame as created from |
weightsType |
The type of the weights to be used. Allowed options are 'ATE' for average treatment effect and 'ATT' for average treatment effect on the treated weights |
useStabilizedWeights |
Should stabilized weights be used? |
truncationLevels |
The level of truncation expressed in percentiles of the propensity score. |
The ps data frame provided as input along with a weights column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.