| .ess | R Documentation |
Returns the effective sample size (ESS) of the weighted sample:
ESS = (\sum w_i)^2 / \sum w_i^2
Values well below n indicate severe weighting and likely positivity problems.
.ess(weights)
weights |
Numeric vector of IPW weights. |
Scalar ESS value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.