Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 552 Bytes

README.md

File metadata and controls

7 lines (4 loc) · 552 Bytes

Bayesian Inference

The present repository contains a simple educational exercise on Bayesian inference. The problem is formulated as follows:


We perform a number of experiments of biased coin tosses. During the $i$-th experiment, the coin is tossed $N_i$ times. At each toss, the coin comes up a head with probability $p$, and a tail with probability $1-p$, independently of prior tosses. Let $X_i$ be the number of heads in the $N_i$-toss sequence. We want to estimate the biased $p$ after each experiment (which consists of $N_i$ tosses).