I think the answers in this topic will help: Sampling from prior distributions of a hierarchical model
2 Likes
I think the answers in this topic will help: Sampling from prior distributions of a hierarchical model