
Negative Binomial Regression Hessian, Standalone (C++)
Source:R/RcppExports.R
get_negbin_regression_hessian_cpp.RdComputes the (analytic) Hessian matrix of the log-likelihood of the
mean/dispersion-parameterized negative binomial regression model documented
in full at fast_neg_bin_cpp (see also
fast_dnbinom_mu_vec_cpp for the underlying density), at
arbitrary caller-supplied params (not necessarily the MLE). Exported
standalone — independent of any optimizer run — for direct numerical
diagnostics at a specific parameter value.
See also
get_negbin_regression_score_cpp for the corresponding
gradient at the same point; fast_neg_bin_cpp for the full
model documentation.