IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v066i09.html

SSMMATLAB: A Set of MATLAB Programs for the Statistical Analysis of State Space Models

Author

Listed:
  • Gómez, Victor

Abstract

This article discusses and describes SSMMATLAB, a set of programs written by the author in MATLAB for the statistical analysis of state space models. The state space model considered is very general. It may have univariate or multivariate observations, time-varying system matrices, exogenous inputs, regression effects, incompletely specified initial conditions, such as those that arise with cointegrated VARMA models, and missing values. There are functions to put frequently used models, such as multiplicative VARMA models, VARMAX models in echelon form, cointegrated VARMA models, and univariate structural or ARIMA model-based unobserved components models, into state space form. There are also functions to implement the Hillmer-Tiao canonical decomposition and the smooth trend and cycle estimation proposed by Gómez (2001). Once the model is in state space form, other functions can be used for likelihood evaluation, model estimation, forecasting and smoothing. A set of examples is presented in the SSMMATLAB manual to illustrate the use of these functions.

Suggested Citation

  • Gómez, Victor, 2015. "SSMMATLAB: A Set of MATLAB Programs for the Statistical Analysis of State Space Models," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 66(i09).
  • Handle: RePEc:jss:jstsof:v:066:i09
    DOI: http://hdl.handle.net/10.18637/jss.v066.i09
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v066i09/v66i09.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v066i09/SSMMATLAB.zip
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v066i09/v66i09-replication.zip
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v066.i09?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Petris, Giovanni & Petrone, Sonia, 2011. "State Space Models in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 41(i04).
    2. Commandeur, Jacques J. F. & Koopman, Siem Jan & Ooms, Marius, 2011. "Statistical Software for State Space Methods," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 41(i01).
    3. Marco Del Negro & Giorgio E. Primiceri, 2015. "Time Varying Structural Vector Autoregressions and Monetary Policy: A Corrigendum," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 82(4), pages 1342-1345.
    4. Bell, William R., 2011. "REGCMPNT A Fortran Program for Regression Models with ARIMA Component Errors," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 41(i07).
    5. Lucchetti, Riccardo, 2011. "State Space Methods in gretl," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 41(i11).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Qian, Hang, 2015. "Inequality Constrained State Space Models," MPRA Paper 66447, University Library of Munich, Germany.
    2. Allin Cottrell & Riccardo (Jack) Lucchetti & Matteo Pelagatti, 2016. "Measures of variance for smoothed disturbances in linear state-space models: a clarification," gretl working papers 3, Universita' Politecnica delle Marche (I), Dipartimento di Scienze Economiche e Sociali.
    3. Riccardo “Jack” Lucchetti & Francesco Valentini, 2024. "Linear models with time-varying parameters: a comparison of different approaches," Computational Statistics, Springer, vol. 39(7), pages 3523-3545, December.
    4. Jong-Min Kim & Bainwen Sun & Sunghae Jun, 2019. "Sustainable Technology Analysis Using Data Envelopment Analysis and State Space Models," Sustainability, MDPI, vol. 11(13), pages 1-19, June.
    5. repec:jss:jstsof:41:i01 is not listed on IDEAS
    6. repec:jss:jstsof:41:i06 is not listed on IDEAS
    7. Tomas Konecny & Oxana Babecka-Kucharcukova, 2016. "Credit Spreads and the Links between the Financial and Real Sectors in a Small Open Economy: The Case of the Czech Republic," Czech Journal of Economics and Finance (Finance a uver), Charles University Prague, Faculty of Social Sciences, vol. 66(4), pages 302-321, August.
    8. Jin‐Yu Chen & Xue‐Hong Zhu & Mei‐Rui Zhong, 2021. "Time‐varying effects and structural change of oil price shocks on industrial output: Evidence from China's oil industrial chain," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 26(3), pages 3460-3472, July.
    9. repec:rim:rimwps:18-20 is not listed on IDEAS
    10. Gruber, Lutz F. & West, Mike, 2017. "Bayesian online variable selection and scalable multivariate volatility forecasting in simultaneous graphical dynamic linear models," Econometrics and Statistics, Elsevier, vol. 3(C), pages 3-22.
    11. Francesco Bianchi, 2013. "Regime Switches, Agents' Beliefs, and Post-World War II U.S. Macroeconomic Dynamics," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 80(2), pages 463-490.
    12. Olawale Awe O. & Adedayo Adepoju A., 2018. "Modified Recursive Bayesian Algorithm For Estimating Time-Varying Parameters In Dynamic Linear Models," Statistics in Transition New Series, Statistics Poland, vol. 19(2), pages 258-293, June.
    13. Zhang, Zhikai & Wang, Yudong & Xiao, Jihong & Zhang, Yaojie, 2023. "Not all geopolitical shocks are alike: Identifying price dynamics in the crude oil market under tensions," Resources Policy, Elsevier, vol. 80(C).
    14. Zsolt Darvas, 2013. "Monetary transmission in three central European economies: evidence from time-varying coefficient vector autoregressions," Empirica, Springer;Austrian Institute for Economic Research;Austrian Economic Association, vol. 40(2), pages 363-390, May.
    15. Su, Zedongfang & Zhang, Xinyu & Wei, Yunjie & Wang, Shouyang, 2025. "Exploring the Nexus of virtual and real-world assets: Price co-movement and risk spillovers in the metaverse era," International Review of Financial Analysis, Elsevier, vol. 105(C).
    16. Jinho Bae & Chang-Jin Kim & Dong Kim, 2012. "The evolution of the monetary policy regimes in the U.S," Empirical Economics, Springer, vol. 43(2), pages 617-649, October.
    17. Annika Alexius & Mikaela Holmberg, 2024. "Pass-through with volatile exchange rates and inflation targeting," Review of World Economics (Weltwirtschaftliches Archiv), Springer;Institut für Weltwirtschaft (Kiel Institute for the World Economy), vol. 160(2), pages 377-387, May.
    18. Kelly Trinh & Bo Zhang & Chenghan Hou, 2025. "Macroeconomic real‐time forecasts of univariate models with flexible error structures," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 44(1), pages 59-78, January.
    19. Kitsul, Yuriy & Wright, Jonathan H., 2013. "The economics of options-implied inflation probability density functions," Journal of Financial Economics, Elsevier, vol. 110(3), pages 696-711.
    20. Florian Huber & Tamás Krisztin & Philipp Piribauer, 2017. "Forecasting Global Equity Indices Using Large Bayesian Vars," Bulletin of Economic Research, Wiley Blackwell, vol. 69(3), pages 288-308, July.
    21. Zhong, Meirui & Zhang, Rui & Ren, Xiaohang, 2023. "The time-varying effects of liquidity and market efficiency of the European Union carbon market: Evidence from the TVP-SVAR-SV approach," Energy Economics, Elsevier, vol. 123(C).
    22. Ács, Attila, 2014. "Pénzintézeti mérlegadatok monetáris politikai újraértelmezése. A brókerkereskedő szervezetek reálgazdasági és likviditási jelentősége [Reconsidering the role of financial institutions balance sheets in the conduct of monetary policy. The effect of," Közgazdasági Szemle (Economic Review - monthly of the Hungarian Academy of Sciences), Közgazdasági Szemle Alapítvány (Economic Review Foundation), vol. 0(2), pages 166-192.
    23. Tomoyuki Yagi & Yoshiyuki Kurachi & Masato Takahashi & Kotone Yamada & Hiroshi Kawata, 2022. "Pass-Through of Cost-Push Pressures to Consumer Prices," Bank of Japan Working Paper Series 22-E-17, Bank of Japan.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:v:066:i09. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.