tsEvaNanRunningVariance: Calculate the running variance of a time series with NaN handling
Description
This function calculates the running variance of a time series, taking into account NaN values.
The series must be zero-averaged before passing it to this function.
Usage
tsEvaNanRunningVariance(series, windowSize)
Value
A vector containing the running variance values.
Arguments
series
The time series data.
windowSize
The size of the window used for calculating the running variance.