The design matrix has one row for each observation and one column for each regression coefficient, so the linear predictor is .
If each level of one categorical variable belongs to exactly one level of another, indicators for the coarser levels are sums of indicators for the finer levels. Including unrestricted fixed effects for both therefore gives a rank-deficient ordinary least squares: the separate effects lack identifiability without additional constraints.

Ancestors (8)

  1. Linear regression
  2. Normal linear model
  3. Statistical modelling
  4. Statistical model
  5. Probability and statistics
  6. Area of mathematics
  7. Mathematics
  8. Home

Discussion (0)

New discussion

There are no discussions about this article yet.

Articles by others on the same topic (1)

A design matrix is a mathematical representation used in statistical modeling and machine learning that organizes the input data for analysis. It is particularly common in regression analysis, including linear regression, but can also be used in other contexts. ### Structure of a Design Matrix 1. **Rows**: Each row of the design matrix represents an individual observation or data point in the dataset. 2. **Columns**: Each column corresponds to a specific predictor variable (also known as independent variable, feature, or explanatory variable).