UnivariateLinearRegression: Computes the parameters of a univariate linear regression.

Description Usage Arguments Value

Description

Computes the parameters of a univariate linear regression.

Usage

1

Arguments

y

Dependent variable.

x

Explanatory variable.

Value

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.


google/abpackage documentation built on May 8, 2019, 11:44 a.m.