Learn R Programming

AllelicSeries (version 0.0.4.1)

OLS: Ordinary Least Squares

Description

Fits the standard OLS model.

Usage

OLS(y, X)

Value

List containing the following:

  • BetaRegression coefficient.

  • VOutcome variance.

  • SEStandard errors.

  • ZZ-scores.

Arguments

y

(n x 1) Numeric vector.

X

(n x p) Numeric matrix.