Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-411

Multiple Regression newSampleData methods inconsistently create / omit intercepts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0, 2.1
    • 2.2
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              psteitz Phil Steitz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: