Package: fjohansen 0.1.0

Merwan Roudane
fjohansen: Johansen Cointegration Test with Fourier-Type Smooth Nonlinear Trends
Implements the Johansen cointegration test with Fourier-type smooth nonlinear deterministic trends restricted to cointegrating relations, as developed by Kurita and Shintani (2025) <doi:10.1080/07474938.2025.2530640>. Six model variants are supported: CNR (constant plus nonlinear, restricted in the cointegrating space), LNR (linear plus nonlinear, restricted), CNU (constant restricted, nonlinear unrestricted), LNU (linear restricted, nonlinear unrestricted), plus the standard constant- and linear-trend restricted Johansen models. The package also bundles the feasible generalised least squares (FGLS) Wald test of Perron, Shintani and Yabu (2017) <doi:10.1111/obes.12169> used as a frequency-selection pre-step, together with bundled critical-value tables, a vectorised simulator for the limiting distribution, publication-quality table exports (LaTeX and HTML) and 'ggplot2' figures matching those of the paper.
Authors:
fjohansen_0.1.0.tar.gz
fjohansen_0.1.0.tar.gz(r-4.7-any)fjohansen_0.1.0.tar.gz(r-4.6-any)
fjohansen_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
fjohansen/json (API)
NEWS
| # Install 'fjohansen' in R: |
| install.packages('fjohansen', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/merwanroudane/fjohansen/issues
Last updated from:24fccca261. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 115 | ||
| source / vignettes | OK | 188 | ||
| linux-release-x86_64 | OK | 1924 | ||
| wasm-release | OK | 104 |
Exports:build_design_matricesclear_jf_cacheCNR_TABLE_B1format_trace_htmlformat_trace_latexformat_trace_tablefourier_basisgenerate_f_dgp1generate_f_dgp2generate_nf_dgp1generate_nf_dgp2generate_nf_dgp3generate_nf_dgp4jf_momentsjf_p_valuejf_quantilejohansen_fouriermodel_specsplot_eigenvaluesplot_limit_densityplot_long_runplot_residual_diagnosticsplot_risk_premiumplot_seriespsy_wald_testsample_jgb_dataselect_frequenciesselect_frequencies_univariateset_paper_themesimulate_limit_distributionsimulate_limit_moments
Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerrlangS7scalesvctrsviridisLitewithr