Design matrix (source code)

= Design matrix
{title2=$X$}
{wiki}

The design matrix has one row for each observation and one column for each regression coefficient, so the linear predictor is $X\beta$.