stan-dev / example-models

Example models for Stan
http://mc-stan.org/
766 stars 478 forks source link

Add JSON data files #226

Closed WardBrian closed 5 months ago

WardBrian commented 5 months ago

This was done using cmdstanr::write_stan_json(rstan::read_rdump(file_R), file_json). The primary goal is to allow us to use these files in the cmdstan performance tests to avoid warnings about RDump, but they also serve as paired examples of the two data formats.

mitzimorris commented 5 months ago

the method seems sound. did you run the performance tests using the JSON data?

WardBrian commented 5 months ago

I just ran them locally. They don't use all the models here (really only the ones in bugs_examples/ and regression_tests/), but seem just as happy with the new files as the old