Probability Statistics

Cover

Binomial_Distribution.pptx

1. Introduction to probability distributions and random variables

This section introduces probability distributions as theoretical models for expected variations in experimental outcomes and defines random variables as unpredictable variables linked to random experiments.

1.1 Probability distributions and random variables

A probability distribution, also known as a theoretical distribution, quantifies how the outcomes of an experiment are expected to vary. These distributions are derived from theoretical considerations and are instrumental in making inferences and decisions under uncertainty. The variable whose values depend on the outcomes of a random experiment is called a random variable. A random variable can assume different values unpredictably as the experiment's outcome changes.

1.2 Types of random variables

Random variables are broadly classified into two types:

  • Discrete random variables: These variables can only assume a finite or countably infinite number of distinct values. For instance, the number of cakes sold by a bakery in a day is a discrete random variable, as the demand can only take specific whole number values.
  • Continuous random variables: These variables can assume any value within a given range. Examples include measurements such as the heights of adults, the time taken by customers at a bank, the prices of shares, and the time taken by workers to assemble a component.

1.3 Standard probability distributions

Several standard probability distributions serve as theoretical models that often align with observed frequency patterns in real-world data. These distributions are characterized by a probability distribution function (pdf) that allows for the calculation of the probability of specific outcomes. The document focuses on three key distributions:

  • Binomial distribution: Deals with discrete random variables.
  • Poisson distribution: Deals with discrete random variables.
  • Normal distribution: Deals with continuous random variables.

Note: The Binomial and Poisson distributions are used for scenarios involving discrete outcomes, while the Normal distribution is employed for continuous measurements.

1.4 Binomial distribution overview

The binomial distribution, developed by James Bernoulli around 1700, is a fundamental model for discrete probability. It describes the number of successes in a fixed number of independent Bernoulli trials. A Bernoulli trial is an experiment with only two possible outcomes: success or failure.

Example: Consider a coin toss experiment. If "getting a head" is defined as a success, then each toss is a Bernoulli trial. If the coin is tossed multiple times independently, the number of heads obtained follows a binomial distribution.

The document also presents numerous practice problems that illustrate the application of the binomial distribution in various contexts, such as calculating probabilities of specific outcomes in dice rolls, coin tosses, and drawing balls from an urn. It also includes problems that involve inferring the distribution's parameters (like nn and pp) from its mean and variance.

Important: When working with binomial distribution problems, it's crucial to identify the number of trials (nn), the probability of success on a single trial (pp), and whether the trials are independent. The context of the problem will dictate these parameters.

2. Problem-solving with binomial distribution examples

This section focuses on applying the binomial distribution to solve practical problems, including determining parameters from mean and variance, and identifying statistical fallacies.

2.1 Application of binomial distribution in practical scenarios

The binomial distribution is a fundamental probability distribution used to model the number of successes in a fixed number of independent Bernoulli trials. Each trial has only two possible outcomes, typically labeled "success" and "failure," and the probability of success remains constant for each trial. This section presents various examples illustrating its application.

2.1.1 Dice throws and target hits

  • Example 1: Dice throws and total of 9 A pair of dice is thrown 6 times. If getting a total of 9 is considered a success, the probability of getting at least 5 successes is calculated.

    • Analysis: This scenario involves repeated independent trials (each throw of the dice), with a defined success outcome (getting a total of 9). The number of trials is n=6n=6. To determine the probability of success (pp) for a single trial, we consider the possible outcomes when rolling two dice. There are 6×6=366 \times 6 = 36 total possible outcomes. The combinations that sum to 9 are (3,6), (4,5), (5,4), and (6,3), so there are 4 successful outcomes. Thus, p=436=19p = \frac{4}{36} = \frac{1}{9}. The problem then requires calculating P(X≥5)P(X \ge 5), where XX is the number of successes.
  • Example 2: Target hits If

Cover

boostersessies.pdf

Inleiding tot statistisch onderzoek en ontwerp

Dit hoofdstuk introduceert de fundamentele concepten van statistisch onderzoek, waarbij de focus ligt op het definiëren van populaties en steekproeven, het ontwerpen van experimenten en de rol van beschrijvende statistiek en inferentie, met nadruk op representativiteit en steekproefgrootte 1 3.

1.1 Kernconcepten van statistisch onderzoek

Statistisch onderzoek begint met een onderzoeksvraag. Om deze vraag te beantwoorden, is het cruciaal om de populatie te definiëren, wat de groep is waar de interesse van de onderzoeksvraag naar uitgaat. Vervolgens wordt een steekproef getrokken uit deze populatie. Het ontwerp van het onderzoek, inclusief de manier waarop de steekproef wordt genomen en het experiment wordt opgezet, is essentieel voor het verkrijgen van betrouwbare antwoorden 1.

1.2 Populatie en steekproef

  • Populatie: De gehele groep waarover uitspraken gedaan worden in de onderzoeksvraag 1.
  • Steekproef: Een deelverzameling van de populatie die wordt gebruikt om informatie te verzamelen 1.

1.2.1 Representativiteit van de steekproef

Het is van het grootste belang dat de steekproef representatief is voor de populatie. Dit betekent dat de steekproef de kenmerken van de populatie zo goed mogelijk weerspiegelt 1.

  • Random sampling: Een methode om elementen willekeurig uit de populatie te selecteren, wat de kans vergroot dat elk element een gelijke kans heeft om in de steekproef te komen en de representativiteit bevordert 1.

1.2.2 De rol van steekproefgrootte

De steekproefgrootte heeft een significante impact op de betrouwbaarheid van de resultaten 3.

  • Een te kleine steekproef kan leiden tot te grote variabiliteit in de resultaten, waardoor conclusies minder betrouwbaar zijn 3.
  • Een grotere steekproef daarentegen levert meer informatie op, waardoor de variabiliteit kleiner is en de resultaten dichter bij de werkelijke waarden in de populatie liggen 3.

1.3 Experimenteel ontwerp

Het experimenteel ontwerp bepaalt hoe de data wordt verzameld en hoe variabelen worden gemanipuleerd om antwoorden te vinden op de onderzoeksvraag. Dit omvat het vastleggen van de analyseplannen voordat de data wordt verzameld 1.

1.3.1 Randomisatie

Randomisatie is een sleutelprincipe in experimenteel ontwerp om groepen vergelijkbaar te maken 3.

  • Simpele randomisatie: Elk individu wordt willekeurig toegewezen aan een behandelingsgroep. Dit kan leiden tot ongebalanceerde steekproeven, wat de nauwkeurigheid van methoden kan verminderen 3.
  • Gebalanceerde randomisatie: Garandeert gelijke groepsgroottes, bijvoorbeeld door individuen in paren te behandelen 3.
  • Gestratificeerde randomisatie: Gebruikt om de representativiteit te waarborgen voor specifieke subgroepen (strata) binnen de populatie, waarna binnen elke stratum willekeurig wordt toegewezen aan behandelingen 3.

1.3.2 Belang van controle

Een goede controle in experimenten is essentieel om het effect van een behandeling nauwkeurig te kunnen schatten. Zonder adequate controle kan het effect van de behandeling niet goed worden onderscheiden van andere factoren 3.

1.4 Beschrijvende statistiek en inferentie

  • Beschrijvende statistiek: Hierbij wordt gekeken naar hoe data wordt geëxploreerd en beschreven, bijvoorbeeld door het berekenen van samenvattende maten en het maken van grafieken. Dit helpt om de informatie in de steekproef op een goede manier samen te vatten. Grafische methoden zoals histogrammen en boxplots worden gebruikt om de distributie en spreiding van data te visualiseren 1 3.
  • Inferentie: Het proces waarbij conclusies over de populatie worden getrokken op basis van de resultaten uit de steekproef. Het is belangrijk te beseffen dat er altijd onzekerheid is bij inferentie, en statistiek kan op basis van data nooit iets definitief bewijzen 1.

1.4.1 Statistieken

Statistieken zijn formules die worden gebruikt om kenmerken te berekenen op basis van steekproefdata. Een voorbeeld is het steekproefgemiddelde (xˉ\bar{x}), berekend als xˉ=∑xin\bar{x} = \frac{\sum x_i}{n}. Statistieken zijn toevallig veranderlijk, wat betekent dat hun waarde kan variëren afhankelijk van de specifieke steekproef die wordt getrokken 3.

1.5 Confounding

Confounding treedt op wanneer het effect van een variabele wordt verward met het effect van een andere variabele. Een voorbeeld hiervan is de Salk-vaccinstudie, waarbij groepen kinderen uit verschillende klassen (3e, 2e, 1e graad) niet vergelijkbaar waren, wat leidde tot confounding 1.

Cover

BOUND REF.pdf

📚 BOUND REF.pdf

Brief overview

This document provides a foundational understanding of data analysis and statistical modeling. It covers essential concepts from data types and distributions to correlation and regression, equipping readers with the tools to interpret and analyze quantitative information.

Key points

  • Overview of data types and their distributions, including categorical and numerical variables.
  • Exploration of statistical rules and z-scores for understanding data spread and comparison.
  • Introduction to bivariate data analysis and visualization methods.
  • Detailed explanation of correlation coefficients and the coefficient of determination.
  • Application of linear regression for analyzing associations and making predictions.

1. Data types and distributions

1.1 Data types

  • Categorical variables: Represent qualities or characteristics. They group individuals into categories.
  • Numerical variables: Represent quantities that can be counted or measured.

1.1.1 Categorical variables

  • Nominal variables: Data values name the group. There is no inherent order.
  • Example: Sex (Male, Female).
  • Ordinal variables: Data values can group and order individuals.
  • Example: Fitness level (Low, Medium, High).

1.1.2 Numerical variables

  • Discrete variables: Represent quantities that are counted. Values are often whole numbers with nothing in between.
  • Question: "How many?"
  • Example: Number of mobile phones in a house.
  • Continuous variables: Represent quantities that are measured. Values can theoretically fall anywhere within a range.
  • Question: "How much?"
  • Example: Height of a person.

1.1.3 Numerical vs. categorical data

  • Arithmetic computations: Numerical data can be used for calculations; categorical data cannot.
  • Example: Calculating average weight is sensible; average house number is not.
  • Recording method: How data is recorded matters as much as the variable name.

1.2 Data displays

Data displays help visualize distributions and patterns.

Log scales are useful for data spread over many orders of magnitude 4.

1.3 Distributions

Distributions describe how data values are spread out.

  • Symmetric distributions: The data is evenly balanced around the center.
  • Positively skewed distributions: The tail of the distribution extends to the right (higher values).
  • Negatively skewed distributions: The tail of the distribution extends to the left (lower values).
  • Outliers: Values that lie far from other data points 6.

1.4 Summary statistics

Summary statistics describe the center and spread of a dataset.

  • For an even number of data values (nn), the median is the average of the two middle values 7.
  • The interquartile range is calculated as IQR=Q3−Q1IQR = Q3 - Q1 8.

1.4.1 Five number summary and box plots

  • Five number summary: Lists the minimum, Q1, median, Q3, and maximum values.

  • Box plot: A graphical display of the five number summary.

  • A box shows the middle 50% (from Q1 to Q3).

  • A line within the box shows the median.

  • Whiskers extend to the minimum and maximum values.

1.4.2 Identifying outliers

  • Outliers are values lying well away from other data.
  • Using the IQR, outliers fall outside the "fence values".

Fence values are Q1−1.5×IQRQ1 - 1.5 \times IQR and Q3+1.5×IQRQ3 + 1.5 \times IQR 9.

  • In a box plot, values beyond the upper or lower fence are considered possible outliers.

1.4.3 Choosing between mean and median

  • Symmetric distribution (no outliers): Mean or median can indicate the center.
  • Skewed distribution or outliers present: Median is a more appropriate measure of center.

1.4.4 Mean and standard deviation

  • The mean (average, xˉ\bar{x}) measures the center.
  • The standard deviation (ss) measures spread around the mean.

xˉ=∑xn\bar{x} = \frac{\sum x}{n}.

For symmetrical distributions, the mean and median are similar 10.

Cover

c34f46bc6d45f98183848a4a0aec290b.pdf

Table of contents

  1. Chapter 6 Review

1. Chapter 6 Review

1.1 Standard normal distribution probabilities

This section focuses on calculating probabilities using the standard normal distribution (Z-distribution). The standard normal distribution has a mean of 0 and a standard deviation of 1. Probabilities correspond to the area under the curve 1.

  • P (Z < c): This represents the probability that a standard normal random variable Z is less than a value c. It is the area under the standard normal curve to the left of c.
  • P (Z > c): This represents the probability that Z is greater than a value c. It is the area under the standard normal curve to the right of c.
  • P (a < Z < b): This represents the probability that Z is between values a and b. It is the area under the standard normal curve between a and b 1.

📝 To find P(Z < 1.42), you would look up 1.42 in a standard normal distribution table or use a calculator. This value represents the cumulative probability up to 1.42 1.

1.2 Finding critical values

Critical values are specific points on the standard normal distribution that correspond to a given probability. They are often used in hypothesis testing and confidence intervals 1.

  • Critical value c such that P(Z > c) = 0.0808: This means finding the Z-score where the area to its right is 0.0808. This is equivalent to finding the Z-score where the area to its left is 1 - 0.0808 = 0.9192.
  • Critical values ±z₀ that bound the middle 95%: This involves finding two Z-scores that leave 2.5% in each tail of the distribution, thus encompassing the central 95% of the data 1.

1.3 Equivalent probability expressions

Certain expressions involving probabilities of the standard normal distribution are mathematically equivalent. Understanding these equivalences can simplify calculations 1.

ExpressionEquivalent to
P(Z > c)1 - P(Z < c)
P(Z > c)P(Z < -c)
P(Z < c)1 - P(Z > c)
  • P(Z > c) is equivalent to 1 - P(Z < c) because the total area under the curve is 1.
  • P(Z > c) is also equivalent to P(Z < -c) due to the symmetry of the standard normal distribution around 0 1.

1.4 Normal distribution probabilities for a random variable X

When a random variable X is normally distributed with a specific mean (μ) and standard deviation (σ), probabilities can be found by converting X to a Z-score using the formula Z=X−μσZ = \frac{X - \mu}{\sigma} 1.

  • P(X < 62) where μ=68 and σ=4: First, calculate the Z-score: Z=62−684=−1.5Z = \frac{62 - 68}{4} = -1.5. Then find P(Z < -1.5).
  • P(90 < X < 120) where μ=100 and σ=15: Calculate Z-scores for both values: Z1=90−10015=−0.67Z_1 = \frac{90 - 100}{15} = -0.67 and Z2=120−10015=1.33Z_2 = \frac{120 - 100}{15} = 1.33. Then find P(-0.67 < Z < 1.33) 1.

📝 For a normal random variable X with μ=50 and σ=8, to find P(X < 60), you first calculate the Z-score: Z=60−508=1.25Z = \frac{60 - 50}{8} = 1.25. Then you find P(Z < 1.25) 1.

1.5 Percentiles of a normal distribution

A percentile is a value below which a certain percentage of observations fall. For a normal distribution, the k-th percentile is the value x0x_0 such that P(X < x0x_0) = k/100 1.

  • 80th percentile (x₀ such that P(X < x₀) = 0.80) where μ=50 and σ=8: Find the Z-score corresponding to a cumulative probability of 0.80. Then use the formula x0=μ+Zσx_0 = \mu + Z\sigma.
  • Value x₀ such that P(X > x₀) = 0.15 where μ=220 and σ=25: This means P(X < x₀) = 1 - 0.15 = 0.85. Find the Z-score for a cumulative probability of 0.85 and then calculate x0=μ+Zσx_0 = \mu + Z\sigma 1.

1.6 Probabilities for sample means

When dealing with sample means, the Central Limit Theorem states that the distribution of sample means will be approximately normal, regardless of the population distribution, if the sample size is large enough (typically n ≥ 30). The mean of the sampling distribution is the same as the population mean (μ), and the standard deviation of the sampling distribution (standard error) is σxˉ=σn\sigma_{\bar{x}} = \frac{\sigma}{\sqrt{n}} 2.

  • P(X > 78) for a sample of size n=36, with μ=75 and σ=12: The standard error is σxˉ=1236=2\sigma_{\bar{x}} = \frac{12}{\sqrt{36}} = 2. Calculate the Z-score for the sample mean: Z=78−752=1.5Z = \frac{78 - 75}{2} = 1.5. Then find P(Z >
Cover

Cambridge International AS A Level Mathematics Probability Statistics 1 Practice Book (Cambridge International) (Z-Library).pdf

📚 Cambridge International AS A Level Mathematics Probability Statistics 1 Practice Book (Cambridge International) (Z-Library).pdf

Brief overview

This practice book provides comprehensive coverage of the Probability and Statistics 1 syllabus. It focuses on developing skills in data representation, probability calculations, and understanding key statistical distributions. Mastering these concepts is crucial for success in statistical analysis and problem-solving.

Key points

  • Overview of data representation using diagrams and identifying data types.
  • Calculating and interpreting measures of central tendency and variation.
  • Understanding fundamental probability concepts, including conditional probability and permutations.
  • Exploring discrete random variables and probability distributions like binomial and geometric.
  • Applying the normal distribution to solve problems and approximate binomial probabilities.

1. Data representation basics

1.1 Types of data and discrete data representation

  • Qualitative data: Describes qualities or categories, like names or colors.
  • Quantitative data: Represents numerical values that can be measured or counted.
  • Discrete data: Can only take specific, separate values, usually whole numbers, like the number of cars or grapes.
  • Continuous data: Can take any value within a given range, like height or time.

Data boundaries define the precise limits for rounded measurements.

  • Lower boundary: The smallest value a measurement could have been.
  • Upper boundary: The largest value a measurement could have been.

For a value rounded to the nearest unit, the boundaries are value±0.5value \pm 0.5 units. For a value rounded to a certain decimal place, the boundaries are value±0.5×10−nvalue \pm 0.5 \times 10^{-n} where nn is the number of decimal places.

A stem-and-leaf diagram visually organizes data to show its distribution. It separates data into a "stem" (leading digits) and a "leaf" (the last digit).

  • The stem represents the tens, hundreds, or thousands place.
  • The leaf represents the units place.

A back-to-back stem-and-leaf diagram compares two sets of data side-by-side. It uses a common stem and has leaves extending in opposite directions for each dataset 6 7 8.

Key: 1|3 represents 13.

Key: 1|6|4 represents 61 for one dataset and 64 for another.

1.2 Representing continuous data with histograms

A histogram is used to display the frequency distribution of continuous data. It uses bars to represent data within specific intervals or "classes".

  • Class width: The difference between the upper and lower boundaries of a class interval.
  • Frequency density: Calculates the height of each bar in a histogram, especially important when class widths are unequal. It is found by dividing the frequency of a class by its class width. Frequency density=FrequencyClass width\text{Frequency density} = \frac{\text{Frequency}}{\text{Class width}}

The area of each bar in a histogram is proportional to the frequency of the data within that class interval.

  • For equal class widths, frequency density is the same as frequency.
  • For unequal class widths, frequency density must be calculated to ensure accurate visual representation.

Histograms visually show the shape and spread of continuous data.

Areas of bars in a histogram represent frequencies.

Unequal class widths

When dealing with unequal class widths in a histogram:

  • The frequency density is plotted on the vertical axis.
  • The class width determines the width of each bar.
  • The area of each bar represents the frequency, calculated as: Area = Frequency Density ×\times Class Width 9 10 11.

Area of a histogram bar = Frequency density ×\times Class width.

1.3 Cumulative frequency graphs

A cumulative frequency graph (also known as a cumulative frequency polygon or ogive) shows the total number of observations that fall below a certain value.

  • Cumulative frequency (cf)
Cover

Ch01 (1).pdf

Table of contents

  1. Chapter 1 Introduction
  2. Summation notation
  3. TI-84
  4. Minitab
  5. Excel

1. Chapter 1 Introduction

1.1 What is statistics?

Statistics is the science dedicated to the collection, analysis, presentation, and interpretation of data. It also encompasses making decisions based on these analyses 3.

1.2 Types of statistics

Statistics can be broadly categorized into two main types: descriptive and inferential. These types differ in their primary goals and methodologies 4 7.

TypeDescription
Descriptive StatisticsMethods for organizing, displaying, and describing data using tables, graphs, and summary measures.
Inferential StatisticsMethods that use sample results to help make decisions or predictions about a population.

📝 Descriptive statistics uses tables, graphs, and summary measures to organize and display data, while inferential statistics uses sample results to make decisions or predictions about a population 4, 7.

1.3 Population versus sample

Understanding the distinction between a population and a sample is fundamental in statistics. A population represents the entire group of interest, while a sample is a subset drawn from that group 8.

TermDefinition
PopulationAll elements (individuals, items, or objects) whose characteristics are being studied. Also called the target population.
SampleA portion of the population selected for study.
  • Census: A survey that includes every member of the population.
  • Sample survey: The technique of collecting information from a portion of the population 10.
  • Representative sample: A sample that accurately reflects the characteristics of the population 11.
  • Random sample: A sample where each element of the population has a chance of being selected.
  • Simple random sampling: A method where all samples of the same size have an equal chance of being selected 12.
  • Sampling with replacement: An element is returned to the population after selection, allowing it to be chosen again.
  • Sampling without replacement: A selected element is not returned to the population, so it cannot be chosen again 13.

1.4 Basic terms

Several key terms are essential for understanding statistical concepts. These terms define the fundamental components and characteristics involved in data collection and analysis 14.

  • Element: An individual member of a sample or population, such as a person, firm, or item 14.
  • Variable: A characteristic under study that can take on different values for different elements.
  • Constant: A value that remains fixed and does not change 15.
  • Observation (or measurement): The specific value of a variable for a particular element.
  • Data set: A collection of observations for one or more variables 16.

1.5 Types of variables

Variables in statistics are classified based on the nature of the data they represent. This classification helps in determining the appropriate analytical methods 18.

Variable TypeSubtypeDescription
Quantitative VariableDiscrete VariableA variable whose values are countable and can only assume specific values with no intermediate values.
Quantitative VariableContinuous VariableA variable that can assume any numerical value within a given interval or intervals.
Qualitative or Categorical Variable—A variable that cannot be measured numerically but can be classified into two or more nonnumeric categories.

1.6 Cross-section versus time-series data

Data can be collected and organized in different ways, leading to distinct types of data structures. The distinction between cross-section and time-series data depends on the temporal aspect of the collection 24.

Data TypeDescription
Cross-Section DataData collected on different elements at the same point in time or for the same period.
Time-Series DataData collected on the same element for the same variable at different points in time or for different periods.

1.7 Sources of data

Data used in statistical analysis can originate from various sources. Identifying the source is important for understanding potential biases and the scope of the data 29.

  • Internal Sources: Data generated within an organization.
  • External Sources: Data obtained from outside an organization.
  • Surveys and Experiments: Data collected through planned investigations 29.

2. Summation notation

2.1 Introduction to summation notation

Summation notation provides a concise way to represent the sum of a series of numbers. This is particularly useful in statistics for summarizing data sets.

When dealing with a sample

Cover

Ch02 (4).pdf

Table of contents

  1. Organizing and graphing data
  2. Organizing and graphing quantitative
  3. Shapes of histograms
  4. Cumulative frequency distributions
  5. Stem-and-leaf displays
  6. Dotplots
  7. TI-84
  8. Minitab
  9. Excel

1. Organizing and graphing data

1.1 Raw data

Raw data are recorded in the sequence they are collected and before any processing or ranking occurs 3.

1.2 Frequency distributions

A frequency distribution for a qualitative variable lists all categories and the number of elements belonging to each category 8.

📝 A frequency distribution table for favorite donut varieties shows: Glazed (10), Filled (8), Other (7), Plain (3), and Frosted (2) 11.

1.3 Example 2-1: Favorite donut variety 11

A sample of 30 individuals who frequently consume donuts were surveyed about their favorite variety. The responses were collected as raw data 9.

To organize this data, a frequency distribution table is constructed, listing each donut variety and the count of individuals who prefer it 11.

Favorite Donut VarietyFrequency
Glazed10
Filled8
Other7
Plain3
Frosted2

1.4 Relative frequency and percentage distributions

Relative frequency is calculated by dividing the frequency of a category by the total number of observations. The percentage is then found by multiplying the relative frequency by 100% 12 13.

1.5 Example 2-2: Relative frequency and percentage of donut variety 15

Using the data from the favorite donut variety survey, the relative frequency and percentage for each category are determined 14.

Favorite Donut VarietyFrequencyRelative FrequencyPercentage
Glazed100.33333.3%
Filled80.26726.7%
Other70.23323.3%
Plain30.10010.0%
Frosted20.0676.7%

📝 For favorite donut varieties, Glazed has a relative frequency of 0.333 and a percentage of 33.3% 15.

1.6 Graphical presentation of qualitative data

A bar graph uses bars whose heights represent the frequencies of respective categories 17.

1.7 Bar graph for donut variety

The frequency distribution of favorite donut varieties can be visually represented using a bar graph, where each bar corresponds to a donut type and its height indicates the number of people who prefer it 18.

1.8 Pie chart for donut variety

A pie chart is a circle divided into portions representing the relative frequencies or percentages of different categories. To construct a pie chart, the angle size for each sector is calculated by multiplying its percentage by 360 degrees 20 21.

Favorite Donut VarietyPercentageAngle Size (degrees)
Glazed33.3%120
Filled26.7%96
Other23.3%84
Plain10.0%36
Frosted6.7%24

The pie chart visually displays the proportion of preferences for each donut variety, with larger slices representing categories with higher percentages 22.

2. Organizing and graphing quantitative

2.1 Frequency distributions

A frequency distribution organizes quantitative data by listing each class and the number of data points falling into that class. This organized data is referred to as grouped data.

The class boundary is determined by the midpoint between the upper limit of one class and the lower limit of the next class. The class width is calculated as the difference between the upper and lower boundaries.

The class midpoint, or mark, is the average of the class limits 25 26 27 28.

  • Frequency distribution: A table that lists classes and the count of data values within each class.
  • Grouped data: Data that has been organized into a frequency distribution 25.
  • Class boundary: The midpoint between the upper limit of one class and the lower limit of the next class 26.
  • Class width: The difference between the upper and lower boundaries of a class 27.
  • Class midpoint: The average of the lower and upper limits of a class 28.

2.2 Constructing frequency distribution tables

To construct a frequency distribution table, one must first determine the class width. This involves finding the range of the data (maximum value minus minimum value) and dividing it by the desired number of classes, then rounding up to a convenient number.

The lower limit of the first class can be chosen, and subsequent classes are formed by adding the determined class width 29 32.

Cover

Ch03 (2).pdf

Table of contents

  1. Chapter 3 Numerical Descriptive Measures
  2. Measures of Dispersion for Ungrouped Data
  3. Population Parameters and Sample Statistics
  4. Mean, Variance and Standard Deviation for Grouped Data
  5. Use of Standard Deviation
  6. Measures of Position
  7. Box-and-Whisker Plot
  8. TI-84
  9. Minitab
  10. Excel

1. Chapter 3 Numerical Descriptive Measures

1.1 Measures of central tendency for ungrouped data

Measures of central tendency describe the center of a data set. For ungrouped data, the most common measures are the mean, median, and mode.

Each provides a different perspective on the typical value within the data 3.

1.2 Mean

The mean is calculated by summing all values in a data set and dividing by the total number of values. It is sensitive to extreme values, known as outliers 5.

  • Population mean (μ\mu): Calculated for an entire population. μ=∑NN\mu = \frac{\sum N}{N}.
  • Sample mean (xˉ\bar{x}): Calculated for a sample from a population. xˉ=∑nn\bar{x} = \frac{\sum n}{n} 5.

1.3 📝 Example

The cash donations (in millions of dollars) by eight U.S. companies in 2010 were: 100, 125, 200, 225, 250, 275, 1500, 187.5. To find the mean donation, sum these values and divide by 8. The sum is 3162.5. The mean is 3162.58=395.3125\frac{3162.5}{8} = 395.3125 million dollars 6 7 8.

1.4 📝 Example

The ages of eight employees in a small company are 53, 32, 61, 27, 39, 44, 49, and 57 years. The sum of these ages is 362. The population mean age is 3628=45.25\frac{362}{8} = 45.25 years 9 10.

1.5 📝 Example

Consider the number of homes foreclosed in seven states in 2010: 173, 175, 49,723, 20,352, 10,824, 40,911, 18,038, and 61,848. If California's 173,175 foreclosures are excluded, the mean of the remaining six states is 10,824+18,038+20,352+40,911+49,723+61,8486=201,7966≈33,632.67\frac{10,824 + 18,038 + 20,352 + 40,911 + 49,723 + 61,848}{6} = \frac{201,796}{6} \approx 33,632.67. Including California, the mean of all seven states is 201,796+173,1757=374,9717≈53,567.29\frac{201,796 + 173,175}{7} = \frac{374,971}{7} \approx 53,567.29. This demonstrates how an outlier significantly inflates the mean 13 14 15.

1.6 Median

The median is the middle value in a data set that has been ordered from least to greatest. If there is an even number of data points, the median is the average of the two middle values.

The median is not affected by outliers 17.

  1. Rank the data set in increasing order.
  2. Identify the middle term.

1.7 📝 Example

The number of homes foreclosed in seven states were: 173, 175, 49,723, 20,352, 10,824, 40,911, 18,038, and 61,848. Ranked in increasing order, the data are: 10,824, 18,038, 20,352, 40,911, 49,723, 61,848, 173,175.

With seven values, the middle term is the fourth one, which is 40,911 18 19.

1.8 📝 Example

The total compensations (in millions of dollars) for 12 highest-paid CEOs in 2010 were: 21.6, 21.7, 22.9, 25.2, 26.5, 28.0, 28.2, 32.6, 32.9, 70.1, 76.1, 84.5. Since there are 12 values (an even number), the median is the average of the sixth and seventh values. These are 28.0 and 28.2. The median is 28.0+28.22=28.1\frac{28.0 + 28.2}{2} = 28.1 million dollars 20 21 22 23.

The median represents the center of a distribution, with half the data points below it and half above it. Its resistance to outliers makes it a preferred measure of central tendency when the data set contains extreme values 24.

1.9 Mode

The mode is the value that appears most frequently in a data set. A data set can have one mode (unimodal), two modes (bimodal), more than two modes (multimodal), or no mode if all values occur with the same frequency 26 29.

1.10 📝 Example

The speeds of eight cars stopped for speeding were: 77, 82, 74, 81, 79, 84, 74, 78 miles per hour. The value 74 appears twice, which is more than any other value.

Therefore, the mode is 74 miles per hour 27 28.

1.11 📝 Example

Five families had last year's incomes of $76,150, $95,750, $124,985, $87,490, and $53,740. Since each income value appears only once, this data set has no mode 30 31.

1.12 📝 Example

Commuting times (in minutes) for 12 employees were: 23, 36, 12, 23, 47, 32, 8, 12, 26, 31, 18, and 28. The values 12 and 23 each occur twice, which is the highest frequency. Thus, this data set is bimodal with modes of 12 and 23 minutes 32 33.

1.13 📝 Example

The ages of 10 students were: 21, 19, 27, 22, 29, 19, 25, 21, 22, and 30 years. The values 19, 21, and 22 each occur twice, which is the highest frequency.

This data set is trimodal with modes of 19, 21, and 22 years 34 35.

A key advantage of the mode is its applicability to both quantitative and qualitative data, unlike the mean and median which are only for quantitative data

Cover

Ch 07 Interval Estimation.pdf

1. Introduction to interval estimation and confidence intervals with known population variance

This section introduces the fundamental concepts of interval estimation and confidence intervals, focusing on scenarios where the population variance is known, and then extends to cases where it is unknown.

1.1 Interval estimation and confidence intervals

Interval estimation involves determining a random interval that is expected to contain a true population parameter with a certain probability. This interval is referred to as a confidence interval, and the associated probability is the confidence level, denoted as (1−α)(1-\alpha), where α\alpha is the significance level.

  • Confidence Interval (CI): A range of values that is likely to contain the true population parameter.
  • Confidence Level: The probability that the confidence interval contains the true population parameter, typically expressed as a percentage (e.g., 90%, 95%, 99%).
  • Significance Level (α\alpha): The probability of the interval not containing the true parameter. It's related to the confidence level by α=1−(confidence level)\alpha = 1 - (\text{confidence level}).

Note: The confidence interval is a random interval, while the population parameter is a fixed, non-random value. The statement "there is a 95% chance that the random interval includes the true mean" is more accurate than saying "there is a 95% chance that the true mean is within this specific calculated interval."

1.2 Confidence intervals with known population variance (σ2\sigma^2)

When the population variance (σ2\sigma^2) is known, and we have a random sample (X1,X2,…,Xn)(X_1, X_2, \ldots, X_n) from a normally distributed population X∼N(μ,σ2)X \sim N(\mu, \sigma^2), we can construct a confidence interval for the population mean (μ\mu). The sample mean, Xˉ=1n∑i=1nXi\bar{X} = \frac{1}{n}\sum_{i=1}^n X_i, is used as an estimator for μ\mu.

The distribution of the sample mean is Xˉ∼N(μ,σ2n)\bar{X} \sim N(\mu, \frac{\sigma^2}{n}). To construct the confidence interval, we standardize the sample mean to obtain a Z-score: Z=Xˉ−μσ/nZ = \frac{\bar{X} - \mu}{\sigma/\sqrt{n}}

For a confidence level of (1−α)(1-\alpha), we find the critical value Zα/2Z_{\alpha/2} from the standard normal distribution such that P(Z≤Zα/2)=1−α/2P(Z \le Z_{\alpha/2}) = 1 - \alpha/2. This means P(−Zα/2≤Z≤Zα/2)=1−αP(-Z_{\alpha/2} \le Z \le Z_{\alpha/2}) = 1-\alpha.

Substituting the Z-score formula: P(−Zα/2≤Xˉ−μσ/n≤Zα/2)=1−αP\left(-Z_{\alpha/2} \le \frac{\bar{X} - \mu}{\sigma/\sqrt{n}} \le Z_{\alpha/2}\right) = 1-\alpha

Rearranging the inequality to isolate μ\mu: P(Xˉ−Zα/2σn≤μ≤Xˉ+Zα/2σn)=1−αP\left(\bar{X} - Z_{\alpha/2}\frac{\sigma}{\sqrt{n}} \le \mu \le \bar{X} + Z_{\alpha/2}\frac{\sigma}{\sqrt{n}}\right) = 1-\alpha

Thus, the (1−α)×100%(1-\alpha) \times 100\% confidence interval for μ\mu is: \left[\bar{X} - Z_{\alpha/2}\frac{\sigma}{\sqrt{n}}, \bar{X} + Z_{\alpha/2}\frac{\sigma}{\sqrt{n}}\right

The term Zα/2σnZ_{\alpha/2}\frac{\sigma}{\sqrt{n}} is known as the margin of error.

Example: To find a 95% confidence interval, α=0.05\alpha = 0.05, so α/2=0.025\alpha/2 = 0.025. The critical value Z0.025Z_{0.025} is approximately 1.96.

1.2.1 Calculating minimum sample size

When the population variance (σ2\sigma^2) is known, the minimum sample size (nn) required to estimate the population mean (μ\mu) within a desired margin of error (EE) and with a specified confidence level (1−α)(1-\alpha) can be determined. The margin of error is given by E=Zα/2σnE = Z_{\alpha/2}\frac{\sigma}{\sqrt{n}}.

Rearranging to solve for nn: n=Zα/2σE\sqrt{n} = \frac{Z_{\alpha/2}\sigma}{E} n=(Zα/2σE)2n = \left(\frac{Z_{\alpha/2}\sigma}{E}\right)^2 Since the sample size must be an integer, we always round up to the next whole number to ensure the margin of error is at most EE.

Example: A manager wants to estimate the mean number of minutes workers take to complete a process with a margin of error of ±3\pm 3 minutes and 90% confidence. The population standard deviation is known to be 15 minutes. For 90% confidence, α=0.10\alpha = 0.10, so α/2=0.05\alpha/2 = 0.05. The critical value Z0.05≈1.645Z_{0.05} \approx 1.645.

n=(1.645×153)2=(24.6753)2=(8.225)2≈67.65n = \left(\frac{1.645 \times 15}{3}\right)^2 = \left(\frac{24.675}{3}\right)^2 = (8.225)^2 \approx 67.65