Description Usage Arguments Details Value Author(s) Examples
The function calculates an OLS regression and prints the results to the console.
1 |
y |
dependent variable which must be of type numeric |
x |
list of independent variables which must be vectors and of type numeric or factor. |
varNames |
OPTIONAL a vector of all the variable names: the first variable name in the vector must be the one of the dependent variable, followed by the names of the independent variables. default: c() |
The function prints the OLS regression results to the console; including information about the coefficients, standard errors, t- and p-values, residuals, R squared and the F-Statistics. However, the function does not return. The printed output is similar to the one that is provided by summary() for lm() models.
The function does not return a value, but prints the OLS regression results to the console.
Saro Gibilisco, sarogiba@bluewin.ch Rolf Badat, rolf.badat@uzh.ch
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.