statsmodels.robust.norms.LeastSquares.psi_deriv¶ LeastSquares.psi_deriv(z)[source]¶ The derivative of the least squares psi function. Returns:¶ psi_deriv – ones(z.shape) Return type:¶ ndarray Notes Used to estimate the robust covariance matrix.