PlaceboInTime.bayesian_rope_decision#

static PlaceboInTime.bayesian_rope_decision(posterior_samples, rope_half_width, threshold)[source]#

Apply a ROPE-based Bayesian decision rule.

Parameters:
  • posterior_samples (ndarray) – Posterior draws of the total effect.

  • rope_half_width (float) – Half-width of the ROPE interval [-rope, +rope].

  • threshold (float) – Minimum posterior probability required to make a decision.

Returns:

One of "positive", "null", or "indeterminate".

Return type:

str