MissingDataMethod
is an option to TemporalData and other functions that controls how to process missing data.
Details
- A missing data method typically provides methods for how to fill in values that are missing.
- Typical settings include:
-
None do no processing Automatic pick a method automatically "name" use a specified method {"name",opt1->val1,…} use a specified method with particular options - Possible settings for "name" include "Interpolation" and "Constant".
- The missing data methods for individual functions are documented on the corresponding reference pages.
Examples
open allclose allBasic Examples (2)
Fill in missing data values using linear interpolation:
Use TemporalData to create a complete path:
Fill in missing data values with the mean of available data:
Scope (3)
Properties & Relations (4)
The setting Automatic will use the ResamplingMethod setting:
The method for handling missing data does not need to match the ResamplingMethod:
The default missing data method for EventSeries is interpolation of order 0:
The default missing data method for TimeSeries is interpolation of order 1:
The default missing data method for TemporalData is interpolation of order 0:
Possible Issues (1)
The choice of MissingDataMethod will produce varying results:
Do not specify missing values:
Fill missing values with a constant:
Text
Wolfram Research (2012), MissingDataMethod, Wolfram Language function, https://reference.wolfram.com/language/ref/MissingDataMethod.html.
CMS
Wolfram Language. 2012. "MissingDataMethod." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MissingDataMethod.html.
APA
Wolfram Language. (2012). MissingDataMethod. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MissingDataMethod.html