AnsbCTEEstimator#
- class infomeasure.estimators.transfer_entropy.AnsbCTEEstimator(source, dest, *, cond=None, undersampled: float = 0.1, prop_time: int = 0, step_size: int = 1, src_hist_len: int = 1, dest_hist_len: int = 1, cond_hist_len: int = 1, offset: int = None, base: int | float | str = 'e', **kwargs)[source]
Bases:
BaseAnsbTEEstimator,ConditionalTransferEntropyEstimatorEstimator for the Ansb conditional transfer entropy.
Ansb conditional transfer entropy estimator using the entropy combination formula.
- Attributes:
- source, dest, condarray_like
The source (X), destination (Y), and conditional (Z) data used to estimate the conditional transfer entropy.
- undersampled
float, default=0.1 Maximum allowed ratio N/K to consider data sufficiently undersampled. A warning is issued if this threshold is exceeded.
- step_size
int Step size between elements for the state space reconstruction.
- src_hist_len, dest_hist_len, cond_hist_len
int Number of past observations to consider for the source, destination, and conditional data.
See also
infomeasure.estimators.entropy.ansb.AnsbEntropyEstimatorAnsb entropy estimator.
Notes
This estimator uses the Ansb entropy estimator to compute conditional transfer entropy through the entropy combination formula.
Note that the entropy combination formula is used (_generic_cte_from_entropy) not a dedicated implementation as other TE might have.