MissingDataMethod
✖
MissingDataMethod
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)Summary of the most common use cases
Fill in missing data values using linear interpolation:

https://wolfram.com/xid/0fq34h9vszz02-ke9afr

https://wolfram.com/xid/0fq34h9vszz02-cjn4dy

Use TemporalData to create a complete path:

https://wolfram.com/xid/0fq34h9vszz02-idjh14

https://wolfram.com/xid/0fq34h9vszz02-eniu8n

Fill in missing data values with the mean of available data:

https://wolfram.com/xid/0fq34h9vszz02-19lnef

https://wolfram.com/xid/0fq34h9vszz02-66441f


https://wolfram.com/xid/0fq34h9vszz02-ief6hs

https://wolfram.com/xid/0fq34h9vszz02-qom59a

https://wolfram.com/xid/0fq34h9vszz02-pj747q

Scope (3)Survey of the scope of standard use cases
Use a custom interpolation for filling in missing values:

https://wolfram.com/xid/0fq34h9vszz02-5ykme

https://wolfram.com/xid/0fq34h9vszz02-bb1zfn


https://wolfram.com/xid/0fq34h9vszz02-owd4j5

Fill missing values by keeping the value from the left:

https://wolfram.com/xid/0fq34h9vszz02-v5u0yw

https://wolfram.com/xid/0fq34h9vszz02-eye69z

Fill missing values by keeping the value from the right:

https://wolfram.com/xid/0fq34h9vszz02-5ux3xx


https://wolfram.com/xid/0fq34h9vszz02-1rt4qj

Fill missing values with an arbitrary constant:

https://wolfram.com/xid/0fq34h9vszz02-o85rni

https://wolfram.com/xid/0fq34h9vszz02-iuki4l


https://wolfram.com/xid/0fq34h9vszz02-y2z43s

Properties & Relations (4)Properties of the function, and connections to other functions
The setting Automatic will use the ResamplingMethod setting:

https://wolfram.com/xid/0fq34h9vszz02-i2z47j

https://wolfram.com/xid/0fq34h9vszz02-e93glu


https://wolfram.com/xid/0fq34h9vszz02-f70geh


https://wolfram.com/xid/0fq34h9vszz02-e0pykq

The method for handling missing data does not need to match the ResamplingMethod:

https://wolfram.com/xid/0fq34h9vszz02-bl0tz5


https://wolfram.com/xid/0fq34h9vszz02-w6lmds

The default missing data method for EventSeries is interpolation of order 0:

https://wolfram.com/xid/0fq34h9vszz02-ukql4

https://wolfram.com/xid/0fq34h9vszz02-ci2tdk


https://wolfram.com/xid/0fq34h9vszz02-vg1q3a


https://wolfram.com/xid/0fq34h9vszz02-f75mcs

The default missing data method for TimeSeries is interpolation of order 1:

https://wolfram.com/xid/0fq34h9vszz02-214qas

https://wolfram.com/xid/0fq34h9vszz02-rxzabk


https://wolfram.com/xid/0fq34h9vszz02-1tycli


https://wolfram.com/xid/0fq34h9vszz02-4ru4rf

The default missing data method for TemporalData is interpolation of order 0:

https://wolfram.com/xid/0fq34h9vszz02-71wzg8

https://wolfram.com/xid/0fq34h9vszz02-3hjty7


https://wolfram.com/xid/0fq34h9vszz02-pyeqws


https://wolfram.com/xid/0fq34h9vszz02-lgqbyf

Possible Issues (1)Common pitfalls and unexpected behavior
The choice of MissingDataMethod will produce varying results:

https://wolfram.com/xid/0fq34h9vszz02-0ry9mx
Do not specify missing values:

https://wolfram.com/xid/0fq34h9vszz02-4z3u5r


https://wolfram.com/xid/0fq34h9vszz02-p54cih
Fill missing values with a constant:

https://wolfram.com/xid/0fq34h9vszz02-mwrrhm

https://wolfram.com/xid/0fq34h9vszz02-of4mg3
Use interpolation to fill in missing values:

https://wolfram.com/xid/0fq34h9vszz02-yk8y4n

https://wolfram.com/xid/0fq34h9vszz02-pcp44u

https://wolfram.com/xid/0fq34h9vszz02-j5i865

Wolfram Research (2012), MissingDataMethod, Wolfram Language function, https://reference.wolfram.com/language/ref/MissingDataMethod.html.
Text
Wolfram Research (2012), MissingDataMethod, Wolfram Language function, https://reference.wolfram.com/language/ref/MissingDataMethod.html.
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.
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
Wolfram Language. (2012). MissingDataMethod. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MissingDataMethod.html
BibTeX
@misc{reference.wolfram_2025_missingdatamethod, author="Wolfram Research", title="{MissingDataMethod}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/MissingDataMethod.html}", note=[Accessed: 19-May-2025
]}
BibLaTeX
@online{reference.wolfram_2025_missingdatamethod, organization={Wolfram Research}, title={MissingDataMethod}, year={2012}, url={https://reference.wolfram.com/language/ref/MissingDataMethod.html}, note=[Accessed: 19-May-2025
]}