[
https://issues.apache.org/jira/browse/MATH-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Tompkins updated MATH-1380:
-------------------------------
Fix Version/s: 4.0
> 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
> Fix For: 4.0
>
> Attachments: MATH-1380-loess-residual-median.patch
>
>
> 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.15#6346)