Unit+8+NoteTakers

📚 Unit+8+NoteTakers.pdf

Brief overview

This document outlines fundamental statistical concepts for data analysis. It covers measures of central tendency, data variation, and methods for hypothesis testing, crucial for understanding and interpreting data sets. The material is essential for making informed decisions based on probability and statistical inference.

Key points

  • Overview of measures of central tendency and variation, including the impact of outliers.
  • Understanding data collection, populations, samples, and study designs.
  • Introduction to hypothesis testing and sampling distributions, including Z-tests.
  • Explanation of binomial and normal distributions for probability estimation.
  • Analyzing decisions using expected value and probability concepts.

1. Measures of central tendency and variation

1.1 Central tendency measures

  • Mean: the sum of all values divided by the number of values.
  • Median: the middle value in an ordered data set. If there are two middle values, it's their average.
  • Mode: the value that appears most frequently in the data set.

A dataset can have one mode, multiple modes, or no mode.

  • Weighted average: the mean calculated using the frequency of each data value. This is used when some values are more important or occur more often.
  • Expected value: the average of all possible outcomes, weighted by their probabilities. It's often used in probability and statistics.

Mean, median, and mode describe the "center" of data.

MeasureDescriptionExample Data Set: {3, 0, 2, 0, 1, 2, 4}
MeanSum of values / Number of values(3+0+2+0+1+2+4)/7=12/7≈1.71(3+0+2+0+1+2+4) / 7 = 12 / 7 \approx 1.71
MedianMiddle value when ordered: {0, 0, 1, 2, 2, 3, 4}22
ModeMost frequent value(s)00 and 22

1.2 Data spread and variation

  • Box-and-whisker plot: a graph showing data spread using five key points: minimum, maximum, median, first quartile (Q1), and third quartile (Q3).
  • Quartiles (Q1, Q3): the medians of the lower and upper halves of the data set. The median itself is excluded from these halves if the total count is odd.
  • Interquartile Range (IQR): the difference between Q3 and Q1 (Q3−Q1Q3 - Q1). It shows the spread of the middle 50% of the data.

A smaller IQR means the middle data points are closer together.

  • Variance (σ2\sigma^2): the average of the squared differences of each data point from the mean. It measures how spread out the data is.
  • Standard deviation (σ\sigma): the square root of the variance. It's a common measure of data dispersion around the mean.

A high standard deviation means data points are spread far from the mean.

Standard deviation helps understand typical data scatter.

MeasureFormulaExample Data Set: {6, 9, 8, 5}
Mean∑xn\frac{\sum x}{n}(6+9+8+5)/4=28/4=7(6+9+8+5)/4 = 28/4 = 7
Variance (σ2\sigma^2)∑(x−mean)2n\frac{\sum (x - \text{mean})^2}{n}(6−7)2+(9−7)2+(8−7)2+(5−7)24=1+4+1+44=10/4=2.5\frac{(6-7)^2+(9-7)^2+(8-7)^2+(5-7)^2}{4} = \frac{1+4+1+4}{4} = 10/4 = 2.5
Standard Deviation (σ\sigma)Variance\sqrt{\text{Variance}}2.5≈1.58\sqrt{2.5} \approx 1.58
  • Outlier: an extreme value that is significantly higher or lower than most other data points. Outliers can greatly affect the mean and standard deviation.

Outliers pull the mean and standard deviation towards them.

ScenarioImpact on MeanImpact on Standard Deviation
Low outlier (e.g., score of 50)Decreases the meanIncreases the standard deviation
High outlier (not in example)Increases the meanIncreases the standard deviation

1.3 Data gathering methods

  • Population: the entire group you want to study.
  • Census: collecting data from every member of a population.
  • Sample: a smaller part of the population surveyed.

A sample should represent the population to give accurate insights.

  • Random sample: every population member has an equal chance of being chosen. This helps avoid bias.

  • Biased sample: a non-random sample where some population members are more likely to be selected. This can lead to misleading results.

  • Underrepresented: parts of the population are left out of the sample.

  • Overrepresented: parts of the population are emphasized too much in the sample.

  • Statistic: a number describing a sample.

  • Parameter: a number describing a population.

Sample statistics are used to estimate population parameters.

Sampling Method TypeDescriptionPotential for BiasExplanation
Grocery store surveyAsking residents at a grocery store about a beverage tax.Likely BiasedPeople at grocery stores may have different views on taxes than the general population.
Assembly surveyAsking students in an assembly about their commute.Less BiasedAn assembly usually includes most students, providing a broad representation.
Online news surveyAsking readers of an online news site to survey about newspaper subscriptions.Likely BiasedReaders of an online news site likely have different media habits than the general population.
Car lot surveySurveying people who visit a car dealership about buying a car.Likely BiasedThese people are already at a car lot, so they are more likely to buy a car than the general public.
Restaurant surveySurveying families who eat at a specific restaurant on a Tuesday night.Likely BiasedFamilies eating at the restaurant are more likely to dine out than families in the general population.

If a sample of 18 out of 40 employees are unhappy, and the company has 180 employees, predict unhappy employees: Proportion unhappy = 18/4018/40. Predicted unhappy = (18/40)∗180=0.45∗180=81(18/40) * 180 = 0.45 * 180 = 81 employees.

If 11 of 25 calls were emergencies, predict emergencies out of 175 calls: Proportion emergencies = 11/2511/25. Predicted emergencies = (11/25)∗175=0.44∗175=77(11/25) * 175 = 0.44 * 175 = 77 calls.

1.4 Types of studies

  • Experiment: researchers actively manipulate a variable (treatment) to observe its effect.
  • Observational study: researchers observe and measure variables without intervening. They watch what happens naturally.

Experiments show cause and effect; observational studies show association.

  • Controlled experiment: compares a treatment group (receives the treatment) with a control group (does not receive the treatment).
  • Randomized comparative experiment: participants are randomly assigned to groups to minimize bias.

Random assignment is key to a fair comparison.

SituationStudy TypeExplanation
Soil additive for fern growth: Grow one fern in treated soil, one in untreated.ExperimentThe researcher imposes the treatment (soil additive) on one fern.
Car accidents and rainy days: Record weather during 50 randomly selected accidents.Observational StudyThe researcher observes the weather conditions during accidents but doesn't cause the rain or accidents.
Nest height and egg count: Measure nest height and count eggs to see a relationship.Observational StudyThe scientist measures existing variables but doesn't change the nests or the number of eggs.
Arthritis sufferers and Epsom salt: 100 sufferers, 50 got Epsom salt baths, 50 did not. Compared symptom decrease.Randomized Comp. Exp.Treatment: Epsom salt baths.
Treatment Group: 50 subjects who used Epsom salt.
Control Group: 50 subjects who did not use Epsom salt.
(Implied random assignment to groups for comparison).
Website redesign: 96 users split into two groups. One used old site, one used new site for purchase. Compared time to complete.Randomized Comp. Exp.Treatment: Using the new website.
Treatment Group: Users of the new website.
Control Group: Users of the old website.
(Participants were randomly divided).
Tanning beds and skin disease: Does tanning bed use affect skin disease likelihood?Observational StudyAn experiment would require asking people to use tanning beds, which is unethical. Observing people who already use them or choose not to is safer.
Vitamin C and cholesterol: Do vitamin C consumers have lower cholesterol than non-consumers?Observational StudyAsking people about their supplement intake and measuring their cholesterol is observational. An experiment would require randomly assigning people to take or not take Vitamin C, which might raise ethical concerns or be hard to control long-term.
Soy and cholesterol: Compare cholesterol levels of people eating soy vs. those who don't.Observational StudyResearchers observe existing dietary habits and measure cholesterol. A true experiment would involve forcing groups to eat or not eat soy, which is impractical and potentially unethical.
Soy and cholesterol: Randomly assign people to eat soy vs. not eat soy, then monitor cholesterol.ExperimentThis method involves direct intervention (assigning diets), making it an experiment. It's the most reliable for establishing cause.
Exercise and health: Compare health of people exercising regularly vs. those who don't.Observational StudyResearchers observe people's existing exercise habits. Experimentally forcing people into exercise regimens has ethical and practical limitations for long-term studies.
Exercise and health: Randomly assign people to exercise for 3 hours/week vs. another activity, then monitor health.ExperimentDirect assignment to exercise levels makes this an experiment. This allows for a clearer understanding of exercise's direct impact on health.
Soy and cholesterol (Method B): Randomly ask 100 people about soy intake and cholesterol levels.SurveyThis is a survey as it collects information through questions about past behavior and status. It's less reliable than an experiment because it relies on self-reporting and doesn't control variables.
Soy and cholesterol (Method C): Randomly assign 50 people to eat soy, 50 not to eat soy, and monitor cholesterol.ExperimentDirectly assigning diets makes this an experiment. This is the most reliable method for determining if soy causes changes in cholesterol because it controls other factors.
Exercise and health (Method B): Randomly ask 100 people about exercise and health status.SurveyThis method uses surveys to gather self-reported data. It's prone to recall bias and doesn't establish causation.
Exercise and health (Method C): Randomly assign 50 people to exercise, 50 to another activity, and monitor health.ExperimentThis is an experiment because participants are assigned to groups. It is the most reliable for showing if exercise causes health changes.
Soy and cholesterol (Method A): Choose 50 people who eat soy and 50 who don't, and check their cholesterol.Observational StudyThis selects existing groups based on a characteristic (soy intake). It's observational because the researcher doesn't assign the soy intake. It's more reliable than a survey but less than an experiment because groups might differ in other ways.
Exercise and health (Method A): Choose 50 people who exercise regularly and 50 who don't, and monitor their health.Observational StudyThis selects people based on their current exercise habits. It's observational, meaning it can show an association between exercise and health but not definitively prove causation.

🔑 Important: Experiments are generally more reliable than observational studies or surveys for determining cause-and-effect relationships because they control variables.

2. Hypothesis testing and sampling distributions

2.1 Hypothesis testing

  • Hypothesis testing: a method to check if a difference between two groups is likely due to chance.
  • Null hypothesis: states there is no real difference between the groups being studied.

📝 Example: A researcher wants to know if a new drug lowers blood pressure. The null hypothesis would be that the drug has no effect on blood pressure.

2.1.1 Using a Z-test

  • A Z-test helps compare a sample mean to a population mean.

  • The formula for a Z-value is: Z=xˉ−μσnZ = \frac{\bar{x} - \mu}{\frac{\sigma}{\sqrt{n}}} Where:

    • xˉ\bar{x} is the sample mean.
    • μ\mu is the population mean.
    • σ\sigma is the population standard deviation.
    • nn is the sample size.
  • If the absolute Z-value is greater than 1.96, we reject the null hypothesis with 95% certainty.

  • If the absolute Z-value is less than 1.96, there's not enough evidence to reject the null hypothesis.

🔑 Important: The Z-test helps decide if observed differences are statistically significant or just random variation.

📝 Example: A company claims its product increases average scores to 2000. A sample of 49 students scored 1910 with a standard deviation of 150. The Z-value would be calculated to see if this sample result is far enough from 2000 to reject the company's claim.

2.2 Sampling distributions

  • Sampling distributions help us understand how sample statistics (like the mean) vary.

2.2.1 Types of samples

  • Simple random sample: Every member has an equal chance of being chosen.
  • Systematic sample: Members are selected following a pattern, like picking every tenth person.
  • Stratified sample: The population is split into groups, and then random samples are taken from each group.
  • Cluster sample: The population is divided into groups, a few groups are randomly chosen, and everyone in those chosen groups is surveyed.
  • Convenience sample: Members are picked because they are easy to reach.
  • Self-selected sample: Members choose to participate by volunteering.

> Probability Sample: Nonzero chance for every member.

2.2.2 Evaluating sampling methods

Here's a comparison of different sampling methods:

MethodDescriptionAccuracy
Simple RandomEqual chance for all.High
SystematicPatterned selection (e.g., every 5th person).Medium
StratifiedRandom selection within defined groups.High
ClusterRandomly select groups, survey all in those groups.Medium to Low
ConvenienceEasy to access individuals.Low
Self-SelectedVolunteers.Very Low
Asking for opinionsIndividuals choose to share.Very Low
  • Probability samples ensure every member has a chance to be picked. Simple random, stratified, and cluster samples are probability samples.
  • The most accurate methods typically give every member an equal chance or represent subgroups well.
  • The least accurate methods often rely on ease of access or voluntary participation, leading to bias.

📝 Example: Surveying every 50th voter (systematic) is generally better than asking people at a campaign rally (self-selected/convenience) for unbiased opinions.

2.2.3 Margin of error

  • Margin of error: An interval around a sample percentage where the true population percentage is likely to be.
  • It indicates the potential difference between sample results and the population.

📝 Example: If a survey shows 42% for Poe with a ±7% margin of error, Poe's support could be anywhere from 35% to 49%. If Nagel has 58% with the same margin, her support is between 51% and 65%. This outcome is clear because the intervals don't overlap.

🔑 Important: A smaller margin of error means the sample results are closer to the true population values.

2.3 Binomial distributions

  • A binomial experiment involves a fixed number of independent trials (nn).
  • Each trial has only two outcomes: a "success" or a "failure."
  • The probability of success (pp) is the same for every trial.
  • The probability of failure is q=1−pq = 1 - p.

2.3.1 Expanding binomials

  • The Binomial Theorem helps expand expressions like (x+y)n(x+y)^n.
  • It uses combinations, where the order of items does not matter. The formula for combinations is: nCr=n!r!(n−r)!^nC_r = \frac{n!}{r!(n-r)!}

📝 Example: To expand (b+a)5(b+a)^5, you would use the Binomial Theorem, summing terms based on combinations and powers of aa and bb.

2.3.2 Finding binomial probabilities

  • The binomial probability of getting exactly rr successes in nn trials is: P(exactly r successes)=nCr⋅pr⋅qn−rP(\text{exactly } r \text{ successes}) = ^nC_r \cdot p^r \cdot q^{n-r}

📝 Example: If Jean makes half her free throws (p=0.5p=0.5) and tries 3 (n=3n=3), the probability of making exactly 1 (r=1r=1) is calculated using the formula.

🔑 Important: Use this formula when you have a fixed number of independent trials, each with two outcomes and a constant probability of success.

2.4 Normal distributions

  • The normal distribution is a bell-shaped curve that is common in nature.
  • It is defined by its mean (μ\mu) and standard deviation (σ\sigma).

2.4.1 Using standard normal values

  • We use standard normal values (Z-scores) to find probabilities for normal distributions.
  • A Z-score tells you how many standard deviations a value is from the mean.

📝 Example: If test scores have a mean of 160 and a standard deviation of 12, a score of 148 is 2 standard deviations below the mean (Z=(148−160)/12=−2Z = (148 - 160) / 12 = -2). You can then use Z-tables to find the probability of scoring below 148.

🔑 Important: The normal distribution is symmetric, with 50% of values below the mean and 50% above.

2.4.2 Determining if data is normally distributed

  • To check if data fits a normal distribution, compare sample statistics to theoretical properties.
  • Look at the mean and standard deviation. The empirical rule (68-95-99.7 rule) states that for normal data:
    • About 68% of data falls within 1 standard deviation of the mean.
    • About 95% falls within 2 standard deviations.
    • About 99.7% falls within 3 standard deviations.

📝 Example: If snake lengths have a mean of 34.1 inches and a standard deviation of 10.5 inches, you can see how many lengths fall within 1, 2, or 3 standard deviations of the mean to judge if it's normally distributed.

🔑 Important: Real-world data rarely perfectly matches a normal distribution, but we look for general patterns to see if it's a good approximation.

🔑 Important: Hypothesis testing uses sampling distributions to decide if observed results are likely due to chance or a real effect, while normal and binomial distributions model different types of data patterns and probabilities.

3. Analyzing decisions with expected value

3.1 Understanding expected value

  • Expected value (EV): This is the average outcome you can expect from a probability experiment. It's a weighted average of all possible numerical results.
  • The sum of probabilities for all possible outcomes in an experiment must equal 1. For events A, B, C, and D, this means P(A)+P(B)+P(C)+P(D)=1P(A) + P(B) + P(C) + P(D) = 1.

3.2 Calculating expected value

  • Expected value formula: To find the expected value, you multiply each possible outcome by its probability and then add all those results together. E(X)=∑i=1nxiP(xi)E(X) = \sum_{i=1}^{n} x_i P(x_i) Where xix_i is the outcome and P(xi)P(x_i) is its probability.

📝 Example: A number cube has sides labeled 1, 1, 3, 3, 9, 9.

  • The possible outcomes are 1, 3, and 9.
  • The probability of rolling a 1 is 26\frac{2}{6}.
  • The probability of rolling a 3 is 26\frac{2}{6}.
  • The probability of rolling a 9 is 26\frac{2}{6}.
  • Expected value: (26×1)+(26×3)+(26×9)=26+66+186=266≈4.33(\frac{2}{6} \times 1) + (\frac{2}{6} \times 3) + (\frac{2}{6} \times 9) = \frac{2}{6} + \frac{6}{6} + \frac{18}{6} = \frac{26}{6} \approx 4.33.

3.3 Using expected value in decisions

  • Decision-making: Expected value helps you choose the option that is likely to give you the best average outcome over time. This is useful for scenarios with uncertain results.

3.3.1 Travel route choices

📝 Example: Sam chooses between two mountain climbing routes.

RouteBase Time (hours)Ice Time (hours)Ice ProbabilityExpected Time (hours)
Southern2420%(0.8×2)+(0.2×4)=1.6+0.8=2.4(0.8 \times 2) + (0.2 \times 4) = 1.6 + 0.8 = 2.4
Eastern2.5340%(0.6×2.5)+(0.4×3)=1.5+1.2=2.7(0.6 \times 2.5) + (0.4 \times 3) = 1.5 + 1.2 = 2.7

Sam should take the southern route because its expected time (2.4 hours) is less than the eastern route's (2.7 hours).

📝 Example: Jack chooses a work commute route.

RouteBase Time (minutes)Accident/Jam Time (minutes)Delay ProbabilityExpected Time (minutes)
A162540%(0.6×16)+(0.4×25)=9.6+10=19.6(0.6 \times 16) + (0.4 \times 25) = 9.6 + 10 = 19.6
B104020%(0.8×10)+(0.2×40)=8+8=16.0(0.8 \times 10) + (0.2 \times 40) = 8 + 8 = 16.0
C203210%(0.9×20)+(0.1×32)=18+3.2=21.2(0.9 \times 20) + (0.1 \times 32) = 18 + 3.2 = 21.2

Jack should choose Route B, as it has the lowest expected travel time (16.0 minutes).

3.3.2 College applications

📝 Example: Mikayla wants to know which college offers the best chance of both acceptance and financial aid.

CollegeAcceptance ProbabilityFinancial Aid ProbabilityCombined Probability
Alpha0.90.70.9×0.7=0.630.9 \times 0.7 = 0.63
Beta0.80.80.8×0.8=0.640.8 \times 0.8 = 0.64
Gamma0.70.90.7×0.9=0.630.7 \times 0.9 = 0.63

Mikayla is most likely to be accepted and receive financial aid from College Beta (64% chance).

3.4 The Monty Hall Problem

🔑 Important: The Monty Hall Problem is a classic probability puzzle that often defies intuition.

The Setup:

  • You choose one of three doors.
  • Two doors have goats, one has a prize.
  • The host (who knows what's behind each door) opens a DIFFERENT door that reveals a goat.
  • You are then offered the chance to switch your original choice to the other unopened door.

The Decision: You should always switch doors.

Why Switch?

  • Initially, your chosen door has a 13\frac{1}{3} chance of having the prize. This means the other two doors combined have a 23\frac{2}{3} chance.
  • When the host opens a goat door from the remaining two, he is concentrating that 23\frac{2}{3} probability onto the single remaining unopened door.
  • Sticking with your original choice keeps your 13\frac{1}{3} chance, while switching gives you the higher 23\frac{2}{3} chance.

🔑 Important: Analyzing decisions with expected value requires carefully identifying all possible outcomes and their associated probabilities to make informed choices.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also