linearmodels.iv.absorbing.AbsorbingRegressor¶
-
class linearmodels.iv.absorbing.AbsorbingRegressor(*, cat: DataFrame | None =
None
, cont: DataFrame | None =None
, interactions: list[Interaction] | None =None
, weights: ndarray[tuple[int, ...], dtype[float64]] | None =None
)[source]¶ Constructed weights sparse matrix from components
- Parameters:¶
- cat: DataFrame | None =
None
¶ List of categorical variables (factors) to absorb
- cont: DataFrame | None =
None
¶ List of continuous variables to absorb
- interactions: list[Interaction] | None =
None
¶ List of included interactions
- weights: ndarray[tuple[int, ...], dtype[float64]] | None =
None
¶ Weights, if any
- cat: DataFrame | None =
Methods
Properties
Flag indicating whether the regressors have a constant equivalent