Nans values in time series

32 次查看(过去 30 天)
Thanasis Manolis
Thanasis Manolis 2020-3-29
Hello...i have a time series data set with 2688 points....but i have 7 convective nans values. I want to do forecast with this data set....do i have to fill the gap or this is not necessary because the nan values will not affect my predictions? Thank you in advance

回答(1 个)

Star Strider
Star Strider 2020-3-29
You must decide that.
There are methods to interpolate the NaN values if you want to do that, one of which is the fillmissing function (R2016b and later).
It would likely be best to do the forecast with and without the NaN values (some functions omit them automatically) and see if interpolating them affects the forecast.

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by