paroussisc / stats

Repo to track the material I cover on Wednesdays
MIT License
1 stars 0 forks source link

SSM - Local Level Model #11

Open paroussisc opened 5 years ago

paroussisc commented 5 years ago

This issue is for tracking progress/thoughts/ideas while coding up the local level model from Chapter 2. The idea is to develop understanding and intuition that will help with studying the generalised KF in Chapter 4.

paroussisc commented 5 years ago

I implemented the KF recursion and got the same results as in Section 2.2.2 (commit 8c0e82614e7241bf787c1f425bebc844ae6b3129) using the river Nile data:

state_plot

It would be good to note a few things at this stage:

In this example, F_t and P_t converge to fix values, meaning that this model has a steady state: var_plot In practice this means that we can stop computing F_t and K_t which speeds up computation. This will be investigated for this example later on.