OLS | R Documentation |
Fits the standard OLS model.
OLS(y, X)
y |
(n x 1) Numeric vector. |
X |
(n x p) Numeric matrix. |
List containing the following:
beta: Regression coefficients.
v: Residual variance.
se: Standard errors.
z: Z-scores.
pval: P-values based on the chi2 distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.