Package: beyondWhittle 1.2.1

Renate Meyer

beyondWhittle: Bayesian Spectral Inference for Time Series

Implementations of Bayesian parametric, nonparametric and semiparametric procedures for univariate and multivariate time series. The package is based on the methods presented in C. Kirch et al (2018) <doi:10.1214/18-BA1126>, A. Meier (2018) <https://opendata.uni-halle.de//handle/1981185920/13470> and Y. Tang et al (2023) <arxiv:2303.11561>. It was supported by DFG grants KI 1443/3-1 and KI 1443/3-2.

Authors:Alexander Meier [aut], Claudia Kirch [aut], Matthew C. Edwards [aut], Renate Meyer [aut, cre], Yifu Tang [aut]

beyondWhittle_1.2.1.tar.gz
beyondWhittle_1.2.1.tar.gz(r-4.5-noble)beyondWhittle_1.2.1.tar.gz(r-4.4-noble)
beyondWhittle_1.2.1.tgz(r-4.4-emscripten)beyondWhittle_1.2.1.tgz(r-4.3-emscripten)
beyondWhittle.pdf |beyondWhittle.html
beyondWhittle/json (API)

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

Peer review:

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3

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

21 exports 1 stars 0.36 score 47 dependencies 12 scripts 480 downloads

Last updated 6 months agofrom:e31fb3ee62. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 10 2024
R-4.5-linux-x86_64OKSep 10 2024

Exports:bayes_factorbdp_dw_bayes_factor_k1bdp_dw_est_post_statsbdp_dw_mcmc_params_genbdp_dw_prior_params_genfourier_freqgibbs_argibbs_bdp_dwgibbs_npgibbs_npcgibbs_vargibbs_vnplocal_moving_FT_zigzagpacf_to_arpsd_armapsd_tvarma12psd_varmarmvnormscree_type_arsim_tvarma12sim_varma

Dependencies:BHclicolorspacecurlfansifarverforecastfracdiffgenericsggplot2gluegtableisobandjsonlitelabelinglatticelifecyclelmtestltsamagrittrMASSMatrixmgcvmunsellnlmennetpillarpkgconfigquadprogquantmodR6RColorBrewerRcppRcppArmadillorlangscalestibbletimeDatetseriesTTRurcautf8vctrsviridisLitewithrxtszoo

Readme and manuals

Help Manual

Help pageTopics
Bayesian spectral inference for time seriesbeyondWhittle-package beyondWhittle
a generic method for bdp_dw_result classbayes_factor
Extracting the Bayes factor of k1=1 from bdp_dw_result classbayes_factor.bdp_dw_result
Estimating the Bayes factor of hypothesis "k1 = 1".bdp_dw_bayes_factor_k1
Calculating the estimated posterior mean, median and credible region (tv-PSD)bdp_dw_est_post_stats
Generate a list of values for MCMC algorithmbdp_dw_mcmc_params_gen
Generate a list of parameter values in prior elicitationbdp_dw_prior_params_gen
Fourier frequenciesfourier_freq
Gibbs sampler for an autoregressive model with PACF parametrization.gibbs_ar
BDP-DW method: performing posterior sampling and calculating statistics based on the posterior samplesgibbs_bdp_dw
Gibbs sampler for Bayesian nonparametric inference with Whittle likelihoodgibbs_np
Gibbs sampler for Bayesian semiparametric inference with the corrected AR likelihoodgibbs_npc
Gibbs sampler for vector autoregressive model.gibbs_var
Gibbs sampler for multivaiate Bayesian nonparametric inference with Whittle likelihoodgibbs_vnp
Calculate the moving Fourier transform ordinateslocal_moving_FT_zigzag
Convert partial autocorrelation coefficients to AR coefficients.pacf_to_ar
Plot method for bdp_dw_result classplot.bdp_dw_result
Plot method for bdp_dw_tv_psd classplot.bdp_dw_tv_psd
Plot method for gibbs_psd classplot.gibbs_psd
Print method for bdp_dw_result classprint.bdp_dw_result
Print method for gibbs_psd classprint.gibbs_psd
ARMA(p,q) spectral density functionpsd_arma
time-varying spectral density function of the tvARMA(1,2) processes for illustrationspsd_tvarma12
VARMA(p,q) spectral density functionpsd_varma
Simulate from a Multivariate Normal Distributionrmvnorm
Negative log AR likelihood values for scree-type plotsscree_type_ar
simulate from the tvARMA(1,2) process for illustrationsim_tvarma12
Simulate from a VARMA modelsim_varma
Summary method for bdp_dw_result classsummary.bdp_dw_result
Summary method for gibbs_psd classsummary.gibbs_psd