> On Apr 22, 2015, at 2:42 AM, Bob Carpenter <
ca...@alias-i.com> wrote:
>
> If it's a correlation matrix, that's by design. The 1 values
> on the diagonals don't move, so you get a 0/0 in the formula.
> It's been confusing users, though --- what should we do here?
> The problem is that we don't know if it's because a parameter is
> stuck because it's not sampling or stuck by design, so I'd be
> reluctant to just put it to the max value by default.
Aahhh, interesting. I think if none of the chains move and they’re all equal to the same value, we should set n_eff to #samples and R_hat to 1, by definition. If none of the chains move but they are not all equal, we should set n_eff to 0 and R_hat to infinity. Does this make sense?