Skip to content

plotting time-series-based posterior samples #2075

Answered by OriolAbril
skaur42 asked this question in Q&A
Discussion options

You must be logged in to vote

If I understand correctly, this is already possible (but tricky and needs way more documentation!). ArviZ has some "full blown figures" but it also builds on top of xarray which already supports some plotting capabilities. Moreover, we recently released xarray-einstats which allows to easily generate histograms over a subset of the data dimensions.

I took a similar model (I think) I had at hand, the one from this blog post I wrote recently. The model and posterior sampling use cmdstanpy, but after that we get an InferenceData, so it doesn't matter anymore which was the PPL used, once you get an InferenceData you should be able to use all the same.

I updated the last plot of the "Simple HM…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by skaur42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants