betahat_GD_R: betahat_GD_R

Description Usage Arguments

View source: R/GradientDescent_R.R

Description

This function estimates the beta vector of a linear Regression model via gradient descend method

Usage

1
betahat_GD_R(beta, x, y, tolerance, maxit, stepsize)

Arguments

beta

numeric vector containing an initial guess for the beta vector

x

design matrix

y

response variable vector

tolerance

tolerance level

maxit

maximun number of iteration

stepsize

learning parameter


FrancescoBarile/OurProject documentation built on Dec. 17, 2021, 8:30 p.m.