
Log-Link (Relative-Risk) Binomial Regression Score, Standalone (C++)
Source:R/RcppExports.R
get_log_binomial_regression_score_cpp.RdComputes a numerical (central finite-difference, step \(h =
10^{-6}\)) approximation of the score vector (gradient of the log-likelihood)
of the constrained log-link binomial regression model documented in full at
fast_log_binomial_regression_cpp, at arbitrary caller-supplied
beta (not necessarily the MLE) — not an analytic derivative. Exported
standalone — independent of any optimizer run — for direct numerical
diagnostics (e.g. verifying convergence) at a specific parameter value.
See also
get_log_binomial_regression_hessian_cpp for the
corresponding (also finite-difference) Hessian at the same point;
fast_log_binomial_regression_cpp for the full model
documentation.