StanJulia / StanSample.jl

WIP: Wrapper package for the sample method in Stan's cmdstan executable.
MIT License
18 stars 4 forks source link

Contribute some convergence diagnostic tools #37

Closed roualdes closed 3 years ago

roualdes commented 3 years ago

Too long ago now, we spoke on Julia's Discourse channel, where I offered up Julia versions for many of the CmdStan tools.

You can find my code here. I'm happy to help contribute these to the StanSample package, if you are still interested.

As I see it, agreement on the API, which I admittedly did not spend much time thinking about, and formal testing could be some good first steps.

I'm happy to help add these tools, even if the beginning of the semester has set me back a bit. Let me know how you'd prefer we proceed, logistically. For instance, just thinking out loud, I'd appreciate it if you would set up a branch with some simple tests that I could expand on. I could work on fork, after you help get me started. Or, whatever you think is best.

goedman commented 3 years ago

Hi Edward,

Absolutely, I'll send you an invite to the StanJulia set of repositories so you can create a branch (or I could do it for you).

Just let me know what will help you get going. Probably the easiest way to start is take a couple of the slightly more complicated models and connect the functions in your code base so we can almost directly compare between your code and calling stan_summary(model, true).

Does that make sense?

roualdes commented 3 years ago

Yes, that makes sense. I've looked through some of the tests you've got already, and it all looks pretty self-explanatory. Now I just need to find the time to get to this. Thanks in advance for your patience.

goedman commented 3 years ago

I think I close this issue for now. There is a new package, MCMCDiagnosticTools.jl that might help here. Thanks for your interest.