fitOLS: Ordinary Least Squares

View source: R/RcppExports.R

fitOLSR 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.


zrmacc/Spray documentation built on Oct. 16, 2024, 10:07 p.m.