Skip to content

Multiple linear regression (two or more regressors) with singular-design detection #5

Description

@Yaraslaut

Problem

Methods determine model parameters by a multiple linear regression: one value fitted against two (or more) regressors plus a constant term, y = c0 + c1·x1 + c2·x2. least_squares.hpp has only the straight line, so this has to live outside the library, untraced, with its outputs entered into the formulas as if they were measurements.

Wanted

Open points

  • A fixed number of regressors as a template parameter, or a variadic list of regressor samples?
  • Should the trace list the sample count that entered the fit? Methods report it next to the coefficients.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions