You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles (JIRA)" <ji...@apache.org> on 2016/06/28 10:44:57 UTC

[jira] [Commented] (MATH-1380) LoessInterpolator can calculate median residual for robustness iterations incorrectly

    [ https://issues.apache.org/jira/browse/MATH-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15352783#comment-15352783 ] 

Gilles commented on MATH-1380:
------------------------------

Thanks for the report.

bq. Patch available with additional tests.

Please attach them to this page.


> LoessInterpolator can calculate median residual for robustness iterations incorrectly
> -------------------------------------------------------------------------------------
>
>                 Key: MATH-1380
>                 URL: https://issues.apache.org/jira/browse/MATH-1380
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.6.1
>            Reporter: Richard Wilkinson
>            Priority: Minor
>
> When LoessInterpolator.smooth determines the median residual to use in weighting points when performing robustness iterations its calculation is only strictly correct for odd numbers of points. For even numbers it should take the mean of the central two residuals. While this may not generally make a large difference it hinders comparison with other implementations (such as R loess) for testing.
> Patch and additional tests available.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)