Probability and Statistics
Study Notes: Descriptive Statistics, Probability, and the Normal Distribution
Descriptive statistics and data interpretation
Descriptive statistics summarize and reveal patterns in data. They help describe a dataset before conclusions or decisions are made. Common tools include the mode, mean, median, standard deviation, coefficient of variation, histograms, and box plots.
Measures of center and spread
Mode: The value or values that occur most often. A dataset can have more than one mode.
Mean: The arithmetic average, found by adding the observations and dividing by their number.
Median: The middle value when observations are arranged in order. It is often used to compare typical performance because it is less affected by extreme observations than the mean.
Standard deviation: A measure of how dispersed observations are around the mean. A small standard deviation indicates that values cluster relatively closely; a large one indicates greater spread.
Coefficient of variation: A measure of spread relative to the mean, usually expressed as a percentage:
CV=meanstandard deviation×100%The coefficient of variation is useful when comparing variability across measurements with different means or scales. It is most meaningful when the data have a meaningful zero and the mean is nonzero.
Histograms
A histogram groups numerical observations into class intervals and displays how many observations fall in each interval.
The horizontal axis shows the class intervals.
The vertical axis shows frequency, or the number of observations in each interval.
The interval with the tallest bar has the greatest concentration of observations.
In the case study, the promotion-score histogram was reported to have its highest concentrations in the intervals from 50 to 60 and from 60 to 70.
Box plots, skewness, and outliers
A box plot summarizes a distribution using its median, quartiles, and whiskers. It can help compare groups by their centers and spreads and can identify potential outliers.
Skewness describes asymmetry in a distribution. A left-skewed distribution has a longer tail toward smaller values; a right-skewed distribution has a longer tail toward larger values.
Outliers are observations that lie unusually far from the rest of the data. A box plot marks them individually beyond the whiskers.
When comparing box plots, the median indicates the central value, while the box and whiskers give information about spread. A higher median indicates a higher typical score, but it does not necessarily indicate less variability.
In the case study, the work-score box plot was described as left-skewed, and the promotion-score box plot was reported to have two outliers on its lower-value side. The comparison of hospital types identified a median of 82 as the highest reported performance value and named the Veterans Administration group; the discussion also suggested that this median might be shared with the private group. The key interpretive point is to distinguish the group with the highest median from the group with the least spread.
Probability and uncertainty
Probability supports decision-making under uncertainty. Decisions are often necessary even when outcomes—such as future sales, prices, or events—cannot be known in advance.
A probability is a numerical measure of the likelihood of an event. It is a pure number between 0 and 1, inclusive:
0 represents an impossible event.
1 represents a certain event.
Values between 0 and 1 represent varying degrees of likelihood.
Probability can be expressed as a fraction, decimal, or percentage. For example, a probability of 0.5 is the same as 50%.
Events, experiments, and sample spaces
An experiment is a process that produces an observation or outcome, such as drawing a card or testing a manufactured item.
An outcome is one possible result of an experiment.
The sample space is the set of all possible outcomes.
An event is a specified outcome or collection of outcomes of interest.
When all outcomes are equally likely, the probability of an event can be calculated as:
This ratio applies directly when the possible outcomes are equally likely. In other settings, probability may instead be estimated from observed data or assigned using informed judgment.
Three ways of assigning probability
Classical (a priori) probability: Based on a known set of possible outcomes, often assumed to be equally likely. For example, each card in a well-shuffled deck has the same chance of being selected.
Empirical (relative-frequency) probability: Based on observed data or records. For example, a company may estimate the chance of a machine failure from the proportion of past operating days on which a failure occurred. An empirical estimate can change as additional observations become available.
Subjective probability: Based on informed judgment, expertise, or opinion when sufficient relevant data are unavailable. Expert estimates can provide a starting point, but experts may be affected by incomplete information or bias.
A probability based initially on judgment can be revised when new evidence becomes available. Such updating is the central idea of Bayesian analysis.
Combining events
Complements
The complement of an event A, written Ac, consists of all outcomes in which A does not occur. Since either A occurs or it does not:
For example, if 36 people in a group of 70 do not drink alcohol, the number who do drink is 70−36=34.
Mutually exclusive events
Two events are mutually exclusive if they cannot occur at the same time. For example, a single card drawn from a deck cannot be both a king and a queen.
For mutually exclusive events A and B:
Events that can overlap
If two events can occur together, adding their probabilities counts the shared outcomes twice. The overlap must therefore be subtracted once:
Here, A∪B means that A occurs, B occurs, or both occur; A∩B means that both occur.
Card examples
A standard deck has 52 cards, including 4 kings and 4 queens. Since a card cannot be both a king and a queen:
A deck also has 13 diamonds, including one king of diamonds. Therefore:
The one king of diamonds is subtracted because it belongs to both events.
Independent events
Events A and B are independent when the occurrence of one does not change the probability of the other. For independent events:
Independence is an assumption that must be justified; probabilities should not automatically be multiplied merely because two events are being considered.
Conditional probability and contingency tables
A conditional probability is the probability of an event given that another event has occurred. The condition restricts attention to a smaller population: the outcomes in the conditioning event.
The probability of B given A is:
provided that P(A)>0. The numerator counts outcomes in which both events occur, while the denominator counts all outcomes in which the condition A occurs.
A useful way to reason about several related attributes is to create a contingency table. Rows and columns represent categories, and each cell records the count or probability for a particular combination. Row totals and column totals are marginal totals.
A joint probability concerns the simultaneous occurrence of attributes.
A marginal probability concerns one attribute regardless of the category of another attribute.
A conditional probability concerns one attribute within the restricted group specified by another.
The table-based approach is a practical way to keep track of overlaps and avoid double-counting.
Example: drinking and smoking
Suppose a group contains 37 men and 33 women, for 70 people total. Of these, 36 are teetotalers, meaning they do not drink alcohol. Thus, the number who drink is:
Among the drinkers, 13 men and 7 women drink but do not smoke. Therefore, the number who both drink and smoke is:
The probability that a randomly selected person both drinks and smokes is:
Information about people who smoke but do not drink can be useful for completing a full table, but it is not needed for this calculation. The important step is to subtract the drinkers who do not smoke from the total number of drinkers.
Example: single people and college degrees
Suppose a population has 600 people, of whom 100 are single and 400 have college degrees. If 60 are both single and college graduates, the number who are single or college graduates is:
The overlap is subtracted once because it was included in both group counts. Therefore:
This is an application of the union rule for events that can overlap.
Example: sales and interest rates
Suppose the probability that sales increase is 0.25, the probability that interest rates increase is 0.74, and the probability that sales or interest rates increase is 0.89. Then:
The union rule is rearranged to find the probability of the overlap.
Bayes’ theorem and updating probability
Bayes’ theorem calculates the probability of a possible cause or state after evidence has been observed. It reverses a conditional probability: evidence may be described as likely under a particular state, while the question asks how likely that state is given the evidence.
For events A and B:
When the evidence B can occur under either A or its complement Ac, the denominator can be expanded:
Prior probability: The probability assigned to a state before observing the new evidence.
Likelihood: The probability of observing the evidence if that state is true.
Posterior probability: The revised probability of the state after taking the evidence into account.
Example: defective products from two machines
Suppose a new machine produces 75% of all items and has a defect rate of 8%. An older machine produces the remaining 25% and has a defect rate of 23%. If a randomly chosen item is found to be defective, the probability that it came from the new machine is:
Thus, approximately 51.1% of the defective items are expected to come from the new machine. Although the new machine has the lower defect rate, it produces many more items, so its share of all defective items is not negligible. This example shows why the overall production proportions must be included when interpreting test or defect evidence.
Example: an oil test
Suppose the prior probability that a well will be successful is 0.40, while the probability of failure is 0.60. A detailed test is positive for 60% of successful wells and for 20% of unsuccessful wells.
The probability of a successful well with a positive test is:
The probability of an unsuccessful well with a positive test is:
Therefore, the probability of success given a positive detailed test is:
The test raises the estimated chance of success from the prior value of 40% to a posterior value of about 66.7%. Whether obtaining the test is worthwhile depends on the costs of testing and the value of the improved decision.
The normal distribution
The normal distribution is a continuous, bell-shaped probability distribution used to model many measurements and natural variations. Examples include weights, lengths, and other quantities that can take fractional values.
A normal distribution is determined by two parameters:
The mean μ, which locates its center.
The standard deviation σ, which determines its spread.
For a normal distribution:
The distribution is symmetric about its mean. Values equally far above and below the mean have matching positions in the distribution.
The empirical rule
For an approximately normal distribution:
About 68% of observations lie within one standard deviation of the mean.
About 95% lie within two standard deviations.
About 99.7% lie within three standard deviations.
In symbolic form, these intervals are approximately:
The percentages are approximations that follow from the shape of the normal distribution.
Tails and the density curve
The normal curve’s tails extend indefinitely in both directions and approach, but do not touch, the horizontal axis. This is an asymptotic property. In principle, the curve assigns some probability to values far from the mean, although that probability may be extremely small.
The height of the normal curve at a point is a probability density, not the probability of observing exactly that value. For a continuous variable, probability is represented by the area under the curve over an interval:
A single exact point has zero area, so for a continuous variable:
The normal density function is:
Standardizing with a z-score
A normal variable can be converted to the standard normal distribution, which has mean 0 and standard deviation 1. The conversion is:
A z-score tells how many standard deviations a value lies above or below the mean. This transformation changes the scale and origin but preserves the probability areas. Once a value has been converted to a z-score, standard normal probabilities can be found from a table or a statistical tool.
Normal-distribution calculations
Consider package weights that follow a normal distribution with mean 0.295 kg and standard deviation 0.025 kg:
A useful first step is to sketch the curve and mark the relevant value or interval. This helps determine which area is being requested, particularly for probabilities in the right tail or between two values.
Probability of weighing less than 0.280 kg
Standardizing gives:
The probability is the cumulative area to the left of this value:
About 27.43% of packages are expected to weigh less than 0.280 kg.
Probability of weighing more than 0.350 kg
The standardized value is:
A cumulative normal function gives the area to the left, so the right-tail probability is found by subtracting from 1:
About 1.39% of packages are expected to weigh more than 0.350 kg.
Probability of weighing between 0.260 and 0.340 kg
The standardized endpoints are:
The probability between the endpoints is the difference between the two cumulative areas:
About 88.33% of packages are expected to fall in this interval.
Finding a weight exceeded by 80% of packages
If 80% of packages exceed a weight x, then 20% are at or below it:
The standard normal value for a cumulative probability of 0.20 is approximately z=−0.8416. Therefore:
The weight is approximately 0.274 kg, or 274 grams. About 80% of packages weigh more than this value.
Using software for normal probabilities
A cumulative normal distribution function returns the probability to the left of a specified value.
For a left-tail probability, use the cumulative probability directly.
For a right-tail probability, calculate 1 minus the cumulative probability.
For a probability between two values, subtract the lower cumulative probability from the higher one.
An inverse normal function finds the value associated with a specified cumulative probability.
For example, spreadsheet software commonly provides normal-distribution and inverse-normal functions. A cumulative option must be selected when the required result is an area or probability; a density value alone is not a probability.

Ask anything
We've read this whole study set, so questions about it get the best answers.