There&#x27;s no need to introduce any special new concepts. It&#x27;s simply a hierarchical graphical model. You have one variable which stands for p (distributed according to some prior, like a Beta distribution perhaps), and you have another (perhaps multiple), Bernoulli distributed variable whose parameter comes from the first variable and represents the actual coin value that you get.<p>If you do multiple coin flips, you have more of these Bernoulli variables but they all share a common parameter p.<p>One such example model is the Beta-Bernoulli process: <a href="http:&#x2F;&#x2F;www.math.uah.edu&#x2F;stat&#x2F;bernoulli&#x2F;BetaBernoulli.html" rel="nofollow">http:&#x2F;&#x2F;www.math.uah.edu&#x2F;stat&#x2F;bernoulli&#x2F;BetaBernoulli.html</a>