ols_no_int: Ordinary Least Squares without intercept

View source: R/ols_no_int.R

ols_no_intR Documentation

Ordinary Least Squares without intercept

Description

Perform least squares of y on x. Returns a list with the coefficients, t statistics, p values and residual vector.

Usage

ols_no_int(y, x)

Arguments

y

vector dependent variable

x

a vector or matrix of regressors

Value

coefficients, fitted values, standard errors, t statistics, p values, residuals


Marga8/HDGCvar documentation built on May 25, 2024, 11:12 a.m.