Random Samples and Parameter Inference
From an IID sample to parameter inference
A random sample connects observations to a population model. Its observations are IID when they are independent and share the same distribution, possibly indexed by an unknown population parameter. The model then describes how plausible different observed samples are under candidate parameter values.
From observations to a joint model
For an ordered sample X1,…,Xn, independence makes the joint mass or density the product of the individual masses or densities. Each factor corresponds to one observation, including a failure as well as a success in a Bernoulli sample.
If the question instead asks for a count regardless of order, add the probabilities of all distinct orders with that count.
Before observing the sample, a statistic such as the sample mean varies from sample to sample. For IID observations with finite mean μ and variance σ2, its expectation is μ and its variance is σ2/n. This sampling distribution describes the estimator's variation; a single observation still has variance σ2.
Likelihood and possible data
Once the data are fixed, view the joint mass or density as a function of the unknown parameter: this is the likelihood. A model's support specifies which observations can occur for each parameter value.
If a proposed value makes even one observed value impossible, its likelihood is zero, regardless of the algebraic product outside the allowed support.
Worked example
Suppose three independent Bernoulli observations have success probability p=0.4 and occur in the order 1,0,0. The probability of that specified order is 0.4(0.6)2=0.144. If the event is instead exactly one success in any order, there are three distinct placements of that success, each with probability 0.144, giving 3(0.144)=0.432. The parameter p stays fixed in either calculation; the event being measured changes.
Five IID Bernoulli trials each have success probability 0.3. What is the probability of exactly two successes, without regard to their positions?
Mark Yourself Question
- Grab a piece of paper and try this problem yourself.
- When you're done, check the "I have answered this question" box below.
- View the solution and report whether you got it right or wrong.
Let X1, X2, X3 be IID Uniform(0, θ), with θ > 0. The observed sample is 1.2, 2.4, 1.8 in the same units as θ. Write the likelihood as a function of θ, including where it is zero.