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.


RNOmni documentation built on Sept. 11, 2023, 9:07 a.m.