Borrar filtros
Borrar filtros

GARCH (conditional variance models) for panel data?

5 visualizaciones (últimos 30 días)
Marta Arespa
Marta Arespa el 4 de Oct. de 2021
Editada: Rena Berman el 16 de Jul. de 2024 a las 17:13
I would like to run an ARCH-GARCH model for my unbalanced panel data (100 panels and monthly data from 1950 to 2020).
I have Matlab2018 and the Econometric toolbox. I found examples to use GARCH with time-series, but not with longitudinal (panel) data.
Can this be done with Matlab? May you direct me to a help-file for it? I don't find it...
Thank you so much.

Respuestas (1)

Tejas
Tejas el 24 de Mayo de 2024
Editada: Rena Berman el 16 de Jul. de 2024 a las 17:13
Hello Marta,
The garch model can be applied to panel data, provided that the data for each panel is considered as an individual time series.
To apply the garch model to each set of panel data, one should loop through each one. Within this loop, include the following steps:
  • Define the garch model. Below is an example of how to do this:
mdl = garch('GARCHLags',1,'ARCHLags',1);
  • Obtain estimations from the model.
[estMdl, estParamCov, logL, info] = estimate(mdl, panelData);
For further details on the garch model, consult the following documentation:

Categorías

Más información sobre Conditional Variance Models en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by