1
$\begingroup$

I am trying to impute missing values by fitting higher degree polynomial.

I have highly autocorralated time series meaning each value at t must be close to t-1. There are some noise and missing values that im trying to fix. I am not sure how to classify sequences of missing data and how long sequences before and after the gap(sequence of missing values) used for fitting must be. enter image description here

In the picture you can see the gap of missing values which obviously can be recovered by using 3-4th degree polinomial by fitting it on some values before and after the gap. Is there any familiar approach to this?

$\endgroup$
  • $\begingroup$ You may be interested in this post. $\endgroup$ – javlacalle Jan 5 at 14:09
  • 1
    $\begingroup$ @javlacalle thanks for the interesting reference, although I managed to impute missing values by using Cubic Splines and do the job perfectly! $\endgroup$ – Nemanja Boskovic Jan 9 at 9:33
0
$\begingroup$

I tried this approach and I think is very useful for filling the gaps in missing data of a numeric variable. The same approach can be used to have some control over numeric data noise (i.e by fitting a suitable polynomial degree to noisy data) where the model can then be used to generate a cleaner data for the same feature.

$\endgroup$
  • 1
    $\begingroup$ Could you clarify what you mean by "this approach"? The OP describes two different methods: the one in the question and a different one in a comment. Either one requires more details concerning the selection of local data used to perform the imputation across each gap. $\endgroup$ – whuber Jul 17 at 20:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.