Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 35675 invoked from network); 28 Aug 2010 22:17:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Aug 2010 22:17:15 -0000 Received: (qmail 43445 invoked by uid 500); 28 Aug 2010 22:17:15 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 43360 invoked by uid 500); 28 Aug 2010 22:17:14 -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 43352 invoked by uid 99); 28 Aug 2010 22:17:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Aug 2010 22:17:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Aug 2010 22:17:14 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7SMGrmK016921 for ; Sat, 28 Aug 2010 22:16:53 GMT Message-ID: <2024644.54031283033813617.JavaMail.jira@thor> Date: Sat, 28 Aug 2010 18:16:53 -0400 (EDT) From: "Phil Steitz (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (MATH-411) Multiple Regression newSampleData methods inconsistently create / omit intercepts In-Reply-To: <4368311.54011283033693308.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MATH-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Phil Steitz updated MATH-411: ----------------------------- Fix Version/s: 2.2 > Multiple Regression newSampleData methods inconsistently create / omit intercepts > --------------------------------------------------------------------------------- > > Key: MATH-411 > URL: https://issues.apache.org/jira/browse/MATH-411 > Project: Commons Math > Issue Type: Bug > Affects Versions: 2.0, 2.1 > Reporter: Phil Steitz > Fix For: 2.2 > > > The newSampleData(double[], nrows, ncols) method used in the unit tests adds a unitary column to the design matrix, resulting in an intercept term being estimated among the regression parameters. The other newSampleData methods do not do this, forcing users to add the column of "1"s to estimate models with intercept. Behavior should be consistent and users should not have to add the column. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.