Figure out which draw is accepted vs rejected

I am printing out results of log prob during the iterations

	for(n in 1:N) {
		y[n] ~ iLogLikelihood(T, alpha, gamma, X[n], eta, S, n);
	}

where N means N users. The parameters are the alpha’s

parameters {
    real<upper=0> alpha[S];
}

is there a way I can print out whether particular values of the alpha array are accepted or rejected?

If you write the values of target to a file, then every one that is not among the values stored at the end corresponds to an unchosen leapfrog step. But you probably shouldn’t care.

1 Like