FitOLS {RNOmni}R Documentation

Ordinary Least Squares

Description

Fits the standard OLS model.

Usage

FitOLS(y, X)

Arguments

y

Nx1 Numeric vector.

X

NxP Numeric matrix.

Value

List containing the following:

Beta

Regression coefficient.

V

Outcome variance.

Ibb

Information matrix for beta.

Resid

Outcome residuals.


[Package RNOmni version 1.0.1.2 Index]