match_on_szn_scale: pooled dispersion for a numeric variable

View source: R/match_on.R

match_on_szn_scaleR Documentation

pooled dispersion for a numeric variable

Description

Dispersion as pooled across a treatment and a control group. By default, the measure of dispersion calculated within each group is not the ordinary standard deviation but rather the robust alternative provided by stats::mad.

Usage

match_on_szn_scale(x, trtgrp, standardizer = mad)

Arguments

x

numeric variable

trtgrp

logical or numeric. If numeric, coerced to logical via !

standardizer

function or numeric of length 1

Value

numeric of length 1


optmatch documentation built on Aug. 15, 2022, 9:07 a.m.