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

Pooled Dispersion for a Numeric Variable

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

Details

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.

Value

numeric of length 1


optmatch documentation built on Sept. 19, 2024, 9:06 a.m.