statsmodels.robust.resistant_linear_model.RLMDetS.fit#
- RLMDetS.fit(h, maxiter=100, maxiter_step=5, start_params_extra=None)[source]#
Estimate the model using a deterministic S-estimator.
- Parameters:
- h
int Size of the initial sets used to compute the starting values for the S-estimator.
- maxiter
int,optional Maximum number of iterations used for the final fit starting from the best starting value. Default is 100.
- maxiter_step
int,optional Maximum number of iterations used when fitting each starting value while searching for the best starting value. Default is 5.
- start_params_extra
list[ndarray]orNone,optional Additional starting parameter arrays to consider together with the starting sets generated internally. Default is None, which means no extra starting values are used.
- h
- Returns:
statsmodels.robust.robust_linear_model.RLMResultsResults instance corresponding to the best starting value.