Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

deriva_grad

Numerical derivatives of the gradient function


Description

The function computes the information score matrix in the case where the first derivatives of the function to optimize are analytically known. Therefore, minus the derivatives of the gradient are computed by central finite differences.

Usage

deriva_grad(nproc = 1, b, grad, .packages = NULL, ...)

Arguments

nproc

number of processors for parallel computing

b

value of parameters to be optimized over

grad

the gradient of the function to be minimized (or maximized)

.packages

character vector of packages that grad depends on

...

other arguments of the grad function

Value

hessian

vector containing the upper part of the information score matrix

Author(s)

Viviane Philipps, Boris Hejblum, Cecile Proust-Lima, Daniel Commenges


marqLevAlg

A Parallelized General-Purpose Optimization Based on Marquardt-Levenberg Algorithm

v2.0.5
GPL (>= 2.0)
Authors
Viviane Philipps, Cecile Proust-Lima, Melanie Prague, Boris Hejblum, Daniel Commenges, Amadou Diakite
Initial release
2021-03-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.