Scripting > Math Functions


Estimate Values for Missing Data

estimateForMissingValues(integer maxMissingAllowed)

 

Linearly interpolate estimates for missing values in the current regular or irregular interval time series data set.  Do not interpolate if the number of successive missing values exceeds maxMissingAllowed.

 

See also:  estimateForMissingPrecipValues()

Parameters:

maxMissingAllowed  - An integer value for the maximum number of consecutive missing values allowed for interpolation

Example: newTsData = tsData.estimateForMissingValues(5)

Returns: A new TimeSeriesMath object