
Please draw your own subjective distributions for the following events/items.

Bayesian Estimation1
Grayson White
Math 141
Week 14 | Fall 2025





Assert a model (i.e., state the null hypothesis)
Decide on a test statistic
Construct the null distribution
See where your observed stat lies in that distribution

\[N_{pairs} = 9\]

\[N_{pairs} = 9; \quad N_{singles} = 5\]
We’ll use simulation.
Create the population of socks:
[1] "H" "J" "B" "F" "H" "n" "m" "C" "A" "D" "A"

Quantifying how far into the tails our observed count was.
What is the best definition for our one-tailed p-value in probability notation?
What is the best definition for our one-tailed p-value in probability notation?
The result of a hypothesis test is a probability of the form:
\[ P(\textrm{data or more extreme } | \ H_o \textrm{ true}) \]
but most people think they’re getting
\[ P(H_o \textrm{ true } | \textrm{ data}) \]
How can we go from the former to the latter?


\[P(A \ | \ B) = \frac{P(A \textrm{ and } B)}{P(B)} \]
\[P(A \ | \ B) = \frac{P(B \ | \ A) \ P(A)}{P(B)} \]
\[P(model \ | \ data) = \frac{P(data \ | \ model) \ P(model)}{P(data)} \]
What does it mean to think about \(P(model)\)?
Please draw your own subjective distributions for the following events/items.
A prior distribution is a probability distribution for a parameter that summarizes the information that you have before seeing the data. Prior on \(N\):









singletons pairs n_socks prop_pairs
1 5 3 18 0.826
2 11 0 53 0.715
3 9 1 27 0.973
4 7 2 35 0.724
5 9 1 31 0.869
6 9 1 33 0.758
singletons pairs n_socks prop_pairs
1 11 0 53 0.715
2 11 0 41 0.885
3 11 0 53 0.957
4 11 0 37 0.773
5 11 0 45 0.880
6 11 0 51 0.754




Question
What is your best guess for the number of socks that Karl has?


\[ 21 \times 2 + 3 = 45 \textrm{ socks} \]
Bayesian methods . . .
