Learn R Programming

RNOmni (version 1.0.1.2)

FitOLS: Ordinary Least Squares

Description

Fits the standard OLS model.

Usage

FitOLS(y, X)

Value

List containing the following:

Beta

Regression coefficient.

V

Outcome variance.

Ibb

Information matrix for beta.

Resid

Outcome residuals.

Arguments

y

Nx1 Numeric vector.

X

NxP Numeric matrix.