TOPICS
Search

Design Matrix


A design matrix is a matrix that represents the values of the independent variables used to fit a statistical model. Its rows correspond to observations and its columns correspond to the terms whose regression coefficients are to be estimated. A column of ones is commonly included for an intercept. The linear regression model can be written

 y=Xbeta+epsilon,

where X is the design matrix, beta is the column vector of regression coefficients, and epsilon is the column vector of errors. When X has full column matrix rank, the least squares fitting estimate is unique and the fitted values are

 y^^=X(X^TX)^(-1)X^Ty.

See also

Fitted Value, Independent Variable, Least Squares Fitting, Linear Regression, Regression Coefficient

Explore with Wolfram|Alpha

References

Cook, R. D. and Weisberg, S. Residuals and Influence in Regression. New York: Chapman and Hall, 1982.

Cite this as:

Weisstein, Eric W. "Design Matrix." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/DesignMatrix.html

Subject classifications