Originally posted by **jonathonmellor** August 11, 2023
Hi Gavin,
Really appreciate the work in this package - hoping to move our code to using it as much as possible.
Would it be possible to document (or happy to raise a PR if it's explained here) how `gratia::posterior_samples` behaves with predictions from models using an offset?
I'm unclear on whether the offset is ignored, or whether the offset is used to convert back to, for example, counts, before sampling from the error distribution?
Add a note to
?posterior_samples
etc to indicate how offset terms in GAMs are handled.Discussed in https://github.com/gavinsimpson/gratia/discussions/231