OLS | R Documentation |
Function computes OLS estimates of the regression y on x in matrix form, β = (X'X)^{-1} X'Y
OLS(y, x)
y |
matrix of dependent variables |
x |
matrix of independent variables |
b: OLS estimates of the regression
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.