I feel confused about how the simulation score for each participant is calculated. How can we determine whether the balloon exploded in the simulated data when original pump limit for each balloon is not given?
In bart_ewmv.stan, the decision for pumping or not-pumping a balloon on trial k for pump l is simulated, but why the range of k is [1, pumps[j, k] + 1 - explosion[j, k]? And if the simulated decision of trial k is [1, 1, 1, 0, 1, ..., 1, nan,...], is it right to regard the number of pumping of trial k as 3?