<- c(0.3, 0.4, 0.5, 0.6, 0.7) # Probability of heads cointypes
4. On Bayes’ Theorem
So to assign equal probabilities to two events is not in any way an assertion that they must occur equally often in any random experiment […], it is only a formal way of saying I don’t know (Jaynes, 1986).
Only portrait Thomas Bayes. But probably not him.
sample(c(0, 1), 1, prob=c(0.5, 0.5))
sample(c(0, 1), 1, prob=c(0.4, 0.6))
sample(c(0, 1), 1, prob=c(0.6, 0.4))
sample(c(0, 1), 1, prob=c(0.3, 0.7))
sample(c(0, 1), 1, prob=c(0.7, 0.3))
Thank you!