Learn R Programming

sbw (version 1.1.9)

summarize: Summarize output from sbw

Description

Function for summarizing the output from sbw.

Usage

summarize(object, digits = 6, ...)

Value

A list with the following elements:

variance, variance of the weights

coefficient_variation, coefficient of variation of the weights

effective_sample_size, effective sample size

balance_table, mean/TASDM balance tables for samples before/after weighting

shadow_price, dual tables or shadow prices for the balanced groups

Arguments

object

an object from the class sbwcau or sbwpop obtained after using sbw.

digits

The number of significant digits that will be displayed. The default is 6.

...

ignored arguments.

Examples

Run this code
# Please see the examples in the function sbw above.

Run the code above in your browser using DataLab