posDefHessMin: Minimization with modified Newton-Raphson iterations, Hessian is modified to be positive definite at each step.
Algorithm and code produced by Pavel Krupskii (2013)
see PhD thesis Krupskii (2014), UBC and
Section 6.2 of # Joe (2014) Dependence Models with Copulas. Chapman&Hall/CRC
Description
modified Newton-Raphson minimization with positive Hessian
list withfnval = function value at minimum;
parmin = param for minimum;
invh = inverse Hessian;
iconv = 1 if converged, -1 for a boundary point, 0 otherwise;
iter = number of iterations.
Arguments
param
starting point for minimization
objfn
function to be minimized with gradient and Hessian
dstruct
list with data set and other variables used by objfn
LB
lower bound vector
UB
upper bound vector
mxiter
max number of iterations
eps
tolerance for Newton-Raphson iterations
bdd
bound on difference of 2 consecutive iterations (useful is starting point is far from solution and func is far from convex)
iprint
control on amount of printing, FALSE for no printing of iterations and TRUE for printing x^(k) on each iteration.