This package allows the user to flexibly estimate the spectral density of a stationary time series using a Bayesian nonparametric B-spline prior (of any degree). It works particularly well for complicated spectral structures (compared to the Bernstein polynomial prior).
The primary function gibbs_bspline is straightforward to use. Most of the arguments are defaults (i.e., a noninformative prior). All you need to do is input a numeric vector (your time series), the number of iterations to run the MCMC algorithm for, and the amount of burn-in.
Download from CRAN. Use install.packages("bsplinePsd") in R.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.