Linear model

In statistics, the term linear model refers to any model which assumes linearity in the system. The most common occurrence is in connection with regression models and the term is often taken as synonymous with linear regression model. However, the term is also used in time series analysis with a different meaning. In each case, the designation "linear" is used to identify a subclass of models for which substantial reduction in the complexity of the related statistical theory is possible.

Linear regression models
For the regression case, the statistical model is as follows. Given a (random) sample $$ (Y_i, X_{i1}, \ldots, X_{ip}), \, i = 1, \ldots, n $$ the relation between the observations $$Y_i$$ and the independent variables $$X_{ij}$$ is formulated as


 * $$Y_i = \beta_0 + \beta_1 \phi_1(X_{i1}) + \cdots + \beta_p \phi_p(X_{ip}) + \varepsilon_i \qquad i = 1, \ldots, n $$

where $$ \phi_1, \ldots, \phi_p $$ may be nonlinear functions. In the above, the quantities $$\varepsilon_i$$ are random variables representing errors in the relationship. The "linear" part of the designation relates to the appearance of the regression coefficients, $$\beta_j$$ in a linear way in the above relationship. Alternatively, one may say that the predicted values corresponding to the above model, namely
 * $$\hat{Y}_i = \beta_0 + \beta_1 \phi_1(X_{i1}) + \cdots + \beta_p \phi_p(X_{ip}) \qquad (i = 1, \ldots, n), $$

are linear functions of the $$\beta_j$$.

Given that estimation is undertaken on the basis of a least squares analysis, estimates of the unknown parameters $$\beta_j$$ are determined by minimising a sum of squares function
 * $$S = \sum_{i = 1}^n \varepsilon_i^2 = \sum_{i = 1}^n \left(Y_i - \beta_0 - \beta_1 \phi_1(X_{i1}) - \cdots - \beta_p \phi_p(X_{ip})\right)^2 .$$

From this, it can readily be seen that the "linear" aspect of the model means the following:
 * the function to be minimised is a quadratic function of the $$\beta_j$$ for which minimisation is a relatively simple problem;
 * the derivatives of the function are linear functions of the $$\beta_j$$ making it easy to find the minimising values;
 * the minimising values $$\beta_j$$ are linear functions of the observations $$Y_i$$;
 * the minimising values $$\beta_j$$ are linear functions of the random errors $$\varepsilon_i$$ which makes it relatively easy to determine the statistical properties of the estimated values of $$\beta_j$$.

Time series models
An example of a linear time series model is an autoregressive moving average model. Here the model for values {$$X_t$$} in a time series can be written in the form


 * $$ X_t = c + \varepsilon_t + \sum_{i=1}^p \phi_i X_{t-i} + \sum_{i=1}^q \theta_i \varepsilon_{t-i}.\,$$

where again the quantities $$\varepsilon_i$$ are random variables representing innovations which are new random effects that appear at a certain time but also affect values of $$X$$ at later times. In this instance the use of the term "linear model" refers to the structure of the above relationship in representing $$X_t$$ as a linear function of past values of the same time series and of current and past values of the innovations. This particular aspect of the structure means that it is relatively simple to derive relations for the mean and covariance properties of the time series. Note that here the "linear" part of the term "linear model" is not referring to the coefficients $$\phi_i$$ and $$\theta_i$$, as it would be in the case of a regression model, which looks structurally similar.

Other uses in statistics
There are some other instances where "nonlinear model" is used to contrast with a linearly structured model, although the term "linear model" is not usually applied. One example of this is nonlinear dimensionality reduction.