Learn R Programming

WMAP (version 1.1.0)

percentESS: Extract percentage sample ESS

Description

A generic function to extract percentage sample ESS for different object classes

Usage

percentESS(object)

Value

Percentage sample effective sample size (ESS) for the pseudo-population.

Arguments

object

An objects of class 'balancing_weights' or 'causal_estimates'.

Examples

Run this code
data(demo)
output1 <- balancing.weights(S, Z, X, method = "IC", naturalGroupProp)
percentESS(output1)

output2 <- causal.estimate(S, Z, X, Y, B = 5, method = "IC", naturalGroupProp)
percentESS(output2)

Run the code above in your browser using DataLab