On this page0% through guide
Probability, Random Variables, and Probability Distributions
Probability models describe uncertainty before a sample or outcome is observed.
What you’ll learn
- Use conditional probability and distinguish independence from disjointness.
- Calculate and interpret random-variable summaries.
- Model binomial outcomes and sampling distributions.
Before you begin
A probability lies between 0 and 1. A sample space lists possible outcomes; an event is a collection of outcomes. Complements, intersections, and unions describe different combinations of events.
Explain these starting ideas in your own words. Revisit them whenever a later step feels unclear.
Define the event and reference group
A probability lies between zero and one and describes a long-run pattern or a specified model of uncertainty. A complement contains outcomes not in the event. The addition rule subtracts overlap because outcomes in both events would otherwise be counted twice.
Conditional probability changes the reference group to outcomes satisfying the condition. In a two-way table, use the appropriate row or column total, not automatically the grand total. A high probability of a positive test among people with a condition does not imply a high probability of the condition among people with a positive test.
Independence and disjointness are different
Independent events satisfy P(A|B) = P(A) when the condition is defined, or P(A ∩ B) = P(A)P(B). Knowing that one occurred does not change the probability of the other. Disjoint events cannot occur together. Two disjoint events with positive probabilities are not independent because one occurring rules out the other.
For a sequence of dependent events, multiply appropriate conditional probabilities. Sampling without replacement changes the composition of the remaining population. A sufficiently small sample relative to a large population can sometimes justify an approximate independence condition for later inference.
Simulations must imitate the chance mechanism
A simulation assigns outcomes to random numbers in proportions matching the model, repeats the process defining one trial, records the requested statistic, and repeats many trials. State how a random outcome is generated and what is counted as a success.
More repetitions reduce Monte Carlo variability but do not correct a simulation that models the wrong process. If sampling is without replacement, a simulation with independent repeated draws can be inappropriate unless the approximation is justified. A simulation estimate is not guaranteed to equal the theoretical probability exactly.
A random variable assigns numbers to outcomes
A discrete random variable has a countable set of possible values with probabilities summing to one. Its expected value is a probability-weighted average, not necessarily a possible individual outcome. Standard deviation describes variability around that mean in the variable’s units.
For a continuous model, probabilities correspond to intervals; a single exact point has probability zero even though that value is possible. Distinguish the distribution of individual observations from the sampling distribution of a statistic calculated from repeated samples.
PAUSE & TRY IT
Can an expected count be a noninteger?
Reveal answer
Yes. It is a long-run weighted average, not a required outcome of one trial.
Check all binomial conditions
A binomial model counts successes in a fixed number of trials with two outcome categories, independent trials, and a constant success probability. Define success before calculating. A count measured until some stopping condition is reached is not the fixed-trial binomial setup.
For X ~ Binomial(n,p), the mean is np and standard deviation is √[np(1 − p)]. Exact probabilities use the number of ways to choose successful trials times the probability of a particular success/failure sequence. Use cumulative probability carefully: “at least k” includes k, while “more than k” does not.
Read figure values as text
Binomial(4, 0.5): 0: 0.0625; 1: 0.25; 2: 0.375; 3: 0.25; 4: 0.0625
PAUSE & TRY IT
Why must a binomial model have constant p?
Reveal answer
Its probability and variability formulas assume each trial has the same success probability.
Sampling distributions describe repeated statistics
The sampling distribution of a sample proportion is centered at p under random sampling, with standard deviation √[] under independence. The sample mean is centered at μ, with standard deviation . These distributions concern repeated sample results, not individual people or measurements.
A central-limit approximation can make the sampling distribution of a mean approximately normal as sample size grows under suitable conditions. Severe skew, extreme tails, and dependence require care. Multiplying sample size by four halves the standard error; doubling sample size does not halve it.
PAUSE & TRY IT
How does quadrupling n affect ?
Reveal answer
It halves the standard error if the model assumptions hold.
Translate words into conditional probability
“Among students who attended” defines a restricted denominator: only attendees belong in the reference group. P(A given B) divides the probability of both A and B by the probability of B. Reversing the condition changes the denominator and usually changes the answer. A positive screening result among people with a condition is not the same probability as having the condition among people with positive results.
A two-way table makes the denominator visible. For a conditional probability, divide the relevant intersection count by the total of the specified conditioning group. For a joint probability, divide by the overall total. Test independence by comparing a conditional probability with its unconditional counterpart, allowing for rounding when values are estimated.
PAUSE & TRY IT
A mean has standard error 12 at n=25. What is it at n=100 under the same population model?
Reveal answer
6, because sample size quadruples and the square-root denominator doubles.
Check a probability model before calculating
For a discrete random variable, list numerical values and their probabilities. All probabilities must be nonnegative and sum to 1. The expected value is a weighted average, interpreted as a long-run mean over many repetitions; it does not have to be a possible individual outcome. Standard deviation measures the typical distance of outcomes from that mean, in the random variable’s units.
A binomial model requires a fixed number of trials, two outcomes per trial, independent trials, and the same success probability each time. When sampling without replacement, independence is approximate if the sample is at most 10% of the population. Identify what counts as success before using a calculator; “at least” includes the boundary value.
PAUSE & TRY IT
Does independence mean two events cannot occur together?
Reveal answer
No. That describes mutually exclusive events. Independence means knowing one occurred does not change the probability of the other.
Connect a sampling distribution to repeated samples
A sampling distribution describes a statistic across repeated samples of the same size, not the individual observations in one sample. The population distribution, the distribution of sample data, and the sampling distribution of a statistic are three distinct objects. A sample mean can have an approximately Normal sampling distribution even when the original population is not Normal, provided sample size and other conditions are appropriate.
Larger samples reduce standard error. For independent observations, the standard deviation of a sample mean is population standard deviation divided by the square root of sample size. Quadrupling the sample size halves that quantity; doubling the sample size does not. Random sampling centers the sample mean at the population mean, but no individual sample is guaranteed to land there.
Read figure values as text
SE: 25: 0.1; 32.8125: 0.08728715609439695; 40.625: 0.07844645405527362; 48.4375: 0.07184212081070997; 56.25: 0.06666666666666667; 64.0625: 0.062469504755442426; 71.875: 0.05897678246195885; 79.6875: 0.0560112033611204; 87.5: 0.05345224838248487; 95.3125: 0.05121475197315839; 103.125: 0.04923659639173309; 110.9375: 0.047471266327754134; 118.75: 0.04588314677411235; 126.5625: 0.044444444444444446; 134.375: 0.04313310928137536; 142.1875: 0.04193139346887673; 150: 0.040824829046386304; 157.8125: 0.03980148760839956; 165.625: 0.038851434494290564; 173.4375: 0.03796631983009996; 181.25: 0.037139067635410375; 189.0625: 0.03636363636363636; 196.875: 0.035634832254989916; 204.6875: 0.03494816226644152; 212.5: 0.03429971702850177; 220.3125: 0.033686076842660756; 228.125: 0.033104235544094716; 235.9375: 0.03255153835084638; 243.75: 0.03202563076101743; 251.5625: 0.03152441624956403; 259.375: 0.031046021028253316; 267.1875: 0.030588764516074902; 275: 0.030151134457776358; 282.8125: 0.02973176584988665; 290.625: 0.029329423004270657; 298.4375: 0.028942984211696866; 306.25: 0.02857142857142857; 314.0625: 0.02821382463434393; 321.875: 0.027869320571664705; 329.6875: 0.027537135632860567; 337.5: 0.027216552697590865; 345.3125: 0.0269069117598525; 353.125: 0.026607604209509573; 360.9375: 0.026318067798390757; 368.75: 0.026037782196164774; 376.5625: 0.025766265056033234; 384.375: 0.025503068522533534; 392.1875: 0.025247776123912127; 400: 0.025
Translate probability language into events
Define events before choosing a rule. “A or B” includes outcomes in either event, including their overlap; subtract the overlap when adding probabilities. “A given B” restricts the reference group to outcomes where B occurs. The denominator changes, so P(A|B) need not equal P(B|A).
Independence means learning that one event occurred does not change the probability of the other. Disjoint events cannot occur together. Two events with positive probabilities that are disjoint are not independent: knowing one occurred makes the other impossible. Use the mathematical relationship rather than deciding from ordinary-language impressions.
A tree or two-way table can make conditional probabilities clearer. Label each branch with the probability appropriate to its preceding condition. Multiply along a path for a joint probability, then add mutually exclusive paths for a combined event. A simulation must reproduce the relevant probabilities and independence assumptions to model the situation.
Check a random-variable model before calculating
A probability distribution lists possible values and associated probabilities, which must be nonnegative and total one. Expected value is a probability-weighted long-run average, not necessarily a possible single outcome. Standard deviation measures spread around that mean in the original variable’s units.
A binomial count requires a fixed number of trials, two outcome categories per trial, a common success probability, and suitable independence. Sampling without replacement changes probabilities; the 10% condition is a common approximation check when sampling from a finite population. Define “success” and the count X before using a calculator command.
For exactly k successes, use the binomial probability at k; for at most k, sum from zero through k. “More than k” excludes k. Sketch the included integers before entering a cumulative calculation. The binomial mean np and standard deviation √(np(1−p)) summarize the count, not the sample proportion.
Distinguish data distributions from sampling distributions
A population distribution describes individual values; a sample distribution describes observed individual values; a sampling distribution describes a statistic across repeated samples of a fixed size. Increasing sample size narrows the sampling distribution of a mean or proportion under appropriate conditions. It does not necessarily make the population itself less variable.
For a sample proportion, the center is p and standard deviation is √() under independence. A normal approximation needs enough expected successes and failures. For a sample mean, the center is μ and standard deviation is . The central limit theorem concerns the sampling distribution of the mean, not a claim that raw data become normal.
To cut standard error in half, multiply sample size by four. This square-root relationship explains why precision improves more slowly than sample size. A biased collection method can remain centered away from the target even as this distribution becomes narrower.
PAUSE & TRY IT
If sample size rises from 100 to 400, what happens to standard error under the same model?
Reveal answer
It is halved because standard error is proportional to . This does not fix selection bias.
FROM IDEA TO APPLICATION
Worked examples
Reverse the conditional carefully
In 1,000 people, 100 have a condition. A test is positive for 90 of those 100 and for 45 of the 900 without it. Find the probability of the condition given a positive test.
Reveal worked solution
- Total positive tests = 90 + 45 = 135.
- Among positive tests, 90 people have the condition.
- = .
About 66.7%, not the 90% probability of a positive test given the condition.
A binomial count
Each independently selected component has probability 0.10 of a defect. Among 20 components, find the mean defect count and probability of no defects.
Reveal worked solution
- Mean = np = 20(0.10) = 2.
- No defects means all 20 are nondefective.
- P(X = 0) = 0.9020 ≈ 0.1216.
Expected count 2; probability of zero defects about 0.122.
Read the denominator
Of 200 students, 80 attended a workshop. Of the attendees, 60 passed an assessment. Of the 120 nonattendees, 72 passed. Calculate P(pass given attended) and P(attended given pass).
Reveal worked solution
- Restrict the first denominator to 80 attendees: .
- There are 60+72=132 students who passed.
- Restrict the second denominator to those 132 students: .
0.75 and approximately 0.455. The same intersection count appears over different denominators.
Conditional probability from a table
Among 80 students using a study plan, 60 pass. Among 120 without it, 72 pass. Find P(plan | pass).
Reveal worked solution
- There are 60 + 72 = 132 passing students.
- Of these, 60 used the plan.
- The conditional probability is ≈ 0.455.
About 45.5% of passing students used the plan; this differs from P(pass | plan)=.
MAKE THE DISTINCTION
Common mistakes, clearer reasoning
The trapDisjoint events must be independent.
The better explanationNonzero-probability disjoint events are dependent because one rules out the other.
The trapA sampling distribution is the histogram of one sample’s raw observations.
The better explanationIt describes a statistic across repeated samples of the same design and size.
RETRIEVE BEFORE YOU REVEAL
Practice checkpoints
Revisit the quick checks from this guide without looking back. Explain why, then reveal the answer.
1. Can an expected count be a noninteger?
Reveal answer
Yes. It is a long-run weighted average, not a required outcome of one trial.
2. How does quadrupling n affect ?
Reveal answer
It halves the standard error if the model assumptions hold.
3. Why must a binomial model have constant p?
Reveal answer
Its probability and variability formulas assume each trial has the same success probability.
4. A mean has standard error 12 at n=25. What is it at n=100 under the same population model?
Reveal answer
6, because sample size quadruples and the square-root denominator doubles.
5. Does independence mean two events cannot occur together?
Reveal answer
No. That describes mutually exclusive events. Independence means knowing one occurred does not change the probability of the other.
6. If sample size rises from 100 to 400, what happens to standard error under the same model?
Reveal answer
It is halved because standard error is proportional to . This does not fix selection bias.
Key language
- Conditional probability
- Probability within a specified condition or subgroup.
- Independence
- A relationship in which one event does not change the probability of another.
- Expected value
- A probability-weighted mean.
- Standard error
- The standard deviation, or estimated standard deviation, of a statistic’s sampling distribution.
Sampling distributions provide the reference models for confidence intervals and significance tests.