fitOLS {SurrogateRegression}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 SurrogateRegression version 0.6.0.1 Index]