CoefficientInference#

class cultivars.multivariate.reduced_form.vector_autoregression.CoefficientInference(*args, **kwargs)[source]#

What every result needs from whatever produced its coefficients.

Two objects satisfy this and they answer the same questions from different theories: _CoefficientCovariance from a sampling distribution, _PosteriorCovariance from a posterior. Naming the interface rather than the union is what keeps the mixin from having to know which it has – and _IS_POSTERIOR is here precisely so the one place that must know, the coefficient table’s headings, can ask.

See also

  • CoefficientInference – the public name of this class.

  • _VectorAutoRegressionFit.posterior – holds an instance.

  • _VectorResult.posterior – holds an instance.

Attributes#

coefficients

The estimate these moments describe, in design-column order.

effective_parameters

Parameters the coefficient estimate actually spends.

pvalue

Two-sided normal tail areas.

stderr

Standard deviations, shaped like the coefficients.

tstat

Coefficients over their standard deviations.

Methods#

conf_int(*[, alpha])

Symmetric bounds at the given level.

to_matrix()

The full covariance over vec(B).

wald(cells, *, null)

Test that a set of coefficients is jointly zero.

wald_restriction(restriction, *, null)

Test a general set of linear restrictions.