Skip to content

mcmc_rhat_data gets description column inverted #176

@VeenDuco

Description

@VeenDuco

The rating column says low but the description says above 1.1:

sso <- shinystan::eight_schools
mcmc_rhat_data(sso@summary[, "Rhat"])
# A tibble: 11 x 5
   diagnostic parameter     value rating description 
   <chr>      <fct>         <dbl> <fct>  <chr>       
 1 rhat       theta[8]       1.00 low    hat(R) > 1.1
 2 rhat       theta[6]       1.00 low    hat(R) > 1.1
 3 rhat       mu             1.00 low    hat(R) > 1.1
 4 rhat       theta[3]       1.00 low    hat(R) > 1.1
 5 rhat       theta[1]       1.00 low    hat(R) > 1.1
 6 rhat       theta[4]       1.00 low    hat(R) > 1.1
 7 rhat       theta[5]       1.00 low    hat(R) > 1.1
 8 rhat       theta[2]       1.00 low    hat(R) > 1.1
 9 rhat       theta[7]       1.00 low    hat(R) > 1.1
10 rhat       tau            1.01 low    hat(R) > 1.1
11 rhat       log-posterior  1.02 low    hat(R) > 1.1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions