Rolling Kurtosis¶
Computes the rolling excess kurtosis (Fisher) over a numeric vector.
Requires at least 4 non-NA observations per window.
Usage¶
rolling_kurtosis(x, window_size, min_periods = window_size, method = "stable")
Parameters¶
Parameter |
Description |
|---|---|
|
A numeric vector of type double. |
|
Positive integer window length. |
|
Minimum number of non- |
|
|
Returns¶
A numeric vector with rolling excess kurtosis values.
Examples¶
x <- as.double(c(1, 2, 3, 4, 5))
rolling_kurtosis(x, 4L)