ConditionalLevels#
- class cultivars.multivariate.reduced_form.vector_autoregression.ConditionalLevels(*, phi, impact, exog_lags, deterministic, names, exog_names)[source]#
One unit’s equations written in levels, ready to be linked.
The common currency of a global system. Units may be estimated as a VARX in levels or as a conditional error-correction model in differences, and those are different objects with different parameters – but both imply the same thing about how the unit’s variables respond to their own past and to the foreign aggregates, and that implication is what the linkage consumes. Converting each unit to this record once means the global solve never learns which estimator produced which unit.
- Variables:
phi (
NDArray[double]) –(p, k, k)coefficients on the unit’s own lagged levels.impact (
NDArray[double]) –(k, m)contemporaneous response to the foreign levels.exog_lags (
NDArray[double]) –(p, k, m)coefficients on lagged foreign levels, padded to the same depth asphiso the two stack row by row.deterministic (
NDArray[double]) –(d, k)deterministic coefficients.exog_names (
tuple[str,...]) – The unit’s foreign-aggregate labels.
Read as an equation, with \(x\) the unit’s \(k\) variables, \(f\) its \(m\) foreign aggregates, and
dthe deterministic terms:x_t = sum_l phi[l] x_{t-l} + impact f_t + sum_l exog_lags[l] f_{t-l} + deterministic' d_t + u_t
with the lag index \(\ell\) running from one to
order.See also
ConditionalLevels– the public name of this class.VECMXResult.to_varx()– returns an instance.VARXResult.to_varx()– returns an instance.
Attributes#
Coefficients on the unit's own lagged levels, |
|
Contemporaneous response to the foreign levels, |
|
Coefficients on the lagged foreign levels, |
|
Deterministic coefficients, |
|
Labels of the unit's own variables, length \(k\). |
|
Labels of the unit's foreign aggregates, length \(m\). |
|
Variables the unit models. |
|
Foreign aggregates the unit reads. |
|
Lags of the unit's own levels. |