You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Propagate rank_deficient_action to all estimators (P2)
Complete parameter propagation for rank_deficient_action across all
estimators that use OLS internally:
- TwoWayFixedEffects: Pass to LinearRegression, conditional warning
suppression based on setting
- CallawaySantAnna: Add parameter to __init__, pass to _linear_regression
helper in _outcome_regression and _doubly_robust methods
- SunAbraham: Add parameter to __init__, pass to LinearRegression in
_fit_saturated_regression
- TripleDifference: Add parameter to __init__, pass to solve_ols and
LinearRegression in regression methods, also update convenience function
All estimators now support:
- "warn" (default): Issue warning and drop linearly dependent columns
- "error": Raise ValueError on rank deficiency
- "silent": Drop columns silently without warning
Tests added for each estimator verifying error/silent behavior.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments