Dear Johannes,
Could I ask which paper your code (in the attached pic) belongs to ?
Thanks.
Huan
ls2003 Is the Lubik/Schorfheide model:
ls2003
But note that the rolling window estimation is not based on that paper.
Many thanks!