BVARSVResult#
- class cultivars.multivariate.large_dim.volatility.BVARSVResult(*, endog, names, order, trend, prior_label, coefficients, deterministic, beta_mean, sigma_u, beta_draws, sigma_draws, h_draws, impact_draws, vol_of_vol, resid, fittedvalues, nobs, n_draws, n_burn, thin)[source]#
A fitted stochastic-volatility BVAR: one system, a path of covariances.
The family’s shared propagation surface, with the covariance read at the end of the sample:
sigma_uand the covariance draws areSigma_T = A^{-1} diag(exp h_T) A^{-T}, the covariance relevant for what comes next, and the predictive propagates each draw’s log-variance random walk forward from there. The full history lives inh_drawsandvolatility_path().The triangular factorization is taken in the order of
namesat estimation time, so – as for the TVP-SV model – the recursive ordering is a structural declaration already made; orthogonalized responses inherit it.- Variables:
prior_label (
str) – Short description of the prior estimated under.h_draws (
NDArray[double]) –(S, nobs, k)kept log-variance path draws.impact_draws (
NDArray[double]) –(S, k, k)kept draws of the unit-lowerA^{-1}.vol_of_vol (
NDArray[double]) –(k,)posterior mean random-walk variances of the log volatilities.n_draws (
int) – Total sampler iterations.n_burn (
int) – Burn-in discarded.thin (
int) – Post-burn thinning.
Attributes#
The observed panel. |
|
Variable labels, in column order. |
|
Autoregressive order. |
|
Deterministic specification. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Residuals at the posterior mean. |
|
One-step means at the posterior mean. |
|
Effective sample size. |
|
Number of endogenous variables. |
|
Posterior draws retained. |
|
The effective sample the replications are shaped like, |
|
Posterior probability that the system is stable. |
Methods#
|
Assess the sampler's convergence over the retained draws. |
|
One coefficient's posterior summary: 16th percentile, mean, 84th. |
|
The posterior predictive: parameter and shock uncertainty. |
|
The posterior predictive's raw simulated paths, one per kept draw. |
|
Posterior mean impulse responses. |
|
Posterior bands of the impulse responses. |
|
Replicated effective samples, one per posterior draw used. |
|
A fresh sample path from the fitted system at the posterior mean or at one draw. |
|
The estimation summary, renderable as text, HTML, or a dataframe. |
|
One equation's posterior innovation standard deviation path. |