Package: jubilee 0.3.3

jubilee: Forecasting Long-Term Growth of the U.S. Stock Market and Business Cycles

A long-term forecast model called "Jubilee-Tectonic model" is implemented to forecast future returns of the U.S. stock market, Treasury yield, and gold price. The five-factor model forecasts the 10-year and 20-year future equity returns with high R-squared above 80 percent. It is based on linear growth and mean reversion characteristics in the U.S. stock market. This model also enhances the CAPE model by introducing the hypothesis that there are fault lines in the historical CAPE, which can be calibrated and corrected through statistical learning. In addition, it contains a module for business cycles, optimal interest rate, and recession forecasts.

Authors:Stephen H-T. Lihn [aut, cre]

jubilee_0.3.3.tar.gz
jubilee_0.3.3.zip(r-4.5)jubilee_0.3.3.zip(r-4.4)jubilee_0.3.3.zip(r-4.3)
jubilee_0.3.3.tgz(r-4.4-any)jubilee_0.3.3.tgz(r-4.3-any)
jubilee_0.3.3.tar.gz(r-4.5-noble)jubilee_0.3.3.tar.gz(r-4.4-noble)
jubilee_0.3.3.tgz(r-4.4-emscripten)jubilee_0.3.3.tgz(r-4.3-emscripten)
jubilee.pdf |jubilee.html
jubilee/json (API)
NEWS

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

Peer review:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.64 score 22 scripts 229 downloads 33 exports 29 dependencies

Last updated 5 years agofrom:ea70bc4860. Checks:ERROR: 1 OK: 6. Indexed: yes.

TargetResultDate
Doc / VignettesFAILNov 17 2024
R-4.5-winOKNov 17 2024
R-4.5-linuxOKNov 17 2024
R-4.4-winOKNov 17 2024
R-4.4-macOKNov 17 2024
R-4.3-winOKNov 17 2024
R-4.3-macOKNov 17 2024

Exports:daily2fractionfraction2dailyjubileejubilee.adj_fault_linejubilee.backward_rtnjubilee.calc_capejubilee.eqty_olsjubilee.forward_rtnjubilee.fred_datajubilee.locate_filejubilee.macro_costjubilee.macro_fitjubilee.macro_predictjubilee.mcsapplyjubilee.olsjubilee.optimal_tb3msjubilee.predictjubilee.predict_realjubilee.read_fred_filejubilee.repojubilee.repo.configjubilee.std_fault_linejubilee.yield_inversiontri.wavetri.wave.atri.wave.logrtri.wave.logr.quartertri.wave.logr.semitri.wave.logr.ytri.wave.stri.wave.xtri.wave.ytriangle

Dependencies:cellrangerclicpp11crayondata.tabledplyrfansigenericsgluehmslatticelifecyclemagrittrpillarpkgconfigprettyunitsprogressR6readxlrematchrlangtibbletidyselectutf8vctrswithrxtsyamlzoo

Jubilee: Forecasting Long-Term Growth of S&P 500 Index

Rendered fromjubilee-tutorial.ltxusingR.rsp::texon Nov 17 2024.

Last update: 2020-01-24
Started: 2018-09-03

Real-time Recession Probability with Hidden Markov Model and Unemployment Momentum

Rendered fromrecession-hmm.ltxusingR.rsp::texon Nov 17 2024.

Last update: 2020-01-24
Started: 2020-01-24

Readme and manuals

Help Manual

Help pageTopics
jubilee: A package to forecast long-term growth of the US stock market and business cyclesjubilee-package
Converter from daily Date to fractiondaily2fraction
Converter from fraction to daily Datefraction2daily
Constructor of the jubilee classjubilee
The jubilee classjubilee-class
Adjust the time series by fault linesjubilee.adj_fault_line
Internal utility to calculate n-year CAPEjubilee.calc_cape
Internal utility to calculate OLS regression for log total return indexjubilee.eqty_ols
Internal utility to calculate annualized forward and backward (log) returnjubilee.backward_rtn jubilee.forward_rtn
Internal utility to download time series data from FREDjubilee.fred_data
Internal utility to locate static filejubilee.locate_file
Calculate the cost function of the macro modeljubilee.macro_cost
The GUPTY macro modeljubilee.macro_fit
Prediction from UNRATE and GDP modelsjubilee.macro_predict
Wrapper to calculate 'sapply' using multi-corejubilee.mcsapply
Internal utility to calculate OLS regressionjubilee.ols
Calculate the optimal TB3MSjubilee.optimal_tb3ms
Make prediction based on linear regressionjubilee.predict jubilee.predict_real
Internal utility to read FRED filejubilee.read_fred_file
Constructor of 'jubilee.repo' classjubilee.repo
The jubilee repository classjubilee.repo-class
Configuration of jubilee's data repositoryjubilee.repo.config
Standard fault line data setsjubilee.std_fault_line
List of dates for yield curve inversionjubilee.yield_inversion
Constructor of 'tri.wave' classtri.wave
The triangular wave model classtri.wave class
Methods of triangular wave modeltri.wave.a tri.wave.logr tri.wave.logr.quarter tri.wave.logr.semi tri.wave.logr.y tri.wave.s tri.wave.x tri.wave.y triangle