iode.Identity
- class iode.Identity(lec: str)[source]
An identity is an expression written in the LEC language that allows the construction of a new statistical series based on already defined series. In general, identities are executed in groups to create or update a set of variables. Identities can be executed for a specific range of periods, or for all periods defined in the workspace.
Identities should not be confused with equations. They are not part of a model.
- Parameters:
- lec: str
formula (LEC expression) used to construct a series.
- Attributes:
coefficientsReturn the list of coefficients present in the current identity.
lecReturn the LEC formula of the identity.
variablesReturn the list of variables present in the identity.
Methods
copy()Return a copy of the current Identity.
from_cython_obj
Examples
>>> from iode import Identity >>> idt = Identity("FLG/VBBP") >>> idt Identity('FLG/VBBP')
Methods
__init__(lec)copy()Return a copy of the current Identity.
from_cython_obj(obj)Attributes
Return the list of coefficients present in the current identity.
Return the LEC formula of the identity.
Return the list of variables present in the identity.