powered by
Perform Multiple Linear Regression using armadillo in C++
lm_arma(y, X)
A field<vec> with:
field<vec>
Coefficients
Residuals
Sigma^2
A vec of length \(N\times 1\) containing the responses.
vec
A mat with dimensions \(N \times p\), which is the design matrix.
mat