ols | R Documentation |
Perform least squares of y on x. Returns a list with the coefficients, t statistics, p values and residual vector.
ols(y, x)
y |
vector dependent variable |
x |
a vector or matrix of regressors |
coefficients, fitted values, standard errors, t statistics, p values, residuals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.