{"id":18758128,"url":"https://github.com/ankargren/mfbvar_replication","last_synced_at":"2026-03-10T10:32:16.397Z","repository":{"id":93923736,"uuid":"117082747","full_name":"ankargren/mfbvar_replication","owner":"ankargren","description":"Replication files for the paper \"A mixed-frequency Bayesian vector autoregression with a steady-state prior\" by Ankargren, Unosson and Yang.","archived":false,"fork":false,"pushed_at":"2018-01-11T14:23:23.000Z","size":4172,"stargazers_count":2,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T02:27:22.900Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ankargren.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-11T10:02:15.000Z","updated_at":"2024-10-10T23:32:38.000Z","dependencies_parsed_at":"2023-03-05T05:15:29.813Z","dependency_job_id":null,"html_url":"https://github.com/ankargren/mfbvar_replication","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ankargren/mfbvar_replication","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankargren%2Fmfbvar_replication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankargren%2Fmfbvar_replication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankargren%2Fmfbvar_replication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankargren%2Fmfbvar_replication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ankargren","download_url":"https://codeload.github.com/ankargren/mfbvar_replication/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankargren%2Fmfbvar_replication/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30330581,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T05:25:20.737Z","status":"ssl_error","status_checked_at":"2026-03-10T05:25:17.430Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T17:45:28.295Z","updated_at":"2026-03-10T10:32:16.325Z","avatar_url":"https://github.com/ankargren.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![DOI](https://zenodo.org/badge/117082747.svg)](https://zenodo.org/badge/latestdoi/117082747) [![DOI](https://zenodo.org/badge/72736017.svg)](https://zenodo.org/badge/latestdoi/72736017)\n# Replication files to Ankargren, Unosson and Yang (2018)\nThis repository provides the necessary files to reproduce Ankargren, Unosson and Yang (2018).\n\n## General instructions\nThere are four folders with files for different purposes:\n - `estimation`: files used for estimation\n - `plots`: files for producing plots\n - `processing`: files (and data) for processing results\n\n### Estimation\nThe included files are (nesting shows calling order):\n - `\u003cfreq\u003e_\u003cprior\u003e_parallel.R`: the files you run, which runs models in parallel\n    * `setup.R`: includes all settings (which are common for all the `*_parallel.R` functions) and auxiliary functions\n       + `prepare_data.R`: prepare the data (available in `mf_list.RData`)\n       + `quarterly_models.R`: functions for estimating the quarterly models\n\nThe output is a saved file named by the convention `\u003cfreq\u003e_\u003cprior\u003e_\u003ctime\u003e.rds`, which includes the forecasts and some meta information for the model given by `\u003cfreq\u003e` and `\u003cprior\u003e` made at origin `\u003ctime\u003e`. Note that you will have to change where the file saved in the `saveRDS()` calls in `setup.R`. Also note that each file is around 80-100 mb, so it is necessary to have around 30-50 gb of free disk space if all models are to be run. \n\n### Plots\nThese files produce the plots in the paper. (To be precise: the files produce the tikz codes for the plots, which can be converted to pdf using the externalize command in tikz.) The `fcst_*.rds` files contain summaries of all the data produced from `estimation files`, i.e. instead of entire predictive distributions for each forecast origin and model they contain what is needed to compute the evaluation measures in the paper. These are needed to create the plots.\n\n### Processing\nThese two files convert the output from `estimation` to the summarized `fcst_*.rds` files used by the plots.\n\n## Package version\nThe version of the `mfbvar` package that was used for producing the results can be retrieved from here: [http://dx.doi.org/10.5281/zenodo.1145656](http://dx.doi.org/10.5281/zenodo.1145656).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankargren%2Fmfbvar_replication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankargren%2Fmfbvar_replication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankargren%2Fmfbvar_replication/lists"}