Learn R Programming

VARDetect (version 0.1.8)

gradf.func: Gradient function of quardratic loss

Description

Gradient function of quardratic loss

Usage

gradf.func(x, AtA, Atb)

Value

Value of gradients

Arguments

x

A vector, or matrix, indicating the model parameter

AtA

A p by p Gram matrix for corresponding design matrix A

Atb

An inner product for design matrix A and corresponding matrix (vector) b