Skip to contents

First size-biased and largest-weight diagnostics

Usage

compute_weight_diagnostics(
  a,
  b,
  thresholds = c(0.3, 0.5, 0.7, 0.9),
  M = .QUAD_NODES_DEFAULT,
  M_verify = NULL,
  abs_tol = 1e-10,
  rel_tol = 1e-08
)

Arguments

a, b

Numeric Gamma hyperparameters.

thresholds

Numeric vector in (0,1).

M

Selected quadrature order for E(W_SB).

M_verify

Optional verification order.

abs_tol, rel_tol

Comparison tolerances.

Value

Separate size_biased and maximum components. Numeric compatibility aliases refer only to W_SB; no risk category is returned.