You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Luc Maisonobe (JIRA)" <ji...@apache.org> on 2011/03/23 21:21:05 UTC

[jira] [Closed] (MATH-411) Multiple Regression newSampleData methods inconsistently create / omit intercepts

     [ https://issues.apache.org/jira/browse/MATH-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luc Maisonobe closed MATH-411.
------------------------------


Closing issue as it was included in version 2.2, which has been released

> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira