Quantcast
Channel: How to extract stan code from rstanarm object - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Ben Goodrich for How to extract stan code from rstanarm object

You can executelibrary(rstanarm)example(example_model)rstan::get_stanmodel(example_model$stanfit)to see the Stan code or look at it on GitHub. However, it was not intended to be read by humans and is...

View Article



How to extract stan code from rstanarm object

Is there a possibility to extract the stan code used for the MCMC sampling in rstanarm? I would like to compare my own parametrisation of a model and prior choices to the one used in rstanarm.

View Article
Browsing all 2 articles
Browse latest View live




Latest Images