Closed eipi10 closed 1 year ago
It looks like it's the background that's not changing with the group. Should be straightforward, I'll post again when I've pushed a fix.
Yes, exactly. For the discrete plot, the function is grouping the posterior simulations by group
but isn't grouping the data used to fit the model. I was focused on the discrete plot when I posted this issue, but I also realized it's not doing any grouping at all on the continuous plot. Shouldn't there be six of those, one for each group
level?
Currently it doesn't group for the continuous plot, but I can see if that's possible.
Thanks Robert!
Using the
group
argument inpp_check_ordbetareg
should produce a discrete plot that compares the modeled counts in each level of thegroup
variable to the actual counts in each level of the group variable. However, the plot shows the same total count of data rows for every level. Below is a reproducible example: