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 Aug. 16, 2022, 1:06 a.m.

Related to FitOLS in RNOmni...