Package: sectorgap 0.1.0

sectorgap: Consistent Economic Trend Cycle Decomposition

Determining potential output and the output gap - two inherently unobservable variables - is a major challenge for macroeconomists. 'sectorgap' features a flexible modeling and estimation framework for a multivariate Bayesian state space model identifying economic output fluctuations consistent with subsectors of the economy. The proposed model is able to capture various correlations between output and a set of aggregate as well as subsector indicators. Estimation of the latent states and parameters is achieved using a simple Gibbs sampling procedure and various plotting options facilitate the assessment of the results. For details on the methodology and an illustrative example, see Streicher (2024) <https://www.research-collection.ethz.ch/handle/20.500.11850/653682>.

Authors:Sina Streicher [aut, cre]

sectorgap_0.1.0.tar.gz
sectorgap_0.1.0.zip(r-4.5)sectorgap_0.1.0.zip(r-4.4)sectorgap_0.1.0.zip(r-4.3)
sectorgap_0.1.0.tgz(r-4.4-any)sectorgap_0.1.0.tgz(r-4.3-any)
sectorgap_0.1.0.tar.gz(r-4.5-noble)sectorgap_0.1.0.tar.gz(r-4.4-noble)
sectorgap_0.1.0.tgz(r-4.4-emscripten)sectorgap_0.1.0.tgz(r-4.3-emscripten)
sectorgap.pdf |sectorgap.html
sectorgap/json (API)

# Install 'sectorgap' in R:
install.packages('sectorgap', repos = c('https://sinast3000.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/sinast3000/sectorgap/issues

Datasets:

On CRAN:

8 exports 1 stars 1.46 score 46 dependencies 141 downloads

Last updated 8 months agofrom:b600a41e81. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 24 2024
R-4.5-winOKAug 24 2024
R-4.5-linuxOKAug 24 2024
R-4.4-winOKAug 24 2024
R-4.4-macOKAug 24 2024
R-4.3-winOKAug 24 2024
R-4.3-macOKAug 24 2024

Exports:compute_mcmc_resultsdefine_ssmodelestimate_ssmodelinitialize_priorinitialize_settingsis.settingsprepate_datatransform_results

Dependencies:clicodacolorspacecpp11dplyrfansifarvergenericsggplot2gluegtableisobandKFASlabelinglatticelifecyclemagrittrMASSMatrixMatrixModelsmcmcMCMCpackmgcvmunsellnlmepillarpkgconfigpurrrquantregR6RColorBrewerrlangscalesSparseMstringistringrsurvivaltempdisaggtibbletidyrtidyselectutf8vctrsviridisLitewithrzoo