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/BNEM documentation built on March 31, 2024, 12:20 a.m.