I dont think you can do it using sample_ppc, as AR
and AR1
does not have a random method.
You will have to write a generative function, and index to the posterior samples (as trace point
) to generate ppc.
I dont think you can do it using sample_ppc, as AR
and AR1
does not have a random method.
You will have to write a generative function, and index to the posterior samples (as trace point
) to generate ppc.