Default (equiv to digits=1)
> mean se_mean sd 2.5% 25% 50% 75% 97.5% n_eff Rhat
> pi[1] 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 747 1
> pi[2] 0.6 0.0 0.0 0.6 0.6 0.6 0.6 0.6 646 1
For comparison, here's digits=2, which is actually what I want to see in this example; you
can see that pi[1] and pi[2] are actually getting sampled and that not all Rhat=1.000000...:
mean se_mean sd 2.5% 25% 50% 75% 97.5% n_eff Rhat
pi[1] 0.01 0.00 0.00 0.00 0.01 0.01 0.01 0.02 812 1.00
pi[2] 0.61 0.00 0.02 0.58 0.60 0.61 0.62 0.64 487 1.00
pi[3] 0.14 0.00 0.01 0.12 0.13 0.14 0.15 0.17 703 1.00
pi[4] 0.14 0.00 0.01 0.12 0.13 0.14 0.14 0.16 622 1.00
pi[5] 0.04 0.00 0.01 0.03 0.04 0.04 0.05 0.06 417 1.01
pi[6] 0.06 0.00 0.01 0.05 0.06 0.06 0.07 0.08 569 1.00
pi[7] 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.01 892 1.00
theta[1,1,1] 0.69 0.00 0.07 0.56 0.64 0.69 0.74 0.82 795 1.00
Here's digits = 5. It's a bit puzzling that we have Rhat < 1; hopefully it's just floating point shenanigans.
mean se_mean sd 2.5% 25% 50% 75% 97.5% n_eff Rhat
pi[1] 0.00902 0.00011 0.00309 0.00427 0.00666 0.00862 0.01099 0.01594 812 0.99985
pi[2] 0.60723 0.00068 0.01508 0.57633 0.59820 0.60667 0.61734 0.63817 487 1.00089
pi[3] 0.14112 0.00045 0.01202 0.12062 0.13211 0.14032 0.14919 0.16548 703 1.00006
pi[4] 0.13718 0.00047 0.01161 0.11592 0.12924 0.13655 0.14445 0.16004 622 1.00046
pi[5] 0.04141 0.00034 0.00693 0.02832 0.03691 0.04085 0.04536 0.05669 417 1.01089
pi[6] 0.06203 0.00030 0.00718 0.04846 0.05717 0.06153 0.06679 0.07716 569 1.00445
pi[7] 0.00202 0.00005 0.00143 0.00020 0.00095 0.00171 0.00280 0.00531 892 0.99901
theta[1,1,1] 0.69148 0.00246 0.06927 0.55581 0.64452 0.69231 0.74228 0.82143 795 0.99852
theta[1,1,2] 0.04851 0.00104 0.03105 0.00616 0.02444 0.04435 0.06540 0.12391 883 1.00023
theta[1,1,3] 0.05009 0.00119 0.03447 0.00681 0.02431 0.04250 0.06898 0.13813 845 1.00007
theta[1,1,4] 0.05241 0.00133 0.03593 0.00439 0.02539 0.04296 0.07444 0.13965 735 0.99977
theta[1,1,5] 0.05287 0.00126 0.03512 0.00572 0.02709 0.04587 0.07053 0.14347 782 0.99672
> The Rhats in the plot are all colored but the intensities are different. I guess the rhats in the printout is
> smaller than 1.1. Otherwise, it would at least be printed as 1.1.
Does R just round down? I'd have thought 1.051 would be printed as 1.1, too.
- Bob