SpilloverResult.k_endog#

property SpilloverResult.k_endog: int[source]#

Number of variables in the network.

Example

>>> import numpy as np
>>> from cultivars.multivariate.reduced_form.vector_autoregression import VAR
>>> y = np.random.default_rng(0).standard_normal((150, 4))
>>> Spillover(VAR(y, order=1).fit()).compute().k_endog
4