Linear Regression Task

(Redirected from Linear Regression)
Jump to: navigation, search

A Linear Regression Task is a regression analysis task that is based on linear predictor functions.

[math]y_i=f(x_i,\boldsymbol\beta)+\varepsilon_i\quad[/math] with [math]f(x_i,\beta_j )=\sum _{j=0}^{m}\beta _{j}\phi_{j}(x_i)[/math] for [math]\quad i=1,\cdots,n \;[/math] and [math]j=0,\cdots, p[/math]
in this regression function [math]f(X)=f(x_i,\boldsymbol\beta)[/math] is a parametric regression function which is a linear combination between [math]p[/math] regression coefficients [math]\beta_j[/math] (parameters) and basis functions [math]\phi_j(x_i)[/math]. Usually, the basis function are polynomial, i.e. [math]\phi_j(x^i)=x_i^{j}[/math]
[math]\mathbf{Y} = \mathbf{X}\mathbf{B} + \mathbf{U},[/math] where [math]\mathbf{Y}=y_i[/math] is the measurement matrix, [math]\mathbf{X}=\phi _{j}(x_i)[/math] is design matrix, [math]\mathbf{B}=\boldsymbol{\beta}=\beta_j [/math] the parameters matrix and [math]\mathbf{U}=\varepsilon_i[/math] a errors matrix. This is,

[math]\begin{pmatrix} y_1 \\ y_2 \\ \vdots \\ y_n \end{pmatrix} = \begin{pmatrix} \phi_0(x_1) & \phi_1(x_1) & \cdots & \phi_p(x_1) \\ \phi_0(x_2) & \phi_1(x_2) & \cdots & \phi_p{x_2} \\ \vdots & \vdots & \ddots & \vdots \\ \phi_0(x_n) & \phi_1(x_n) & \cdots & \phi_p(x_n) \end{pmatrix}\begin{pmatrix} \beta_0 \\ \beta_1 \\ \vdots \\ \beta_p \end{pmatrix}+\begin{pmatrix} \varepsilon_1 \\ \varepsilon_2 \\ \vdots \\ \varepsilon_n \end{pmatrix}[/math]

by estimating the best-fitting [math]\beta[/math] parameters that optimizes the following objective function:

[math]E(f)=\sum _{i=1}^{n}L(y_{i},f(x_{i},{\boldsymbol \beta }))[/math]

[math]L(\cdot)[/math] is an error function that may be derived as a loss function or the negative of a likelihood function.




  • (Wikipedia, 2014) ⇒ Retrieved:2014-11-23.
    • In statistics, linear regression is an approach for modeling the relationship between a scalar dependent variable y and one or more explanatory variables denoted X. The case of one explanatory variable is called simple linear regression. For more than one explanatory variable, the process is called multiple linear regression. (This term should be distinguished from multivariate linear regression, where multiple correlated dependent variables are predicted,rather than a single scalar variable.)

      In linear regression, data are modeled using linear predictor functions, and unknown model parameters are estimated from the data. Such models are called linear models. Most commonly, linear regression refers to a model in which the conditional mean of y given the value of X is an affine function of X. Less commonly, linear regression could refer to a model in which the median, or some other quantile of the conditional distribution of y given X is expressed as a linear function of X. Like all forms of regression analysis, linear regression focuses on the conditional probability distribution of y given X, rather than on the joint probability distribution of y and X, which is the domain of multivariate analysis.

      Linear regression was the first type of regression analysis to be studied rigorously, and to be used extensively in practical applications. This is because models which depend linearly on their unknown parameters are easier to fit than models which are non-linearly related to their parameters and because the statistical properties of the resulting estimators are easier to determine.

      Linear regression has many practical uses. Most applications fall into one of the following two broad categories:

      • If the goal is prediction, or forecasting, or reduction, linear regression can be used to fit a predictive model to an observed data set of y and X values. After developing such a model, if an additional value of X is then given without its accompanying value of y, the fitted model can be used to make a prediction of the value of y.
      • Given a variable y and a number of variables X1, ..., Xp that may be related to y, linear regression analysis can be applied to quantify the strength of the relationship between y and the Xj, to assess which Xj may have no relationship with y at all, and to identify which subsets of the Xj contain redundant information about y.
    • Linear regression models are often fitted using the least squares approach, but they may also be fitted in other ways, such as by minimizing the "lack of fit" in some other norm (as with least absolute deviations regression), or by minimizing a penalized version of the least squares loss function as in ridge regression (L2-norm penalty) and lasso (L1-norm penalty). Conversely, the least squares approach can be used to fit models that are not linear models. Thus, although the terms "least squares" and "linear model" are closely linked, they are not synonymous.