statsmodels.robust.norms.LeastSquares.weights¶
- LeastSquares.weights(z)[ソース]¶
The least squares estimator weighting function for the IRLS algorithm.
The psi function scaled by the input z
- Parameters:¶
- zarray_like
1d array
- Returns:¶
- weights
ndarray weights(z) = np.ones(z.shape)
- weights
最終更新日:
2025年01月28日