Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 925B4200B2B for ; Tue, 28 Jun 2016 13:01:58 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 91269160A6C; Tue, 28 Jun 2016 11:01:58 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 05176160A06 for ; Tue, 28 Jun 2016 13:01:57 +0200 (CEST) Received: (qmail 136 invoked by uid 500); 28 Jun 2016 11:01:57 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 106 invoked by uid 99); 28 Jun 2016 11:01:57 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2016 11:01:57 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 086882C1F58 for ; Tue, 28 Jun 2016 11:01:57 +0000 (UTC) Date: Tue, 28 Jun 2016 11:01:57 +0000 (UTC) From: "Richard Wilkinson (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MATH-1380) LoessInterpolator can calculate median residual for robustness iterations incorrectly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 28 Jun 2016 11:01:58 -0000 [ https://issues.apache.org/jira/browse/MATH-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard Wilkinson updated MATH-1380: ------------------------------------ Attachment: MATH-1380-loess-residual-median.patch > 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 > 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.4#6332)