5
$\begingroup$

Say I have run a Hierarchical Bayesian model in STAN (or JAGS or BUGS) and I have the posterior samples of two slope parameters that I want to compare: $\beta_1$ and $\beta_2$. The model appears to have converged properly.

So I look at the density of the difference of the MCMC samples of the posteriors of the two slopes ($\beta_1-\beta_2$). The 95% HPD interval of this difference includes zero, and from what I've read this means something similar to a Frequentist failure-to-reject: zero is credible and hence we cannot say that $\beta_1 \ne \beta_2$.

Yet, I can see that 80% of the differences are greater than zero. Which tempts me to say that, given my assumptions and model the odds are 4-1 that $\beta_1>\beta_2$. But I don't think I've ever read anything like that.

EDIT2: OK, I found an answer to my question. The previous paragraph describes a decision rule, which is distinct from the model, MCMC, etc. This particular decision rule has two problems:

  1. It doesn't take into account the density of the differences. That is, the 80% of the differences that are greater than zero might all be very close to zero, or might be quite distant from zero. This should make a difference, but the simplistic decision rule doesn't differentiate between these conditions.

  2. The 4-1 odds are not all that strong to begin with, considering that the conventional 95% CI is essentially 19-1 odds.

I'm not sure how to make a better decision rule, though.

$\endgroup$
1
  • $\begingroup$ I'd love to get an answer here, too! $\endgroup$
    – thias
    Commented Jan 21, 2014 at 10:16

1 Answer 1

0
$\begingroup$

One approach is to use domain knowledge to define a region of practical equivalence (ROPE) around the null value, and then compare the posterior distribution of $\beta_1 - \beta_2$ to that ROPE. If, say, the 95% HPD interval of $\beta_1 - \beta_2$ falls entirely within the ROPE then you could decide that one slope is not meaningfully larger than the other. If the 95% HPD falls entirely above the ROPE, then you could decide that $\beta_1$ is meaningfully larger than $\beta_2$. If the HPD overlaps an edge of the ROPE then you can't decide one way or the other (you need more data).

The following paper describes one such decision rule:

Kruschke JK. Rejecting or Accepting Parameter Values in Bayesian Estimation. Advances in Methods and Practices in Psychological Science. 2018;1(2):270-280. doi:10.1177/2515245918771304

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.