The prior
Suppose we have two different region vectors (you can see the resulting spinners on the right!):
# Regions for Spinner A
regA <- c(1, 2, 3)
# Regions for Spinner B
regB <- c(3, 2, 1)
Imagine you have a box which contains many different spinners, some of which look like Spinner A, and some like Spinner B. In this case, a prior will be represented as (Probability of Spinner A, Probability of Spinner B).
If you get a friend to choose a spinner at random, which of the following will be a reasonable prior for Spinner A and Spinner B?
This exercise is part of the course
Beginning Bayes in R
Exercise instructions
(0.45, 0.55),(0.25, 0.75),(1, 0),(0, 1),(0.5, 0.5)
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
