bayesplot icon indicating copy to clipboard operation
bayesplot copied to clipboard

copy/move `rhat()` and `neff_ratio()` to rstan(arm)?

Open strengejacke opened this issue 6 years ago • 3 comments

I was looking for functions to extract rhat and the ratio for number of effective samples, and found those in the brms-package for brmsfit-objects, but not in rstan or rstanarm for stanreg-objects (where I would expect those functions to be).

Instead, I later realized that these are in the bayesplot-pkg. Wouldn't it make more sense to have the functions (also) in rstan/rstanarm as well?

strengejacke avatar Sep 27 '17 13:09 strengejacke

@jgabry would the generics go in rstantools and the S3 methods go into rstan and rstanarm? I'm not sure about the stanverse organization in this regard.

tjmahr avatar Sep 27 '17 14:09 tjmahr

Circling back through old issues. Yes I think having these as rstantools generics makes the most sense. I’ll open an issue for it over there.

Sent with GitHawk

jgabry avatar Apr 22 '18 04:04 jgabry

https://github.com/stan-dev/rstantools/issues/31

Sent with GitHawk

jgabry avatar Apr 22 '18 04:04 jgabry

I think these are now in posterior. Maybe this issue can be closed?

avehtari avatar Jan 15 '24 12:01 avehtari

Yes, I think so, too.

strengejacke avatar Jan 16 '24 20:01 strengejacke