Skip to content

Bug quantreg zero residuals - #2486

Merged
josef-pkt merged 2 commits into
statsmodels:masterfrom
josef-pkt:bug_quantreg_2377
Jun 29, 2015
Merged

josef-pkt merged 2 commits into
statsmodels:masterfrom
josef-pkt:bug_quantreg_2377

Conversation

@josef-pkt

Copy link
Copy Markdown
Member

fixes #2377 (exception with zero residuals) by replacing sign with inequality, assigns zero residual to positive

see also #2485

this includes smoke and regression unit tests
comment on second test case: If I did it correctly during debugging, then the second example raised the exception in the 6th iteration on my computer. The final result doesn't contain zero residuals.

@josef-pkt

Copy link
Copy Markdown
Member Author

all green, merging

josef-pkt added a commit that referenced this pull request Jun 29, 2015
@josef-pkt
josef-pkt merged commit 6f8e0e0 into statsmodels:master Jun 29, 2015
@josef-pkt
josef-pkt deleted the bug_quantreg_2377 branch June 29, 2015 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

QuantReg fails when a residual is exactly zero.

1 participant