VECMXResult._refuse#
- VECMXResult._refuse(what)[source]#
Raise the shared explanation for a quantity the conditional model lacks.
- Parameters:
what (
str) β The quantity being asked for, as a noun phrase that fits β{what}is not defined for itβ.- Raises:
SpecificationError β Always, with
_CONDITIONAL_REFUSALfilled in with the quantity and the exogenous labels.- Return type:
Example
>>> import numpy as np >>> rng = np.random.default_rng(0) >>> x = np.cumsum(rng.standard_normal((200, 1)), axis=0) >>> res = VECMX(x + rng.standard_normal((200, 1)), x, order=1, rank=1).fit() >>> res._refuse("a thing") Traceback (most recent call last): cultivars.exceptions.SpecificationError: a conditional vector error-correction model ...