Prerequisites
Probability densities, Bayes' theorem, Bernoulli sampling, and integration.
Learn first
Percent means out of one hundred
A percent compares an amount with one hundred equal parts. The % symbol means percent. A change amount is different from the final amount after the change.
How to work it out To find p% of an amount, multiply by p/100. For a percent increase, add the increase to the original only if the question asks for the new total.
A separate example In a separate example, 15% of 60 is 0.15 × 60 = 9. An increase of 9 would make a new total of 69.
Mass, volume, and density
Mass measures an amount of matter. Volume measures occupied space. Density is mass divided by volume, using matching units.
How to work it out Use density = mass/volume. Rearrange to mass = density × volume or volume = mass/density when needed.
A separate example A separate sample of mass 18 grams and volume 6 cubic centimeters has density 3 grams per cubic centimeter.
Probability compares possible outcomes
Probability describes chance under a stated model. Equally likely outcomes can be counted as favorable outcomes divided by all possible outcomes. Conditional probability uses only cases meeting the condition.
How to work it out State the sample space. Check whether items are replaced before a second draw and whether order matters. Without replacement, later counts can change.
A separate example In a separate bag with 2 gold and 5 silver tokens, the chance of gold on one random draw is 2/7. The second-draw model depends on whether the first token is put back.
Data, averages, and uncertainty
Data are recorded observations. The mean is the sum divided by the count. The median is the middle value after sorting. A sample describes only the observations collected.
How to work it out Identify the measure asked for. Sort before finding a median. Keep the denominator and sampling method in view when comparing proportions.
A separate example For the separate data 2, 4, 9, the mean is 15 ÷ 3 = 5, while the median is 4. Different measures can give different summaries.
Multiply the prior density by the likelihood and normalize. For a Beta(a,b) prior and s successes in n independent Bernoulli trials with one fixed probability p, the posterior is Beta(a+s,b+n-s). Inference remains conditional on these assumptions.
Worked example
With a Beta(1,1) prior and two successes in three trials, the posterior is Beta(3,2), whose mean is 3/5. This is a distribution for p, not a guarantee about the next five outcomes.
Model and Assumptions
Use an invented sample of eight successes and two failures. Prior p ~ Beta(2,2). Assume independent, identically distributed Bernoulli trials. A Beta(a,b) mean is a/(a+b).
Further inquiry
Derive the posterior kernel and predictive probability. Repeat with Beta(1,1) and Beta(20,20). Explain why the resulting spread is not a full uncertainty assessment if trials are dependent.
Review criteria
- Track success and failure exponents in the likelihood.
- Calculate predictive means for all three priors.
- Separate prior sensitivity from misspecification of the likelihood.