rxmc.model_comparison.compare_logz#

rxmc.model_comparison.compare_logz(a, b, sigma: float = 2.0) → dict[source]#

Delta log Z = a - b with a conservative tie verdict.

Parameters:
  • a, b ((mean, err) or (mean, err, n)) – As returned by logz_summary(); a trailing replicate count is accepted and ignored (it is informational only).

  • sigma (float, optional) – A difference smaller than sigma * hypot(err_a, err_b) is a "tie".

Returns:

dict – {"dlogZ": ..., "err": ..., "verdict": "a" | "b" | "tie"}.