View source: R/dynamicWhittle_prior_and_mcmc_params.R
bdp_dw_bayes_factor_k1 | R Documentation |
Estimating the Bayes factor of hypothesis "k1 = 1".
bdp_dw_bayes_factor_k1(post_sample, precision = 1000)
post_sample |
the posterior sample generated by bdp_dw_mcmc. |
precision |
a positive integer specifying the number of terms used in approximating the normalizing constant of the prior probability mass function of k1. Default 1000. |
The Savage-Dickey estimate of the Bayes factor and its theoretical upper bound. c.f. section 3.3 of Tang et al. (2023).
Tang et al. (2023) Bayesian nonparametric spectral analysis of locally stationary processes ArXiv preprint <arXiv:2303.11561>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.