Learn R Programming

optmatch (version 0.9-17)

match_on_szn_scale: pooled dispersion for a numeric variable

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.

Description

pooled dispersion for a numeric variable

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 `T`/`F` via `!`

standardizer

function or numeric of length 1

Value

numeric of length 1