gradf.func: Gradient function of quardratic loss

Description Usage Arguments Value

View source: R/LSVAR.R

Description

Gradient function of quardratic loss

Usage

1
gradf.func(x, AtA, Atb)

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

Value

Value of gradients


LSVAR documentation built on May 26, 2021, 5:07 p.m.