Learn R Programming

RNOmni (version 0.5.0)

fitOLS: Univariate OLS model.

Description

Fits the standard OLS model.

Usage

fitOLS(y, X)

Arguments

y

Numeric vector.

X

Numeric matrix.

Value

List containing the following:

Beta

Regression coefficient.

V

Outcome variance.

Ibb

Information matrix for beta.

Resid

Outcome residuals.