linearmodels.iv.absorbing.Interaction.hash

property Interaction.hash : list[tuple[str, ...]]

Construct a hash that is invariant to the order of the inputs.

Returns:

The sorted hashes of the interactions of the categorical variables with each continuous variable. Inputs that produce the same fit when they are used as regressors have the same hash.

Return type:

list of tuple of str