Returns a function that computes the score (gradient of log-likelihood) with respect to parameters. Uses analytical score if provided, otherwise falls back to numerical differentiation.
Usage
# S3 method for class 'dfr_dist'
score(model, ...)Returns a function that computes the score (gradient of log-likelihood) with respect to parameters. Uses analytical score if provided, otherwise falls back to numerical differentiation.
# S3 method for class 'dfr_dist'
score(model, ...)