madp: MAD of pooled samples

Description Usage Arguments Details Value Author(s)

Description

Compute the median absolute deviation pooled over two samples

Usage

1
madp(x, y, factor = 1)

Arguments

x

vector of observations

y

vector of observations

factor

Scaling factor (deprecated)

Details

We subtract the median from each group and then compute the MAD from the combination of the (shifted) samples. Finite sample corretion factors have been estimated from a simulation study and work well to produce nearly unbiased estimates for normally distributed samples.

The scaling factor does nothing.

Value

numeric value

Author(s)

Florian Klinglmueller


floatofmath/adaperm documentation built on May 16, 2019, 1:18 p.m.