LinearRegression Module

Linear regression is used to estimate the relationship of one variable (y) with another (x) by expressing y in terms of a linear function of x.

Types and nested modules

Type/Module Description

OLS

Ordinary Least Squares (OLS) regression aims to minimise the sum of squared y intercepts between the original and predicted points at each x value.

RobustRegression

Robust regression does not necessarily minimize the distance of the fitting function to the input data points (least squares), but has alternative aims (non-parametric).

Coefficients

Polynomial coefficients with various properties are stored within this type.