On Wed, 23 Dec 2020, Sven Schreiber wrote:
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.
Please don't! :D
That article is very outdated, and uses an old and deprecated syntax.
In some places I think he simply put in a misszero() conversion, but
only he can tell whether that was really the key.
I believe that Filipe's script ought to work. I'm trying to figure out
what's wrong.
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------