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.
deriva_grad(nproc = 1, b, grad, .packages = NULL, ...)
vector containing the upper part of the information score matrix
number of processors for parallel computing
value of parameters to be optimized over
the gradient of the function to be minimized (or maximized)
character vector of packages that grad depends on
other arguments of the grad function
Viviane Philipps, Boris Hejblum, Cecile Proust-Lima, Daniel Commenges