Am 21.12.2020 um 16:37 schrieb Filipe Costa:
Hi community!
I'm trying to compute a time-varying state space model to calculate
stocks' betas. Unfortunately, I have some *missing observations* and,
when this is the case, the model implemented by Gretl suddenly stops and
doesn't compute anything (as expected). My question is simple: *Is there
a way of instructing Gretl to ignore missing values and compute the
state spacel model?*
Here is the example code taken from chapter 35 of Gretl manual. Please
note that I added line 6 "*INFQ[20] = NA*" in order to have a missing
data point in the data.
Hi Filipe, I would suggest to take a look at Jack's (Lucchetti) article
in the JSS a few years back, "State Space Methods in Gretl", although
I'm not sure if that is the latest available version.
In some places I think he simply put in a misszero() conversion, but
only he can tell whether that was really the key.
cheers
sven