Given a vector of data and a design matrix, the least squares estimates for a linear model is computed.
A data vector.
A design matrix. The number of rows must be equal to the length of the data vector.
The fitted values represent the expected values all but the last variables in the posterior for the linear model.
A vector of values of length equal to the number of columns in the design matrix.
Petter Mostad <[email protected]>
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.