OLS_c {RRI}R Documentation

Fast least squares

Description

Fast OLS as in fastLm but returns only the fitted coefficients.

Usage

OLS_c(y, X)

Arguments

y

Vector of outcomes.

X

Matrix of covariates (first column should be 1's)

Value

Vector of coefficients.


[Package RRI version 1.1 Index]