linear.regression.multi: Linear Regression Multi

Description Usage Arguments Value

Description

Finds betas (with more than one Beta)

Usage

1
linear.regression.multi(xMatrix, yVector, numCols)

Arguments

xMatrix

Vector with independent variables

yVector

Vector with dependent variable

numCols

The number of colums you want. Standard is one column of 1's and another that is xVector

Value

A vector of betas, where the first cell is your y-int and the second cell represents your beta - "the slope"


n-swarup/nsLib documentation built on May 15, 2019, 5:50 p.m.