sd_hIQR {fMRIscrub}R Documentation

Estimate SD robustly using the half IQR

Description

Estimates standard deviation robustly using the half IQR (and power trans.). Used to measure DVARS in Afyouni and Nichols, 2018.

Usage

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.


[Package fMRIscrub version 0.14.5 Index]