Statistical Sauce¶
A curated list of definitions and concepts from Statistics.
Rahul Bhadani
Design Matrix¶
In statistics, a design matrix, also known as model matrix or regressor matrix and often denoted by \(X\), is a matrix of values of explanatory variables of a set of objects. Each row represents an individual object, with the successive columns corresponding to the variables and their specific values for that object. The design matrix is used in certain statistical models, e.g., the general linear model. It can contain indicator variables (ones and zeros) that indicate group membership in an ANOVA, or it can contain values of continuous variables.
As an example, consider the following Equation:
where \(\beta_0\) is the y-intercept \(\beta_1\) is the slope of the regression line. In matrix form, this model can be written as:
