Fixed rolling regression window


From the rolling regression example utilizing GassianRandomWalks. How can you specify a fixed window rolling forward by one step using the pymc code - as per the classic way to do rolling regressions. Just want to see what the code will look like.

Appreciate any help

As in, you don’t want to have to refit the model on the whole data each time? Sometimes this is called online learning.

Unfortunately that is rather difficult to do, usually SMC samplers are used for that.

Any reason why you can’t refit the entire model?