Estimates standard deviation robustly using the half IQR (and power trans.).

sd_hIQR(x, d = 1)

Arguments

x

Numeric vector of data to estimate standard deviation for.

d

The scalar power transformation parameter. \(w = x^{1/d}\) is computed to obtain \(w \sim N(\mu_w, \sigma_w^2)\).

Value

Scalar for the robust estimate of standard deviation.