Ordinary Least Squares
Fits the standard OLS model.
fitOLS(y, X)
y
: Nx1 Numeric vector.X
: NxP Numeric matrix.List containing the following: - Beta: Regression coefficient.
V: Outcome variance.
Ibb: Information matrix for beta.
Resid: Outcome residuals.
Useful links