Learn R Programming

maicplus (version 0.1.2)

calculate_weights_legend: 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)

Value

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

Arguments

weighted_data

object returned after calculating weights using estimate_weights

Examples

Run this code
data("weighted_sat")
calculate_weights_legend(weighted_sat)

Run the code above in your browser using DataLab