Skip to content

jubilee

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

v0.3.3 · Jan 24, 2020 · Artistic-2.0

Description

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.

Downloads

CRAN

276

Last 30 days

17417th

643

Last 90 days

2.9K

Last year

Trend: +73.6% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

24

Last 90 days

107

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

6

Last 7 days

16

Last 30 days

2

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

2 NOTE
11 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Stephen H-T. Lihn <stevelihn@gmail.com>’

Found the following URLs which should use \doi (with the DOI name only):
  File ‘jubilee-package.Rd’:
    http://dx.doi.org/10.2139/ssrn.3156574
  File ‘jubilee.ols.Rd’:
    http://dx.doi.org/10.2139/ssrn.3156574
  File ‘jubilee.predict.Rd’:
    http://dx.doi.org/10.2139/ssrn.3156574
  File ‘tri.wave-class.Rd’:
    http://dx.doi.org/10.2139/ssrn.3156574
  File ‘triangle.Rd’:
    http://dx.doi.org/10.2139/ssrn.3156574
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Stephen H-T. Lihn <stevelihn@gmail.com>’

Found the following URLs which should use \doi (with the DOI name only):
  File ‘jubilee-package.Rd’:
    http://dx.doi.org/10.2139/ssrn.3156574
  File ‘jubilee.ols.Rd’:
    http://dx.doi.org/10.2139/ssrn.3156574
  File ‘jubilee.predict.Rd’:
    http://dx.doi.org/10.2139/ssrn.3156574
  File ‘tri.wave-class.Rd’:
    http://dx.doi.org/10.2139/ssrn.3156574
  File ‘triangle.Rd’:
    http://dx.doi.org/10.2139/ssrn.3156574

Check History

NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Stephen H-T. Lihn <stevelihn@gmail.com>’

Found the following URLs which should use \doi (with the DOI name only):
  File ‘jubilee-package.Rd’:
    http://dx.doi.org/10.2139/ssrn.3156574
  File ‘jubilee.ols.Rd’:
    http://dx.doi.org/10.2139/ssrn.3156574
  File ‘jubilee.predict.Rd’:
    http://dx.doi.org/10.2139/ssrn.3156574
  File ‘tri.wave-class.Rd’:
    http://dx.doi.org/10.2139/ssrn.3156574
  File ‘triangle.Rd’:
    http://dx.doi.org/10.2139/ssrn.3156574
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Stephen H-T. Lihn <stevelihn@gmail.com>’

Found the following URLs which should use \doi (with the DOI name only):
  File ‘jubilee-package.Rd’:
    http://dx.doi.org/10.2139/ssrn.3156574
  File ‘jubilee.ols.Rd’:
    http://dx.doi.org/10.2139/ssrn.3156574
  File ‘jubilee.predict.Rd’:
    http://dx.doi.org/10.2139/ssrn.3156574
  File ‘tri.wave-class.Rd’:
    http://dx.doi.org/10.2139/ssrn.3156574
  File ‘triangle.Rd’:
    http://dx.doi.org/10.2139/ssrn.3156574
NOTE r-oldrel-macos-arm64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

'LazyData' is specified without a 'data' directory

Code

Structure

Lines of code

5,887

Files

110

Compiled share

0%

Has compiled src

No

Language breakdown

R 2,558 (43.5%)Tests 126 (2.1%)Docs 942 (16%)Vignettes 2,261 (38.4%)

API

Exported functions

33

Internal functions

13

Recent export changes

v0.3.1+5 jubilee.macro_cost, jubilee.macro_fit, jubilee.macro_predict +2 more
v0.2.4+28 daily2fraction, fraction2daily, jubilee +25 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.05

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

52.6%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

8.3%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

Artistic-2.0

License flags

SPDX valid, OSI approved

History

Versions

4

First release

2018-09-03

Latest release

2020-01-24

Avg cadence

189 days

Cold removal rate

Dep drift

2

LOC over versions

v0.2.4: 34,538 LOCv0.2.5: 34,541 LOCv0.3.1: 5,034 LOCv0.3.3: 5,887 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies yaml xts zoo readxl data.table dplyr jubilee

Version History

5 tracked
new 0.3.3 Mar 10, 2026
updated 0.3.3 ← 0.3.1 diff Jan 23, 2020
updated 0.3.1 ← 0.2.5 diff Jul 18, 2019
updated 0.2.5 ← 0.2.4 diff Sep 10, 2018
new 0.2.4 Sep 2, 2018