auto_ks icon indicating copy to clipboard operation
auto_ks copied to clipboard

prediction in the future.

Open andrewcztrack opened this issue 4 years ago • 1 comments

Hi @sbarratt !

How would i use the model to say predict 10 steps in the future.

Or does pykalman not have a prediction function.

Best, Andrew

andrewcztrack avatar Oct 03 '20 07:10 andrewcztrack

Andrew,

Yes you can. First run the Kalman smoother to get an estimate of x_t. Then your prediction, in fact, the conditional mean of y_{t+1},...,y_{t+10} given the past is

y_{t+1} = CAx_t y_{t+2} = CA^2 x_t ... y_{t+10} = CA^{10} x_t

On Sat, Oct 3, 2020 at 12:52 AM andrewcztrack [email protected] wrote:

Hi @sbarratt https://github.com/sbarratt !

How would i use the model to say predict 10 steps in the future.

Or does pykalman not have a prediction function.

Best, Andrew

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cvxgrp/auto_ks/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB7LUGN5CVMLPEBNYTMVU63SI3J25ANCNFSM4SCP2W4A .

sbarratt avatar Oct 05 '20 18:10 sbarratt