Displaying 1 result from an estimated 1 matches for "checkbhhhgrad".
2011 May 03
3
help with the maxBHHH routine
...observation
level likelihoods and nuGradient is a function that returns a matrix with
each row corresponding to a single observation and the columns corresponding
to the gradient values for each parameter (as is mentioned in the online
help).
however, this gives me the following error:
*Error in checkBhhhGrad(g = gr, theta = theta, analytic = (!is.null(attr(f,
:
the matrix returned by the gradient function (argument 'grad') must have
at least as many rows as the number of parameters (10), where each row must
correspond to the gradients of the log-likelihood function of an individual
(independe...