Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recycle transformations in mcmc_intervals #64

Closed
tklebel opened this issue Jan 12, 2017 · 4 comments
Closed

Recycle transformations in mcmc_intervals #64

tklebel opened this issue Jan 12, 2017 · 4 comments
Assignees
Labels

Comments

@tklebel
Copy link

tklebel commented Jan 12, 2017

I was trying out the new stan_betareg and plotted my coefficients with mcmc_intervals.

I'd like to be able to apply a single transformation (e.g. arm::invlogit) to all parameters. It would be great if one could do:

mcmc_intervals(fit, regex_pars = "search_for_coefs_here",
               transformations = arm::invlogit)

without the need of putting together a named list.

@jgabry jgabry added the feature label Jan 12, 2017
@jgabry
Copy link
Member

jgabry commented Jan 12, 2017

Good timing! I was just thinking the other day that allowing a single transformation to be specified for all plotted parameters would sometimes be convenient. I already have code for this locally. I'll put it up on a branch and get a PR ready.

@jgabry
Copy link
Member

jgabry commented Jan 12, 2017

@tklebel If you install from the new recycle-transformations branch does it work for you?

@jgabry jgabry self-assigned this Jan 12, 2017
@tklebel
Copy link
Author

tklebel commented Jan 12, 2017

@jgabry yes, works as expected!

@jgabry
Copy link
Member

jgabry commented Jan 12, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants