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:

3.60 score 1 stars 152 downloads 8 exports 46 dependencies

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

TargetResultDate
Doc / VignettesOKNov 23 2024
R-4.5-winOKNov 23 2024
R-4.5-linuxOKNov 23 2024
R-4.4-winOKNov 23 2024
R-4.4-macOKNov 23 2024
R-4.3-winOKNov 23 2024
R-4.3-macOKNov 23 2024

Exports:compute_mcmc_resultsdefine_ssmodelestimate_ssmodelinitialize_priorinitialize_settingsis.settingsprepate_datatransform_results

Dependencies:clicodacolorspacecpp11dplyrfansifarvergenericsggplot2gluegtableisobandKFASlabelinglatticelifecyclemagrittrMASSMatrixMatrixModelsmcmcMCMCpackmgcvmunsellnlmepillarpkgconfigpurrrquantregR6RColorBrewerrlangscalesSparseMstringistringrsurvivaltempdisaggtibbletidyrtidyselectutf8vctrsviridisLitewithrzoo