calculate_weights_legend: Calculate Statistics for Weight Plot Legend

View source: R/matching.R

calculate_weights_legendR Documentation

Calculate Statistics for Weight Plot Legend

Description

Calculates ESS reduction and median weights which is used to create legend for weights plot

Usage

calculate_weights_legend(weighted_data)

Arguments

weighted_data

object returned after calculating weights using estimate_weights

Value

list of ESS, ESS reduction, median value of scaled and unscaled weights, and missing count

Examples

data("weighted_sat")
calculate_weights_legend(weighted_sat)

maicplus documentation built on April 4, 2025, 2:17 a.m.