VARModelValues#

class impulso.numpyro_block.VARModelValues(*, intercept=None, B, B_exog=None, L, nu=None, latent=None, latent_names=())[source]#

Bases: object

Values, as JAX arrays, of the recorded quantities: the quantities a CompiledNumPyroBlock call records.

The NumPyro counterpart of VARModelHandles: where those are PyMC variables, these are the values the block computed from the NumPyro model’s current parameter values. A quantity the VAR does not have is None and is not recorded.

Parameters:
intercept#

Per-equation intercept. Shape (n_vars,) when every equation has one (the default); shape (n_included,), covering only the included equations in endog_names order, when intercept_equations named a strict subset; None when intercept_equations excluded every equation.

Type:

Any

B#

VAR lag coefficients, shape (n_vars, n_vars * n_lags), lag-major columns.

Type:

Any

B_exog#

Exogenous coefficients, shape (n_vars, n_exog); None without exogenous regressors.

Type:

Any

L#

Lower-triangular Cholesky factor of the structural-shock scale matrix, shape (n_vars, n_vars). Under Student-t errors this is the factor of the scale matrix, not of the covariance (ADR-0007).

Type:

Any

nu#

Degrees of freedom of the Student-t errors, a scalar, whether inferred or fixed; None under Gaussian errors.

Type:

Any

latent#

The generated latent paths, shape (T, n_latent) including the initial values; None without latent series. Its columns follow latent_names.

Type:

Any

latent_names#

Names of the latent series, in the column order of latent; empty without latent series.

Type:

tuple[str, …]