Supriya Ghosh (Editor)

Linear model

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Linear model Generalised Linear Models in R Rbloggers

Linear models example 1 algebra i khan academy


In statistics, the term linear model is used in different ways according to the context. 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.

Contents

Linear model Generalised Linear Models in R Rbloggers

Linear modeling


Linear regression models

Linear model Generalized Linear Models scikitslearn v06git documentation

For the regression case, the statistical model is as follows. Given a (random) sample ( Y i , X i 1 , , X i p ) , i = 1 , , n the relation between the observations Yi and the independent variables Xij is formulated as

Linear model R
Y i = β 0 + β 1 ϕ 1 ( X i 1 ) + + β p ϕ p ( X i p ) + ε i i = 1 , , n
Linear model httpswwwsocialresearchmethodsnetkbAssetsim

where ϕ 1 , , ϕ p may be nonlinear functions. In the above, the quantities εi are random variables representing errors in the relationship. The "linear" part of the designation relates to the appearance of the regression coefficients, βj in a linear way in the above relationship. Alternatively, one may say that the predicted values corresponding to the above model, namely

Linear model General Linear Model
Y ^ i = β 0 + β 1 ϕ 1 ( X i 1 ) + + β p ϕ p ( X i p ) ( i = 1 , , n ) ,

are linear functions of the βj.

Linear model General Linear Model

Given that estimation is undertaken on the basis of a least squares analysis, estimates of the unknown parameters βj are determined by minimising a sum of squares function

Linear model Adding a covariate to general linear model GLM Minitab
S = i = 1 n ( Y i β 0 β 1 ϕ 1 ( X i 1 ) β p ϕ p ( X i p ) ) 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 βj for which minimisation is a relatively simple problem;
  • the derivatives of the function are linear functions of the βj making it easy to find the minimising values;
  • the minimising values βj are linear functions of the observations Yi;
  • the minimising values βj are linear functions of the random errors εi which makes it relatively easy to determine the statistical properties of the estimated values of βj.
  • Time series models

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

    X t = c + ε t + i = 1 p ϕ i X t i + i = 1 q θ i ε t i .

    where again the quantities εt 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 Xt 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 φi and θ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.

    References

    Linear model Wikipedia