Skip to contents

Rousseeuw & Croux's Q_n by the O(n log n) algorithm, with the constant and finite-sample corrections of robustbase::Qn (the two agree to near machine precision).

Usage

qn(x)

Arguments

x

A numeric vector (a stationary series).

Value

The scale estimate (a length-one numeric).