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
RLM unit test for Hampel has bcov_scaled tol reduced from decimal_4 to decimal_3
strange: codecov has only 3 lines in norms not covered by unit tests
deviance, including dev as convergence criterion, does not have unit tests. update deviance is and always was the default convergence criterion. So it's called at every default fit.
Convergence check only requires that convergence criterion does not change, so actual values are irrelevant.
So, rho has full line coverage, but values are not checked.
merging my old changes is very difficult because there are many changes in norms in main.
Most look cosmetic or reformulations.
Both hampel rho and negative part of psi still do not match R robust base.
This needs unit tests first before changing the current code with specific corrections.
However, hampel rho and psi in my old pr matches R robust base
psi_deriv is wrong in statsmodels main and in my PR version, wrong sign at edges of hill
Activity
josef-pkt commentedon Apr 14, 2023
RLM unit test for Hampel has bcov_scaled tol reduced from decimal_4 to decimal_3
strange: codecov has only 3 lines in
normsnot covered by unit testsdeviance, including
devas convergence criterion, does not have unit tests.update deviance is and always was the default convergence criterion. So it's called at every default
fit.Convergence check only requires that convergence criterion does not change, so actual values are irrelevant.
So, rho has full line coverage, but values are not checked.
josef-pkt commentedon Apr 14, 2023
merging my old changes is very difficult because there are many changes in norms in
main.Most look cosmetic or reformulations.
Both hampel rho and negative part of psi still do not match R robust base.
This needs unit tests first before changing the current code with specific corrections.
However, hampel rho and psi in my old pr matches R robust base
psi_deriv is wrong in statsmodels main and in my PR version, wrong sign at edges of hill
josef-pkt commentedon Apr 14, 2023
@bashtage This should still go into 0.14
I will finish a PR with bugfixes and unit tests for, at least, hampel and biweight.
The additional bug in hampel psi_deriv could make cov_params more wrong than I previously thought.