SetIdentifiedSVARResult._summary_table#

SetIdentifiedSVARResult._summary_table()[source]#

Structured summary rendered by every display path.

One row per variable with its impact bounds; the scheme, shock, sign horizons and dimensions in the metadata; the restriction sentence, the unit-shock convention and the set-bounds caveat as notes.

Return type:

SummaryTable

Returns:

The SummaryTable behind summary().

Example

>>> import numpy as np
>>> from cultivars.multivariate.reduced_form.vector_autoregression import VAR
>>> rng = np.random.default_rng(0)
>>> res = VAR(rng.standard_normal((121, 2)), order=1, names=("gdp", "infl")).fit()
>>> sset = SetIdentifiedSVAR(res, {"gdp": "+"}, shock="demand").identify()
>>> table = sset._summary_table()
>>> table.title, [row[0] for row in table.rows]
("Set-Identified SVAR ('demand' shock)", ['gdp', 'infl'])
>>> table.columns
('impact of demand', 'lower', 'upper')
>>> dict(table.metadata)["Sign horizons"], len(table.notes)
('0', 3)