Description Usage Arguments Value
Computes the parameters of a univariate linear regression.
1 |
y |
Dependent variable. |
x |
Explanatory variable. |
A data.frame with: intercept: The estimate of the intercept coefficient. df: The degress of freedom of the standard deviation of the residuals. sigma: The standard deviation of the residuals. XtX.inverse.intercept: The top left elemeng of the inverse of the matrix X'X.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.