Correct syntax for chainscat and chainsstack
astro-kevin opened this issue · 3 comments
I'm not sure what's the correct syntax for the functions chainscat
and chainsstack
. I tried calling chainscat(a,b)
and chainsstack([a,b])
and both return an error. (As an aside, is the only difference between the two one takes chains as arguments and one takes a vector of chains?) In my test code, both a and b are MCMCChains
objects.
Here is the error: ERROR: ArgumentError: chain ranges differ
. I think that's because of the burn in which is discarded. However, I'm just not really understanding how this works because the object which it returns when it does work (when I'm stacking any except the first chain), it returns an object with multiple chains, rather than one long chain as I expect. Are the stats presented on the multiple chains equivalent to the one with very many samples?
For this it might be more helpful if you posted the whole script you're using, or, even better, a minimum working example -- is that something you're able to do?