Comprehensive Prior Diagnostics
DPprior_diagnostics.RdComprehensive Prior Diagnostics
Usage
DPprior_diagnostics(
fit,
thresholds = c(0.5, 0.9),
warning_policy = NULL,
M_verify = NULL,
abs_tol = 1e-10,
rel_tol = 1e-08,
allow_approximate = FALSE
)Arguments
- fit
A canonical
dpprior.result/1fit. Legacy and flat lists are rejected; callupgrade_DPprior_object()explicitly first.- thresholds
Reserved fixed summary-view thresholds. The only accepted value is
c(0.5, 0.9). Useprob_wsb_exceeds()for arbitrary W_SB tails orwmax_tail_bounds()for certified W_max bounds.- warning_policy
Optional ordinary list with exact fields
estimand,direction,weight_threshold, andaction_threshold. W_max policies are retained as indeterminate because canonical diagnostics make no W_max point-probability claim.- M_verify
Optional independent quadrature order.
- abs_tol, rel_tol
Comparison tolerances.
- allow_approximate
Return an approximate bundle when TRUE; otherwise signal a typed condition carrying the complete bundle.
See also
Other diagnostics:
DPprior_error_bounds(),
compute_error_landscape(),
compute_weight_diagnostics()