post_spec_dsp: Compute the posterior distribution of the spectrum of a...

post_spec_dspR Documentation

Compute the posterior distribution of the spectrum of a TVAR(p) model

Description

Compute the posterior distribution of the spectrum of a TVAR(p) model

Usage

post_spec_dsp(post_ar_coefs, post_sigma_e, n.freq = 500)

Arguments

post_ar_coefs

(nsave x T x p) array of TVAR(p) coefficients

post_sigma_e

(nsave x 1) vector of observation standard deviation

n.freq

number of frequencies at which to evaluate the spectrum

Value

A list containing (1) the vector of frequencies at which the spectrum was evaluated and (2) a (nsave x T x n.freq) array of the spectrum values for each MCMC simulation at each time.


drkowal/dsp documentation built on July 19, 2023, 11:42 a.m.