In case a score method is not provided, this function will be used. It computes the score by numerical differentiation of the log-likelihood.

# S3 method for likelihood_model
score(model, control = list(), ...)

Arguments

model

The likelihood model

control

Custom arguments to pass to numDeriv::grad.

...

Additional arguments (to pass into loglik)