Matthew Kay

Results 308 comments of Matthew Kay

You could try using add_epred_rvars instead, as the rvar format in a data frame will be more compact than the format output by add_epred_draws. Beyond that the obvious way to...

Yeah an error/warning here would be good. Can you check and see if you call the underlying brms function (`brms::posterior_epred`) no error/warning is generated? If that isn't generating a warning...

Yeah that's a bit odd --- a reprex would help me diagnose. Thanks!

Yeah, unfortunately you can't automatically set the same binwidth across facets at the moment. This is due to a limitation of ggplot2: to automatically determine binwidths, we have to know...

Option 2 can do quantile dotplots if you construct them manually, which is generally not too much of a pain: e.g., if you have a sample `x` that you want...

I believe Michael Betancourt has examples of plots like what you're describing (see e.g. Step 14 [here](https://betanalpha.github.io/assets/case_studies/principled_bayesian_workflow.html#Step_Fourteen:_Posterior_Retrodictive_Checks65)), though he's not a ggplot user so they wouldn't have been made using...

> And perhaps ECDF plots as well (maybe this is what you wanted to point out with probability boxes)? exactly :) > So perhaps kernel density estimates are really the...

> Yes, if the same x grid is used for the KDEs, then ribbons for them should be as "easy" as for other curves (in particular, as easy as for...

The problem is that the `overflow = "compress"` adjustment doesn't take into account the effective max bin count as calculated in `dot_heap()`. The right solution might be to optionally return...

Hmm I'm not sure this would solve the problem, as I think the two shapes lining up well also depends on the binwidth being about twice the bandwidth of the...