[Prem S. Mann] Introductory Statistics7
Table of contents
- Chapter 2: Organizing and graphing data
- Chapter 3: Numerical descriptive measures
- Chapter 4: Probability
- Chapter 5: Discrete random variables and their probability distributions
- Chapter 6: Continuous random variables and the normal distribution
- Chapter 7: Sampling distributions
- Chapter 8: Estimation of the mean and proportion
- Chapter 9: Hypothesis tests about the mean and proportion
- Chapter 10: Estimation and hypothesis testing: Two populations
- Chapter 11: Chi-square tests
- WHAT IS YOUR favorite season?
- Chapter 13: Simple linear regression
- Chapter 14: Multiple regression
- Appendix A: Sample surveys, sampling techniques, and design of experiments
- Appendix B: Explanation of data sets
- Appendix C: Statistical tables
1. Chapter 2: Organizing and graphing data
1.1 Key terms and calculations
This section introduces fundamental terms and calculations used in organizing and describing data. These include relative frequency, percentage of a class, class midpoint, class width, cumulative relative frequency, and cumulative percentage.
- Relative frequency of a class: The proportion of observations falling into a specific class. It is calculated as the frequency of the class divided by the total number of observations.
- Percentage of a class: The relative frequency of a class multiplied by 100.
- Class midpoint or mark: The average of the upper and lower limits of a class interval. It is calculated as (Upper limit + Lower limit) / 2.
- Class width: The difference between the upper and lower boundaries of a class interval.
- Cumulative relative frequency: The sum of the relative frequencies for a class and all preceding classes.
- Cumulative percentage: The cumulative relative frequency multiplied by 100 3.
1.2 Formulas for descriptive statistics 3
This section outlines key formulas for calculating descriptive statistics, including measures of central tendency and dispersion for both ungrouped and grouped data.
| Statistic | Formula for Ungrouped Data | Formula for Grouped Data |
|---|---|---|
| Mean | xˉ=n∑x or μ=N∑x | xˉ=n∑mf or μ=N∑mf |
| Variance | s2=n−1∑x2−n(∑x)2 or σ2=N∑x2−N(∑x)2 | s2=n−1∑m2f−n(∑mf)2 or σ2=N∑m2f−N(∑mf)2 |
| Standard Deviation | s=s2 or σ=σ2 | s=s2 or σ=σ2 |
| Range | Largest value - Smallest value | — |
📝 For grouped data, the mean is calculated as xˉ=n∑mf, where m is the class midpoint and f is the frequency of the class 3.
1.3 Chebyshev's Theorem and Empirical Rule
These statistical rules provide insights into the distribution of data relative to the mean and standard deviation. Chebyshev's Theorem applies to any distribution, while the Empirical Rule is specific to bell-shaped distributions.
- Chebyshev's Theorem: For any distribution and any value k>1, at least 1−k21 of the data values lie within k standard deviations of the mean.
- Empirical Rule: For a bell-shaped distribution:
- Approximately 68% of the data falls within 1 standard deviation of the mean (μ±1σ).
- Approximately 95% of the data falls within 2 standard deviations of the mean (μ±2σ).
- Approximately 99.7% of the data falls within 3 standard deviations of the mean (μ±3σ) 3.
📝 For any distribution, at least 1−k21 of the data values lie within k standard deviations of the mean. For k=2, at least 1−221=0.75 or 75% of the data lies within 2 standard deviations of the mean 3.
1.4 Quartiles and Percentiles
Quartiles and percentiles are measures used to divide a ranked data set into specific portions, indicating the position of a value within the distribution.
- Q1 (First Quartile): The median of the lower half of the ranked data set.
- Q2 (Second Quartile): The median of the entire ranked data set.
- Q3 (Third Quartile): The median of the upper half of the ranked data set.
- Interquartile Range (IQR): The difference between the third and first quartiles (IQR=Q3−Q1). It measures the spread of the middle 50% of the data.
- kth Percentile: The value below which k% of the data falls. It is found by identifying the value of the 100knth term in a ranked data set.
- Percentile Rank of xi: The percentage of values in the data set that are less than xi. It is calculated as Total number of valuesNumber of values less than xi×100 3.
1.5 Standard Normal Distribution Table
The standard normal distribution table (Table IV) provides the cumulative area under the standard normal curve to the left of a given z-score. This table is crucial for calculating probabilities associated with normal distributions 7 8.
1.6 The t Distribution Table
The t distribution table (Table V) provides critical values of t for various degrees of freedom and areas in the right tail. This table is used in hypothesis testing and confidence interval calculations when the population standard deviation is unknown 9 10.
1.7 Raw data
Raw data refers to the original, unorganized values collected in a statistical study. These data are typically in a form that is not yet ready for analysis or interpretation.
Before any meaningful conclusions can be drawn, this raw data must be processed and organized 28.
1.8 Organizing and graphing qualitative data
Qualitative data, also known as categorical data, represent characteristics or attributes that can be grouped into categories. To understand and present this type of data effectively, it is organized and visualized using specific graphical methods 28.
📝 A study on career choices for high school students categorized aspirations into fields like STEM, Arts, and Business 31.
1.9 Case study 2–1: Career choices for high school students
This case study examines the career choices of high school students, categorizing them into different fields. It illustrates how qualitative data can be collected and presented to reveal patterns in student aspirations 31.
1.10 Case study 2–2: In or out in 30 minutes
This case study likely analyzes data related to a binary outcome (in or out) within a specific timeframe. It demonstrates the application of qualitative data analysis in a practical scenario, possibly related to customer behavior or process efficiency 32.
1.11 Organizing and graphing quantitative data
Quantitative data represent numerical values that can be measured or counted. Organizing and graphing this data allows for the identification of patterns, trends, and the overall distribution of values .
📝 To organize quantitative data on student test scores, a teacher might create a frequency distribution table showing the number of students who scored within specific ranges (e.g., 0-59, 60-69, 70-79, 80-89, 90-100).
1.12 Case study 2–3: Morning grooming
This case study likely involves quantitative data related to the time spent on morning grooming routines. It serves as an example of how numerical data can be collected and analyzed to understand variations in personal habits .
1.13 Shapes of histograms
Histograms are graphical representations of the distribution of quantitative data. The shape of a histogram provides insights into the symmetry, skewness, and modality of the data distribution .
📝 A histogram showing the distribution of heights of adult males might have a shape where the bars are roughly symmetrical around the average height, indicating that most men are close to the average height, with fewer men being significantly shorter or taller.
1.14 - Symmetric histogram
A symmetric histogram has a shape where the left and right sides are mirror images of each other. The data are evenly distributed around the center .
1.15 - Skewed histogram
A skewed histogram is asymmetrical.
- Right-skewed (positively skewed): The tail of the distribution extends to the right, meaning there are a few unusually high values.
- Left-skewed (negatively skewed): The tail of the distribution extends to the left, indicating a few unusually low values .
1.16 - Unimodal histogram
A unimodal histogram has a single peak, indicating that one value or a narrow range of values occurs most frequently .
1.17 - Bimodal histogram
A bimodal histogram has two distinct peaks, suggesting that the data may come from two different groups or processes .
1.18 - Multimodal histogram
A multimodal histogram has more than two peaks, indicating multiple clusters or modes within the data .
1.19 Cumulative frequency distributions
A cumulative frequency distribution shows the total number of observations that fall below a certain value or within a specific class interval. It is useful for determining the number or proportion of data points that are less than a given value .
- Cumulative frequency: The sum of frequencies for a given class and all preceding classes.
- Cumulative relative frequency: The sum of relative frequencies for a given class and all preceding classes.
- Cumulative percentage: The sum of percentages for a given class and all preceding classes .
1.20 Stem-and-leaf displays
A stem-and-leaf display is a method for organizing quantitative data that retains the individual data values while providing a visual representation of the distribution. It separates each data point into a "stem" (leading digit(s)) and a "leaf" (trailing digit) .
- Stem: The leading digit or digits of a number.
- Leaf: The last digit of a number.
- Advantages: It shows the shape of the distribution and preserves the original data values, unlike a histogram .
1.21 Dotplots
A dotplot is a simple graphical display where each data point is represented by a dot placed above a number line. It is particularly useful for small to moderate-sized data sets and clearly shows the distribution, clusters, and gaps in the data .
- Representation: Each dot signifies one observation.
- Visualization: Allows for easy identification of the most frequent values, outliers, and the overall shape of the data .
1.22 What is statistics?
Statistics has two meanings: numerical facts and the field of study itself. Numerical facts are data points like income or age, while the field of statistics provides methods for collecting, analyzing, presenting, and interpreting data to make decisions.
These decisions, based on statistical methods, are considered educated guesses, offering a more reliable approach than pure guesswork 36.
1.23 Types of statistics
Statistics is broadly divided into two main areas: descriptive statistics and inferential statistics. Descriptive statistics focuses on organizing and summarizing data, while inferential statistics uses sample data to make predictions or decisions about a larger population 36 38.
📝 Descriptive statistics uses tables, graphs, and summary measures to organize and display data, such as the chart showing the top five companies with the most patents in 2008 37.
1.24 Descriptive statistics
Descriptive statistics involves methods for organizing, displaying, and describing data. This is achieved through the use of tables, graphs, and summary measures.
The goal is to reduce large data sets into a more manageable and understandable format, making it easier to draw conclusions 37.
- Data set: The entire collection of numbers representing scores or measurements for a group.
- Element: Each individual item or subject within a data set.
- Observation: A single measurement or value recorded for an element 37.
1.25 Inferential statistics
Inferential statistics uses sample results to make decisions or predictions about a population. This branch of statistics is also referred to as inductive reasoning 38.
- Population: The entire collection of elements or subjects of interest in a study.
- Sample: A portion or subset of the population selected for study 37 39.
📝 Inferential statistics uses sample results to make decisions about a population, like using a survey of 1000 students to make predictions about the political views of all college students 38.
1.26 Population versus sample
Understanding the distinction between a population and a sample is fundamental in statistics. A population encompasses all elements of interest, while a sample is a subset drawn from that population 39.
- Population: The complete set of individuals, items, or objects being studied.
- Sample: A subset of the population selected for analysis 39.
- Census: A survey that collects data from every member of the population.
- Sample survey: A survey conducted on a sample of the population.
- Representative sample: A sample that accurately reflects the characteristics of the population.
- Random sample: A sample where each element has an equal chance of being selected.
- Sampling with replacement: Elements are returned to the population after selection, allowing for reselection.
- Sampling without replacement: Elements are not returned to the population after selection, preventing reselection 40 42.
1.27 Basic terms 43
Several basic terms are essential for understanding statistical concepts: element, variable, observation, and data set. These terms define the components and structure of collected data 42.
- Element or member: A specific subject or object about which information is gathered 42.
- Variable: A characteristic under study that can assume different values for different elements.
- Observation or measurement: The specific value of a variable for a given element.
- Data set: A collection of observations for one or more variables 43.
| Company | 2007 Charitable Givings (millions of dollars) |
|---|---|
| Home Depot | 42 |
| Macy’s | 35.2 |
| Wal-Mart | 337.9 |
| Best Buy | 31.8 |
| Target | 168.9 |
| Lowe’s | 27.5 |
1.28 Types of variables46
Variables can be classified as quantitative or qualitative, and quantitative variables can be further divided into discrete or continuous. This classification helps in choosing appropriate analytical methods 44 45.
- Quantitative variable: A variable that can be measured numerically 45.
- Qualitative or categorical variable: A variable that cannot be measured numerically but can be classified into nonnumeric categories 46.
| Variable Type | Description | Examples |
|---|---|---|
| Quantitative | Can be measured numerically. | Incomes, heights, gross sales, prices. |
| Qualitative or categorical | Cannot assume a numerical value; classified into categories. | Gender, make of a computer, opinions. |
1.29 Discrete variables
Discrete variables are quantitative variables whose values are countable. There are no intermediate values possible between consecutive values 45.
- Discrete variable: A variable whose values are countable, with no possible values between consecutive values 45.
1.30 Continuous variables
Continuous variables are quantitative variables that can assume any numerical value within a given range or interval. They are not countable in the same way as discrete variables 45.
- Continuous variable: A variable that can assume any numerical value over a certain interval or intervals 45.
1.31 Cross-section versus time-series data48
Data can be categorized based on the time of collection into cross-section data and time-series data. This distinction is important for understanding the temporal relationships within the data 47.
- Cross-section data: Information collected on different elements for the same period of time.
- Time-series data: Information collected on the same element for different periods of time 47.
| Data Type | Description | Example |
|---|---|---|
| Cross-section data | Data collected on different elements at the same point in time or for the same period. | Charitable givings of six retailers in 2007. |
| Time-series data | Data collected on the same element for the same variable at different points in time or for different periods. | Number of indoor movie screens in the U.S. from 2003 to 2008. |
📝 Cross-section data collects information on different elements for the same period, such as the charitable givings of six retailers in 2007 47.
1.32 Sources of data
Data can be obtained from various sources, including internal company records, external publications, and surveys or experiments. The reliability of statistical analysis depends on the quality and appropriateness of the data source 48.
- Internal sources: Data originating from within an organization, such as personnel or accounting records.
- External sources: Data obtained from outside the organization, such as government publications or private reports.
- Surveys and experiments: Methods for collecting primary data directly from subjects or through controlled conditions 48.
1.33 Summation notation
Summation notation is a shorthand used in statistics to represent the sum of a series of numbers. It simplifies the expression of mathematical operations involving sums of data 35.
1.34 Summation notation
Summation notation, using the uppercase Greek letter sigma (Σ), provides a concise way to express the sum of values. For a set of values denoted by x1,x2,…,xn, the sum is written as ∑i=1nxi.
This notation is fundamental for expressing mathematical relationships efficiently in statistics 49.
The notation can be extended to multiple variables. For instance, to find the sum of products of two variables, m and f, the notation is ∑mf.
Similarly, ∑m2 represents the sum of the squares of the m values, and ∑m2f represents the sum of the products of the squared m values and their corresponding f values 50.
1.35 Example 1–1: Summation of salaries
Annual salaries (in thousands of dollars) for four workers are 75, 90, 125, and 61.
- ∑x=75+90+125+61=351.
- (∑x)2=(351)2=123201.
- ∑x2=752+902+1252+612=5625+8100+15625+3721=33071 50.
1.36 Example 1–2: Summation with paired data 50
The following table lists four pairs of m and f values:
| m | f |
|---|---|
| 12 | 5 |
| 15 | 9 |
| 20 | 10 |
| 30 | 16 |
- ∑m=12+15+20+30=77.
- ∑f=5+9+10+16=40.
- ∑f2=52+92+102+162=25+81+100+256=462.
- ∑mf=(12×5)+(15×9)+(20×10)+(30×16)=60+135+200+480=875.
- ∑m2f=(122×5)+(152×9)+(202×10)+(302×16)=(144×5)+(225×9)+(400×10)+(900×16)=720+2025+4000+14400=21145 51.
1.37 Raw data
Raw data are the data recorded in the sequence in which they are collected, before any processing or ranking. These data are also referred to as ungrouped data, meaning each member of a sample or population is represented individually 62.
1.38 Example: Ages of 50 students
The ages of 50 students, collected in order, represent quantitative raw data. For instance, the first student's age is 21, and the second is 19 62.
1.39 Example: Student status of 50 students
The student status (Freshman, Sophomore, Junior, Senior) for 50 students, recorded as collected, is an example of qualitative raw data 62.
1.40 Organizing and graphing qualitative data
Qualitative data, also known as categorical data, are organized into tables and displayed using graphs 62.
1.41 Frequency distributions
A frequency distribution for qualitative data lists each category and the number of elements belonging to that category. The number of elements in a category is called its frequency 63.
1.42 Example 2–1: Job stress frequency distribution 63
A sample of 30 employees' job stress levels (very stressful, somewhat stressful, not stressful at all) were recorded. A frequency distribution table organizes these responses.
| Stress on Job | Tally | Frequency (f) |
|---|---|---|
| Very | — | — |
| Somewhat | — | — |
| None | — | — |
📝 A frequency distribution table for job stress shows that out of 30 employees, 10 found their jobs very stressful, 14 somewhat stressful, and 6 not stressful at all 63.
1.43 Relative frequency and percentage distributions
The relative frequency of a category is the frequency of that category divided by the sum of all frequencies, representing the proportion of the total. A percentage distribution is obtained by multiplying the relative frequency by 100 64.
1.44 Example 2–2: Relative frequency and percentage distributions for job stress 64
Calculating relative frequencies and percentages for the job stress data from Table 2.4:
| Stress on Job | Relative Frequency | Percentage |
|---|---|---|
| Very | 10/30 =.333 | .333= 33.3 |
| Somewhat | 14/30 =.467 | .467= 46.7 |
| None | 6/30 =.200 | .200 = 20.0 |
| Sum | 1.000 | 100 |
The sum of relative frequencies is always 1.00, and the sum of percentages is always 100 64.
📝 For job stress data, the relative frequency for "Very stressful" is 10/30 = .333, and the percentage is .333 * 100 = 33.3% 64.
1.45 Bar graphs
A bar graph, also known as a bar chart, visually represents categories on the horizontal axis and their frequencies on the vertical axis. Each category is depicted by a bar whose height corresponds to its frequency.
Adjacent bars are separated by a small gap. Bar graphs can also display relative frequencies or percentages by adjusting the vertical axis 65.
1.46 Pie charts
A pie chart displays percentages by dividing a circle into portions, where each portion represents the relative frequency or percentage of a category. To construct a pie chart, multiply 360 degrees by the relative frequency of each category to determine the angle size for its corresponding sector 66.
📝 To construct a pie chart, multiply 360 degrees by the relative frequency of each category to determine the angle size for its corresponding sector. For example, a category with a relative frequency of 0.333 would have an angle size of 360(.333)=119.88 degrees 66.
1.47 Exercises on qualitative data
These exercises involve preparing frequency distribution tables, calculating relative frequencies and percentages, and drawing bar graphs and pie charts for qualitative data. They test the understanding of basic data organization and graphical representation for categorical information 67 68.
1.48 Frequency distributions for quantitative data
A frequency distribution for quantitative data lists classes, which are intervals representing the variable, and the number of observations (frequencies) falling within each class. These classes are non-overlapping, ensuring each data point belongs to only one class.
Data presented in this manner are termed grouped data, contrasting with ungrouped data which lists individual values 69.
1.49 Class boundaries
Class boundaries are derived from the midpoint between the upper limit of one class and the lower limit of the next class. They are also referred to as real class limits and are used to ensure that each value belongs to one and only one class, especially when dealing with fractional values 69 70.
1.50 Class width and midpoint
The class width, or class size, is the difference between the upper and lower boundaries of a class. The class midpoint, or mark, is calculated by averaging the lower and upper limits (or boundaries) of a class 70.
1.51 Constructing frequency distribution tables
When constructing a frequency distribution table for quantitative data, three key decisions must be made: the number of classes, the class width, and the lower limit of the first class. The number of classes typically ranges from 5 to 20, depending on the data set size.
Class width is often determined by dividing the range of the data (largest value minus smallest value) by the desired number of classes and rounding to a convenient number. The lower limit of the first class can be any convenient number less than or equal to the smallest value in the data set 71.
📝 When constructing a frequency distribution table, three key decisions are the number of classes, the class width, and the lower limit of the first class. For a data set with 30 observations, Sturge's formula suggests approximately c=1+3.3log30≈5.9 classes 71.
1.52 Sturge's formula
Sturge's formula, c=1+3.3logn, can be used as a guideline to determine the number of classes (c) based on the number of observations (n) in a data set 71.
1.53 Example: Constructing a frequency distribution table
This example demonstrates how to construct a frequency distribution table for quantitative data by determining the minimum and maximum values, deciding on the number of classes and class width, and then tallying the data into the appropriate classes 71 72.
1.54 Relative frequency and percentage distributions
Relative frequencies and percentages for quantitative data are calculated by dividing the frequency of each class by the total sum of frequencies (n) and multiplying by 100, respectively. These distributions provide insights into the proportion of data falling within each class interval 72 73.
1.55 Example: Calculating relative frequencies and percentages
This example illustrates the calculation of relative frequencies and percentages for a given frequency distribution, showing how to convert raw frequencies into proportions and percentages for each class 73.
1.56 Graphing grouped data
Grouped quantitative data can be visually represented using histograms, polygons, or pie charts. Histograms and polygons are particularly useful for displaying the distribution of quantitative data 73.
1.57 Histograms
A histogram is a graph where classes are marked on the horizontal axis and frequencies, relative frequencies, or percentages are on the vertical axis. Bars representing each class are drawn adjacent to each other, with no gaps, to show the distribution of quantitative data 73.
1.58 Polygons
A polygon is constructed by marking dots above the midpoint of each class at a height corresponding to its frequency, and then connecting these dots with straight lines. Two additional classes with zero frequencies are added at each end to anchor the polygon to the horizontal axis.
A frequency curve is a smooth curve that approximates a frequency polygon for a large data set with many classes 74 75.
1.59 Less-than method for writing classes
The less-than method is an alternative way to write classes in a frequency distribution table, particularly suitable for data sets containing fractional values. Classes are defined as intervals starting from a lower limit up to, but not including, an upper limit (e.g., 1.00 to less than 1.50) 75 76 77.
1.60 Example: Constructing a frequency distribution using the less-than method
This example demonstrates the construction of a frequency distribution table using the less-than method for a data set of cigarette taxes, including calculations for relative frequencies and percentages 76 77.
1.61 Single-valued classes
When observations in a data set consist of only a few distinct integer values, single-valued classes can be used. Each distinct value becomes a class, making it suitable for discrete data with a limited range of possible values 77.
1.62 Example: Frequency distribution using single-valued classes
This example illustrates the creation of a frequency distribution table using single-valued classes for data on the number of vehicles owned by households, showing the frequency for each distinct number of vehicles 77 78.
📝 For data on the number of vehicles owned by households, single-valued classes can be used. If the distinct values are 0, 1, 2, 3, 4, and 5, each of these values becomes a class, and the frequency distribution would list the number of households for each specific number of vehicles owned 77.
1.63 Shapes of histograms
Histograms can exhibit various shapes, with the most common being symmetric, skewed, and uniform (rectangular). A symmetric histogram is identical on both sides of its central point, while a skewed histogram has a longer tail on one side.
A uniform histogram has bars of approximately equal height across all classes 78.
| Type of Graph | Purpose | Key Features |
|---|---|---|
| Bar Graph | Displaying qualitative data | Bars represent frequencies of categories; gaps between bars. |
| Pie Chart | Displaying percentages of qualitative data | Circle divided into sectors representing proportions; angle size based on percentage. |
| Histogram | Displaying quantitative data | Bars represent frequencies of classes; bars are adjacent. |
| Polygon | Displaying quantitative data | Line graph connecting midpoints of histogram bars; used to show distribution shape. |
| Class Limit Method | Less-Than Method | Single-Valued Class Method |
|---|---|---|
| Classes are intervals like 5-9, 10-14. | Classes are intervals like 1.00 to less than 1.50. | Classes are individual values like 0, 1, 2. |
| Suitable for data without fractional values. | Appropriate for data with fractional values. | Suitable for discrete data with few distinct values. |
2. Chapter 3: Numerical descriptive measures
2.1 Shapes of histograms
Histograms visually represent the distribution of quantitative data. Understanding the shape of a histogram provides insights into the data's characteristics 79.
- Symmetric histogram: The left and right sides of the histogram are mirror images of each other.
- Skewed histogram: The histogram is not symmetric, with a longer tail on one side.
- Skewed to the right: The longer tail is on the right side.
- Skewed to the left: The longer tail is on the left side.
- Uniform or rectangular histogram: Each class has the same frequency 79.
Graphs can be manipulated to distort facts. Caution is advised when interpreting graphs, paying attention to the scale of the axes and whether the frequency axis is truncated (starts at a value greater than zero) 80.
2.2 Exercises: Concepts and procedures
These exercises cover the fundamental steps in creating frequency distributions and understanding their components 80.
- 2.11: Briefly explain the three decisions required to group data into a frequency distribution table.
- 2.12: Explain how relative frequencies and percentages of classes are derived from class frequencies, with an illustration.
- 2.13: Explain three methods for grouping quantitative data: using limits, using the less-than method, and using single-valued classes, with an example for each 80.
2.3 Exercises: Applications
These exercises apply the concepts of frequency distributions to real-world data sets 80 81 82 83 84 87.
- 2.14: A frequency distribution of the number of credit cards possessed by 80 adults is given. Tasks include finding class boundaries, midpoints, and preparing relative frequency and percentage distributions. It also asks for the percentage of adults with 8 or more credit cards.
- 2.15: A frequency distribution of ages for 50 employees is provided. Tasks include finding class boundaries, midpoints, and preparing relative frequency and percentage distributions. It also asks for the percentage of employees aged 43 or younger.
- 2.16: Given a data set on money spent on lottery tickets with a minimum of $1 and a maximum of $1167, group the data into six classes of equal widths, starting the first class at $1 with a width of $200. Tasks include writing class limits, boundaries, and midpoints 80.
- 2.17: A data set on monthly expenditures for fast food by 500 households has a minimum of $3 and a maximum of $147. Group the data into six classes of equal widths, with the first class starting at $1 and the sixth class ending at $150. Tasks include writing class limits, determining class boundaries and widths, and finding class midpoints.
- 2.18: Median household incomes for 50 states and D.C. are provided. Construct a frequency distribution using specified classes, calculate relative frequencies and percentages, determine if the data are symmetric or skewed, and find the percentage of states with median incomes less than $56,000.
- 2.19: Data on the number of computer monitors produced daily at Nixon Corporation for 30 days are given. Construct a frequency distribution table using specified classes, calculate relative frequencies and percentages, and create a histogram and polygon for the percentage distribution. It also asks for the percentage of days with 27–29 monitors produced 81.
- 2.20: Data on the number of computer keyboards assembled daily at Twentieth Century Electronics Company for 25 days are provided. Create a frequency distribution table, calculate relative frequencies, and construct a histogram and polygon for the relative frequency distribution.
- 2.21: A list of the largest American charitable contributions in 2008 is given. Construct a frequency distribution table using specified classes, calculate relative frequencies and percentages.
- 2.22 - 2.26: These exercises involve preparing frequency distributions, relative frequency distributions, and percentage distributions for cancer incidence rates (colon and rectum, lung and bronchus, non-Hodgkin lymphoma) for males and females across various states. They also require drawing histograms and polygons for some of these distributions 82.
- 2.27: Offensive points scored per game by 16 NFL teams are listed. Construct a frequency distribution table with a specified lower boundary and class width, and prepare relative frequency and percentage distribution columns 83.
- 2.28: Data on the number of turnovers by a college football team over two seasons are provided. Prepare a frequency distribution table using single-valued classes, calculate relative frequencies and percentages, determine the number of games with two or more turnovers, and draw a bar graph.
- 2.29: A sample of 25 credit reports with a number of errors is given. Prepare a frequency distribution table using single-valued classes, calculate relative frequencies and percentages, determine how many reports had two or more errors, and draw a bar graph.
- 2.30: A frequency distribution of parking tickets received by 200 students is provided. Draw two bar graphs: one without truncating the frequency axis and another truncating it, starting the axis at 25. Comment on the two bar graphs.
- 2.31: A frequency distribution of times adults watched an infomercial is given. Draw two histograms: one without truncating the frequency axis and another truncating it, starting the axis at 10. Comment on the two histograms 84 85.
📝 Exercise 2.16 involves a data set on money spent on lottery tickets with a minimum of $1 and a maximum of $1167, and asks to group the data into six classes of equal widths, starting the first class at $1 with a width of $200.
2.4 Cumulative frequency distributions
A cumulative frequency distribution tallies the total number of values falling below the upper boundary of each class. This type of distribution is used exclusively for quantitative data 85.
- Construction: Each class in a cumulative frequency distribution shares the same lower limit but has a different upper limit. To find the cumulative frequency for a class, add its frequency to the frequencies of all preceding classes 85.
2.5 Example 2–7: Cumulative frequency distribution of iPods sold
The frequency distribution for the number of iPods sold by a company is given. A cumulative frequency distribution is prepared by adding the frequencies of preceding classes to the current class's frequency 85.
| Class Limits | Class Boundaries | Cumulative Frequency |
|---|---|---|
| 5–9 | 4.5 to less than 9.5 | 3 |
| 5–14 | 4.5 to less than 14.5 | 3 + 6 = 9 |
| 5–19 | 4.5 to less than 19.5 | 3 + 6 + 8 = 17 |
| 5–24 | 4.5 to less than 24.5 | 3 + 6 + 8 + 8 = 25 |
| 5–29 | 4.5 to less than 29.5 | 3 + 6 + 8 + 8 + 5 = 30 |
- Cumulative relative frequency: Calculated by dividing the cumulative frequency of a class by the total number of observations.
- Cumulative percentage: Calculated by multiplying the cumulative relative frequency by 100 86.
2.6 Example: Cumulative relative frequency and percentage distributions for iPods sold
This table shows the cumulative relative frequencies and percentages derived from the cumulative frequencies 86.
| Class Limits | Cumulative Relative Frequency | Cumulative Percentage |
|---|---|---|
| 5–9 | 0.100 | 10.0 |
| 5–14 | 0.300 | 30.0 |
| 5–19 | 0.567 | 56.7 |
| 5–24 | 0.833 | 83.3 |
| 5–29 | 1.000 | 100.0 |
2.7 Ogives
An ogive is a curve plotted for a cumulative frequency distribution. It is created by joining points that represent the cumulative frequencies above the upper class boundaries 86.
- Construction: The variable is marked on the horizontal axis, and cumulative frequencies are on the vertical axis. Points are plotted above the upper boundaries of classes at heights corresponding to their cumulative frequencies. Consecutive points are joined by straight lines. The ogive starts at the lower boundary of the first class and ends at the upper boundary of the last class 86.
- Use: Ogives can approximate cumulative frequencies for any interval. For example, one can estimate the number of days 17 or fewer iPods were sold by drawing a vertical line from 17 on the horizontal axis to the ogive, then a horizontal line to the vertical axis 87.
2.8 Definition: Ogive
An ogive is a curve drawn for the cumulative frequency distribution by joining with straight lines the dots marked above the upper boundaries of classes at heights equal to the cumulative frequencies of respective classes 87.
2.9 Exercises: Cumulative frequency distributions
These exercises focus on constructing and interpreting cumulative frequency distributions and ogives 87 88.
- 2.32: Briefly explain the concept of a cumulative frequency distribution and how cumulative relative frequencies and percentages are calculated.
- 2.33: Explain for what type of frequency distribution an ogive is drawn and discuss its uses.
- 2.34: Using the frequency distribution from Exercise 2.14 (credit cards), prepare a cumulative frequency distribution, calculate cumulative relative frequencies and percentages, find the percentage of adults with 7 or fewer credit cards, draw an ogive for the cumulative percentage distribution, and use it to find the percentage of adults with 10 or fewer credit cards.
- 2.35: Using the frequency distribution from Exercise 2.15 (employee ages), prepare a cumulative frequency distribution table, calculate cumulative relative frequencies and percentages, determine the percentage of employees aged 44 or older, draw an ogive for the cumulative percentage distribution, and use it to find the percentage of employees aged 40 or younger 87.
- 2.36 - 2.43: These exercises involve preparing cumulative frequency, cumulative relative frequency, and cumulative percentage distributions, and drawing ogives for various data sets previously introduced in exercises related to frequency distributions 88.
2.10 Stem-and-leaf displays
A stem-and-leaf display is a method for presenting quantitative data in a condensed form, retaining information on individual observations, unlike frequency distributions 88.
2.11 Definition: Stem-and-Leaf Display
In a stem-and-leaf display of quantitative data, each value is divided into two parts: a stem and a leaf. The leaves for each stem are shown separately in a display 88.
2.12 Example 2–8: Stem-and-leaf display of test scores
Scores of 30 college students on a statistics test are used to construct a stem-and-leaf display. Each score is split into a stem (the first digit) and a leaf (the second digit) 88.
- Construction: Stems are listed vertically in increasing order. Leaves for each stem are recorded to the right of a vertical line.
- Ranked display: Leaves for each stem can be ranked in increasing order for better visualization 89.
📝 Example 2–8 shows the construction of a stem-and-leaf display for the scores of 30 college students on a statistics test, where each score is split into a stem (the first digit) and a leaf (the second digit).
2.13 Example 2–9: Stem-and-leaf display of monthly rents
Monthly rents paid by 30 households are used to construct a stem-and-leaf display. For three- and four-digit numbers, the stem can be the first digit (for three-digit numbers) or the first two digits (for four-digit numbers), and the leaf consists of the remaining digits 89 90.
2.14 Example 2–10: Grouped stem-and-leaf display
A stem-and-leaf display with too many stems and few leaves can be condensed by grouping stems. For instance, stems 0–2, 3–5, and 6–8 can be combined 90.
- Grouping: Stems are grouped into ranges (e.g., 0–2). Leaves for each group are listed, separated by an asterisk (*).
- Missing stems: If a stem group has no corresponding leaves, it is indicated by two consecutive asterisks 90.
2.15 Exercises: Stem-and-leaf displays
These exercises involve creating and interpreting stem-and-leaf displays 91 92.
- 2.44: Briefly explain how to prepare a stem-and-leaf display, possibly using an example.
- 2.45: What advantage does a stem-and-leaf display have over a frequency distribution? Provide an example.
- 2.46 - 2.47: These exercises provide stem-and-leaf displays and require writing the data set represented by each display.
- 2.48 - 2.55: These exercises involve constructing stem-and-leaf displays for various data sets, including waiting times, rushing yards, production numbers, median incomes, commute times, and times served by inmates. Some exercises also require condensing the displays by grouping stems 91 92.
2.16 Dotplots
A dotplot is a simple graphical display that shows the distribution of a data set by placing dots above a number line. Each dot represents one observation, and stacking dots vertically indicates multiple observations with the same value.
Dotplots are useful for visualizing clusters, gaps, and potential outliers in the data 93.
-
Preparation:
-
Draw a number line that spans the range of the data.
-
For each data value, place a dot above the corresponding number on the line.
-
If a value occurs more than once, stack the dots vertically 93.
-
Interpretation:
-
Clusters: Groups of dots that are close together indicate clusters in the data.
-
Gaps: Empty spaces on the number line where there are no dots suggest gaps in the data.
-
Outliers: Data points that lie far away from the main body of the data may be outliers 93.
-
Stacked Dotplots:
-
Used to compare two or more data sets.
-
All data sets are plotted on the same number line scale.
-
This allows for direct visual comparison of distributions 93.
📝 To create a dotplot for the longest field goals in yards made by AFC kickers, a number line from 25 to 57 would be used. For each kicker's longest field goal, a dot would be placed above the corresponding yardage. If four kickers made a 53-yard field goal, four dots would be stacked above 53 93.
2.17 Uses and misuses of graphs
Graphical representations of data can be powerful tools for understanding, but they can also be misleading if not constructed or interpreted carefully. Common misuses involve truncating axes or using inappropriate graph types for the data 95.
-
Truncating Axes:
-
Starting the vertical axis of a bar graph at a value other than zero can exaggerate differences between bars.
-
This can create a false impression of much larger or smaller values than actually exist 96.
-
Inappropriate Graph Types:
-
Using a pie chart for data that does not represent parts of a whole can lead to misinterpretations.
-
Percentages in a pie chart are based on the sum of the displayed values, which can be misleading if the data are rates or if not all possible categories are included 96.
📝 A bar graph of identity theft cases per 1000 people might show Arizona's rate as eight times higher than New York's if the vertical axis starts at 80 instead of 0, when in reality, Arizona's rate is only 50% higher 96.
2.18 Glossary of statistical terms
This section defines key terms related to organizing and graphing data, including various types of distributions and graphical displays 96 97.
| Term | Definition |
|---|---|
| Bar graph | A graph made of bars whose heights represent the frequencies of respective categories. |
| Class | An interval that includes all the values in a (quantitative) data set that fall within two numbers, the lower and upper limits of the class. |
| Class boundary | The midpoint of the upper limit of one class and the lower limit of the next class. |
| Class frequency | The number of values in a data set that belong to a certain class. |
| Class midpoint or mark | The class midpoint or mark is obtained by dividing the sum of the lower and upper limits (or boundaries) of a class by 2. |
| Class width or size | The difference between the two boundaries of a class. |
| Cumulative frequency | The frequency of a class that includes all values in a data set that fall below the upper boundary of that class. |
| Cumulative frequency distribution | A table that lists the total number of values that fall below the upper boundary of each class. |
| Cumulative percentage | The cumulative relative frequency multiplied by 100. |
| Cumulative relative frequency | The cumulative frequency of a class divided by the total number of observations. |
| Frequency distribution | A table that lists all the categories or classes and the number of values that belong to each of these categories or classes. |
| Grouped data | A data set presented in the form of a frequency distribution. |
| Histogram | A graph in which classes are marked on the horizontal axis and frequencies, relative frequencies, or percentages are marked on the vertical axis. The frequencies, relative frequencies, or percentages of various classes are represented by bars that are drawn adjacent to each other. |
| Ogive | A curve drawn for a cumulative frequency distribution. |
| Outliers or Extreme values | Values that are very small or very large relative to the majority of the values in a data set. |
| Percentage | The percentage for a class or category is obtained by multiplying the relative frequency of that class or category by 100. |
| Pie chart | A circle divided into portions that represent the relative frequencies or percentages of different categories or classes. |
| Polygon | A graph formed by joining the midpoints of the tops of successive bars in a histogram by straight lines. |
| Raw data | Data recorded in the sequence in which they are collected and before they are processed. |
| Relative frequency | The frequency of a class or category divided by the sum of all frequencies. |
| Skewed-to-the-left histogram | A histogram with a longer tail on the left side. |
| Skewed-to-the-right histogram | A histogram with a longer tail on the right side. |
| Stem-and-leaf display | A display of data in which each value is divided into two portions—a stem and a leaf. |
| Symmetric histogram | A histogram that is identical on both sides of its central point. |
| Ungrouped data | Data containing information on each member of a sample or population individually. |
| Uniform or rectangular histogram | A histogram with the same frequency for all classes. |
2.19 Supplementary exercises
This section provides a series of exercises that cover the concepts and procedures discussed in the chapter, including preparing frequency distributions, calculating relative frequencies and percentages, and drawing various types of graphs 97 98 99 100 101 102 103 104 105 106.
- Exercise 2.66: Political party of U.S. presidents. Requires preparing a frequency, relative frequency, and percentage distribution, and drawing a bar graph and pie chart.
- Exercise 2.67: Adult opinions on the Obama administration. Involves creating a frequency distribution, calculating relative frequencies and percentages, and drawing a bar graph and pie chart.
- Exercise 2.68: Number of television sets owned by households. Requires constructing a frequency distribution, computing relative frequency and percentage distributions, and drawing a bar graph 97.
- Exercise 2.69: Number of correct names of U.S. House of Representatives members supplied by students. Involves preparing a frequency distribution, computing relative frequencies and percentages, and drawing a bar graph.
- Exercise 2.70: Amounts spent on video rentals. Requires constructing a frequency distribution, calculating relative frequencies and percentages, and determining the percentage of households spending over a certain amount.
- Exercise 2.71: Numbers of orders received by a mail order company. Involves constructing a frequency distribution, calculating relative frequencies and percentages, and determining the percentage of hours with more than a certain number of orders.
- Exercise 2.72: Amounts spent on refreshments at a baseball game. Requires constructing a frequency distribution using the less-than method, calculating relative frequencies and percentages, and drawing a histogram.
- Exercise 2.73: Repair costs for cars involved in collisions. Involves constructing a frequency distribution, computing relative frequencies and percentages, and drawing a histogram and polygon 98.
- Exercise 2.74: Cumulative distributions for video rental data from Exercise 2.70.
- Exercise 2.75: Cumulative distributions for mail order company data from Exercise 2.71.
- Exercise 2.76: Cumulative distributions for baseball game refreshment spending data from Exercise 2.72.
- Exercise 2.77: Cumulative distributions for car repair cost data from Exercise 2.73.
- Exercise 2.78: Stem-and-leaf display for video rental data from Exercise 2.70.
- Exercise 2.79: Stem-and-leaf display for mail order company data from Exercise 2.71.
- Exercise 2.80: Bar graphs of university endowments, comparing graphs with and without a truncated axis.
- Exercise 2.81: Bar graphs of average gasoline prices, comparing graphs with and without a truncated axis.
- Exercise 2.82: Dotplot for commute times from Exercise 2.53.
- Exercise 2.83: Dotplot for mail order company order data from Exercise 2.71 99.
- Exercise 2.84: Dotplot for the number of correct U.S. House of Representatives members named by Oregon students.
- Exercise 2.85: Dotplot for the number of hospital visitors.
- Exercise 2.86: Advanced exercise on drawing a relative frequency histogram for driver age distribution and identifying misleading aspects.
- Exercise 2.87: Advanced exercise discussing explanations for differences in accident rates between age groups.
- Exercise 2.88: Advanced exercise on determining the number of classes and class width for a given data set using Sturge's formula.
- Exercise 2.89: Advanced exercise on sketching the distribution of college student weights and constructing a stem-and-leaf display for a sample of weights 100.
- Exercise 2.90: Advanced exercise analyzing two histograms for the same data set, focusing on class endpoints, widths, and potential misleading representations.
- Exercise 2.91: Advanced exercise creating dotplots for college student weights, including stacked dotplots for male and female students, and comparing distributions.
- Exercise 2.92: Advanced exercise interpreting a pie chart of prostate cancer patient ages and discussing potential misinterpretations 101.
- Exercise 2.93: Advanced exercise using a back-to-back stem-and-leaf display to compare earnings per tournament for professional bowlers 102.
- Exercise 2.94: Advanced exercise matching empirical cumulative distribution functions (CDFs) to professional bowling tours and explaining skewness.
- Exercise 2.95: Advanced exercise analyzing a dotplot of obesity rate changes by state, identifying typical values, outliers, and distribution shape 103 104.
- Exercise 2.96: Advanced exercise comparing obesity rates across different geographic regions using stacked dotplots 105.
- Exercise 2.97: Advanced exercise comparing a pie chart and a bar chart for the most despised NCAA men's basketball teams by conference 106.
2.20 Measures of central tendency for ungrouped data
Measures of central tendency provide a single value that represents the center of a data set. This section covers three key measures: the mean, median, and mode, which are used to describe the typical value in a distribution of ungrouped data.
- Mean: The arithmetic average of all values in a data set.
- Calculated by summing all values and dividing by the number of values.
- Sample mean is denoted by xˉ; population mean is denoted by μ.
- Formula for sample mean: xˉ=n∑x
- Formula for population mean: μ=N∑x
- The mean is sensitive to outliers (extreme values) 114 116.
EXAMPLE 3–1 The 2008 sales (in billions of dollars) for six U.S. companies were: General Motors Wal-Mart Stores General Electric Citigroup Exxon Mobil and Verizon Communication. The sum of these sales is 1368 billion dollars.
With n=6, the mean sales for these companies is xˉ=61368=228 billion dollars 97 107 115 .
EXAMPLE 3–2 The ages (in years) of all eight employees of a small company are: 53, 32, 61, 27, 39, 44, 49, and 57. The sum of these ages is 362 years. Since this represents the entire population (N=8), the population mean age is μ=8362=45.25 years 115.
EXAMPLE 3–3 The philanthropic givings (in millions of dollars) for five companies were: CVS (22.4), Best Buy (31.8), Staples (19.8), Walgreen (9.0), and Lowe’s (27.5). The mean for these five companies is 522.4+31.8+19.8+9.0+27.5=5110.5=22.1 million dollars. Including Wal-Mart's contribution of 337.9 million dollars (an outlier), the mean for six companies becomes 6110.5+337.9=6448.4=74.73 million dollars 116.
- Median: The middle value in a data set that has been ranked in increasing order.
- It divides a ranked data set into two equal halves.
- If the number of observations (n or N) is odd, the median is the single middle term.
- If the number of observations is even, the median is the average of the two middle terms.
- The median is not affected by outliers 117 119.
EXAMPLE 3–4 The prices (in thousands of dollars) of seven houses sold were: 312, 257, 421, 289, 526, 374, and 497. Ranked in increasing order: 257, 289, 312, 374, 421, 497, 526. Since there are seven values, the middle term is the fourth value, which is 374. Thus, the median price is $374,000 118.
EXAMPLE 3–5 The 2008 profits (in billions of dollars) for 12 companies were: 8, 12, 7, 17, 14, 45, 10, 13, 17, 13, 9, and 11. Ranked in increasing order: 7, 8, 9, 10, 11, 12, 13, 13, 14, 17, 17, 45. With an even number of values the median is the average of the 6th and 7th values: 212+13=12.5. The median profit is $12.5 billion 12 13 118.
- Mode: The value that occurs most frequently in a data set.
- A data set can have no mode, one mode (unimodal), two modes (bimodal), or more than two modes (multimodal).
- Can be calculated for both quantitative and qualitative data 119 120.
EXAMPLE 3–6 The speeds (in miles per hour) of eight cars were: 77, 82, 74, 81, 79, 84, 74, and 78. The value 74 occurs twice, which is more frequent than any other value. Therefore, the mode is 74 miles per hour 119.
EXAMPLE 3–7 The incomes of five randomly selected families were $76,150, $95,750, $124,985, $87,490, and $53,740. Since each value occurs only once, this data set has no mode 120.
EXAMPLE 3–8 Referencing the 2008 profits from Example 3–5 (7, 8, 9, 10, 11, 12, 13, 13, 14, 17, 17, 45), the values 13 and 17 both occur twice, which is the highest frequency. Thus, the data set is bimodal with modes of $13 billion and $17 billion 120.
EXAMPLE 3–9 The ages of 10 students are: 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 has three modes: 19, 21, and 22 years 120.
EXAMPLE 3–10 The student statuses are: senior, sophomore, senior, junior, and senior. The category "senior" occurs most frequently.
Therefore, "senior" is the mode for this qualitative data set 120.
2.21 Relationships among the mean, median, and mode
The shape of a histogram or frequency distribution curve influences the relationship between the mean, median, and mode. Understanding these relationships helps in interpreting the central tendency of a data set.
- Symmetric distribution: In a perfectly symmetric distribution, the mean, median, and mode are equal. The histogram is a mirror image of itself on either side of the center.
- Skewed distribution:
- Skewed to the right (positively skewed): The tail of the distribution extends to the right. The mean is typically greater than the median, which is greater than the mode (Mean>Median>Mode).
- Skewed to the left (negatively skewed): The tail of the distribution extends to the left. The mean is typically less than the median, which is less than the mode (Mean<Median<Mode) 107 120.
| Distribution Shape | Relationship Among Mean, Median, and Mode |
|---|---|
| Symmetric | Mean = Median = Mode |
| Skewed to the right (positively skewed) | Mean > Median > Mode |
| Skewed to the left (negatively skewed) | Mean < Median < Mode |
2.22 Measures of central tendency for ungrouped data
Measures of central tendency provide a single value that represents the center of a data set. The mean, median, and mode are the most common measures of central tendency.
Their values can indicate the shape of a frequency distribution 121.
- Symmetric distribution: For a symmetric histogram and frequency distribution curve with one peak, the values of the mean, median, and mode are identical and lie at the center.
- Right-skewed distribution: For a distribution skewed to the right, the mean is the largest, the mode is the smallest, and the median lies between them. Outliers in the right tail pull the mean to the right.
- Left-skewed distribution: For a distribution skewed to the left, the mean is the smallest, the mode is the largest, and the median lies between them. Outliers in the left tail pull the mean to the left 121.
2.23 Mean, median, and mode for ungrouped data
The mean is the arithmetic average of all values in a data set. The median is the middle value when data are ordered, and the mode is the most frequent value 121.
- Mean: The average of all values in a data set.
- Median: The middle value in a data set when observations are arranged in ascending order. If there is an even number of observations, it is the average of the two middle values.
- Mode: The value that occurs most frequently in a data set. A data set can have no mode, one mode, or multiple modes 121.
📝 For a symmetric distribution, the mean, median, and mode are identical and lie at the center. For a right-skewed distribution, Mode < Median < Mean. For a left-skewed distribution, Mean < Median < Mode 121.
2.24 Relationships among mean, median, and mode
The relationships among the mean, median, and mode are crucial for understanding data skewness 121.
- Symmetric distribution: Mean = Median = Mode.
- Right-skewed distribution: Mode < Median < Mean.
- Left-skewed distribution: Mean < Median < Mode 121.
📝 In Exercise 3.3, outliers are used to illustrate how they can affect the mean 121.
2.25 Exercises
The following exercises test the understanding of central tendency measures and their properties 121 122 123 124 125.
- Exercise 3.1: Explain how the median is determined for data sets with an odd and an even number of observations.
- Exercise 3.2: Explain outliers and determine if the mean or median is a better measure of central tendency for data with outliers, using an example.
- Exercise 3.3: Illustrate with an example how outliers can affect the mean 121.
- Exercise 3.4: Identify which measures of central tendency (mean, median, mode) can be calculated for quantitative data only, and which can be used for both quantitative and qualitative data, with examples.
- Exercise 3.5: Determine which measure of central tendency can have more than one value for a data set and provide an example.
- Exercise 3.6: Determine if a quantitative data set can lack a mean, median, or mode, providing examples.
- Exercise 3.7: Explain the relationships among the mean, median, and mode for symmetric and skewed histograms, illustrating with graphs.
- Exercise 3.8: Recommend the best measure of central tendency for car prices, which are right-skewed with outliers, and explain why.
- Exercise 3.9: Calculate the mean, median, and mode for a given population data set.
- Exercise 3.10: Calculate the mean, median, and mode for a given sample data set.
- Exercise 3.11: Calculate the mean and median for standard deductions from a sample of states.
- Exercise 3.12: Calculate the mean and median for personal exemptions from the same sample of states.
- Exercise 3.13: Calculate the mean and median for GDP data of 50 states, and determine if a mode exists 122.
- Exercise 3.14: Find the mean, median, and mode for the profits of six Arizona-based companies.
- Exercise 3.15: Find the mean and median for the team salaries of English Premier League teams.
- Exercise 3.16: Find the mean, median, and mode for the number of car thefts over 12 days.
- Exercise 3.17: Compute the mean and median for the revenues of six charitable organizations and determine if a mode exists.
- Exercise 3.18: Compute the mean and median for the number of major penalties in the NHL, and determine if a mode exists.
- Exercise 3.19: Compute the mean, median, and mode for the number of power outages over 12 months 123.
- Exercise 3.20: Find the mean, median, and mode for the number of emergency items carried by motorists, and identify if they are population parameters or sample statistics.
- Exercise 3.21: Calculate the mean, median, and mode for the number of computer monitors produced over 10 days.
- Exercise 3.22: Calculate the mean, median, and mode for the number of students suspended over 12 weeks.
- Exercise 3.23: Calculate the mean and median for tornado data, identify and drop an outlier, and recalculate. Discuss which measure changes more and which is better.
- Exercise 3.24: Calculate the mean and median for the number of women on a golf rankings list, identify and drop an outlier, and recalculate. Discuss which measure changes more and which is better.
- Exercise 3.25: Calculate the combined mean of two data sets given their means and sample sizes.
- Exercise 3.26: Find the mean score for business majors given the mean score for economics majors and the combined group.
- Exercise 3.27: Find the total amount spent on shopping given the average amount spent by 10 persons.
- Exercise 3.28: Find the total 2009 income of five families given their mean income.
- Exercise 3.29: Find the age of the sixth person given the mean age of six persons and the ages of five of them 124.
- Exercise 3.30: Find the price of tickets for the sixth and seventh passengers given the average price for seven passengers and the prices of the first five.
- Exercise 3.31: Calculate the means for two data sets where one is obtained by adding a constant to the other, and comment on the relationship between the means.
- Exercise 3.32: Calculate the means for two data sets where one is obtained by multiplying the other by a constant, and comment on the relationship between the means.
- Exercise 3.33: Calculate the 10% trimmed mean for a given data set of employee ages.
- Exercise 3.34: Find the 20% trimmed mean for a data set of house prices.
- Exercise 3.35: Calculate the weighted mean for a student's exam scores with different weights.
- Exercise 3.36: Find the mean rate of inflation over a 5-year period by calculating the geometric mean of annual inflation rates 125.
2.26 Measures of dispersion for ungrouped data
Measures of dispersion quantify the spread or variability within a data set. They provide information about how closely the data values are clustered around the mean 126.
2.27 Range
The range is the simplest measure of dispersion, calculated as the difference between the largest and smallest values in a data set 126.
- Range: Largest value - Smallest value 126.
The range is sensitive to outliers and only considers the two extreme values, making it less robust than other measures 126.
2.28 Variance and standard deviation
The standard deviation is a widely used measure of dispersion that indicates how closely data points are clustered around the mean. A lower standard deviation signifies less spread, while a higher value indicates more spread 127.
- Variance: The average of the squared deviations from the mean.
- Standard deviation: The positive square root of the variance 127.
The variance for a population is denoted by σ2, and for a sample by s2. The corresponding standard deviations are σ and s 127.
The sum of the deviations of the x values from the mean is always zero 127.
| Formula | Description |
|---|---|
| Population Variance: σ2=N∑(x−μ)2 | The mean of the squared deviations of x values from the population mean μ. |
| Sample Variance: s2=n−1∑(x−xˉ)2 | The sum of squared deviations from the sample mean xˉ, divided by n−1. |
Short-cut formulas are available for more efficient calculation of variance and standard deviation 128.
| Formula | Description |
|---|---|
| Population Variance: σ2=N∑x2−N(∑x)2 | Short-cut formula for population variance. |
| Sample Variance: s2=n−1∑x2−n(∑x)2 | Short-cut formula for sample variance. |
The measurement units of variance are the square of the original data's units, while the standard deviation's units match the original data 129.
📝 For the market values of five international companies, the sample variance is s2=6737.80 and the sample standard deviation is s=$82.08 billion 128.
2.29 Population parameters and sample statistics
A numerical measure calculated for a population data set is a population parameter, while one calculated for a sample data set is a sample statistic 130.
- Population parameters: Mean (μ), variance (σ2), standard deviation (σ).
- Sample statistics: Mean (xˉ), variance (s2), standard deviation (s) 130.
2.30 Exercises
These exercises focus on calculating and understanding measures of dispersion 130 131 132.
- Exercise 3.37: Illustrate how the range is influenced by outliers with an example.
- Exercise 3.38: Explain whether the standard deviation can have a negative value.
- Exercise 3.39: Describe when the standard deviation is zero, provide an example, and calculate it.
- Exercise 3.40: Briefly explain the difference between a population parameter and a sample statistic, with an example of each.
- Exercise 3.41: Calculate the range, variance, and standard deviation for a given population data set 130.
- Exercise 3.42: Calculate the range, variance, and standard deviation for a given sample data set.
- Exercise 3.43: Find the mean, calculate deviations from the mean, and compute the range, variance, and standard deviation for the number of shoplifters.
- Exercise 3.44: Find the mean, calculate deviations from the mean, and compute the range, variance, and standard deviation for textbook prices.
- Exercise 3.45: Calculate the range, variance, and standard deviation for the number of car thefts.
- Exercise 3.46: Find the variance, standard deviation, and range for the number of tornadoes in 12 states.
- Exercise 3.47: Find the range, variance, and standard deviation for the number of junk mail pieces received by 10 families.
- Exercise 3.48: Find the range, variance, and standard deviation for the number of highway collisions with large wild animals over a 9-week period.
- Exercise 3.49: Compute the range, variance, and standard deviation for the number of patients treated for stinging insect stings over 13 weeks.
- Exercise 3.50: Calculate the range, variance, and standard deviation for the number of hot dogs consumed by 10 participants.
- Exercise 3.51: Compute the range, variance, and standard deviation for observed temperatures over eight wintry days.
- Exercise 3.52: Compute the range, variance, and standard deviation for the number of hours spent partying by 10 college students 131.
- Exercise 3.53: Compute the variance, standard deviation, and range for the total points scored in NFL championship games from 2000 to 2009.
- Exercise 3.54: Compute the variance, standard deviation, and range for the guaranteed annual salaries of head coaches of final eight NCAA teams.
- Exercise 3.55: Calculate the standard deviation for hourly wage rates where all rates are identical, and explain why it is zero.
- Exercise 3.56: Calculate the standard deviation for the ages of six students where all ages are identical, and explain why it is zero.
- Exercise 3.57: Compare the relative variation in salaries and years of experience using the coefficient of variation.
- Exercise 3.58: Compare the relative variation in SAT scores and GPAs using the coefficient of variation.
- Exercise 3.59: Calculate the sample standard deviations for two data sets where one is obtained by adding a constant to the other, and comment on the relationship.
- Exercise 3.60: Calculate the population standard deviations for two data sets where one is obtained by multiplying the other by a constant, and comment on the relationship 132.
2.31 Mean, variance, and standard deviation for grouped data
This section extends the calculation of mean, variance, and standard deviation to data presented in frequency tables 132.
2.32 Mean for grouped data
When data are grouped into classes, the exact mean cannot be calculated without individual data points. Instead, an approximation is found using class midpoints and frequencies 133.
| Formula | Description |
|---|---|
| Population Mean for Grouped Data: xˉ=N∑mf | Approximates the population mean by summing the products of class midpoints (m) and their frequencies (f), divided by the total population size (N). |
| Sample Mean for Grouped Data: xˉ=n∑mf | Approximates the sample mean by summing the products of class midpoints (m) and their frequencies (f), divided by the total sample size (n). |
The calculation involves finding the midpoint of each class, multiplying it by the class frequency, summing these products, and then dividing by the total number of observations 133.
The products of midpoints and frequencies (mf) represent the approximate total for each class interval 134.
2.33 Variance and standard deviation for grouped data
The formulas for calculating population and sample variances for grouped data are presented. The standard deviation is found by taking the positive square root of the variance.
Short-cut formulas are more efficient for these calculations 135.
The following formulas are used for grouped data:
Population variance: σ2=N∑f(m−μ)2 Sample variance: s2=n−1∑f(m−xˉ)2 where m is the midpoint of a class, f is the frequency of the class, N is the total number of population values, and n is the total number of sample values 135.
Short-cut formulas for variance and standard deviation for grouped data:
Population variance: σ2=N∑fm2−N(∑fm)2 Sample variance: s2=n−1∑fm2−n(∑fm)2 The standard deviation is the positive square root of the variance 135.
2.34 Example 3–16: Calculating population variance and standard deviation for grouped data 136
This example demonstrates calculating the variance and standard deviation for grouped data using the daily commuting times of 25 employees 135.
Steps to calculate variance and standard deviation for grouped data:
- Step 1: Calculate ∑fm. Find the midpoint (m) of each class, multiply it by its corresponding frequency (f), and sum these products.
- Step 2: Calculate ∑fm2. Square each midpoint (m), multiply by its corresponding frequency (f), and sum these products.
- Step 3: Calculate the variance. Use the population variance formula: σ2=N∑fm2−N(∑fm)2.
- Step 4: Calculate the standard deviation. Take the positive square root of the variance 136.
| Daily Commuting Time (minutes) | f | m | mf | m^2f |
|---|---|---|---|---|
| 0 to less than 10 | 4 | 5 | 20 | 100 |
| 10 to less than 20 | 9 | 15 | 135 | 2025 |
| 20 to less than 30 | 6 | 25 | 150 | 3750 |
| 30 to less than 40 | 4 | 35 | 140 | 4900 |
| 40 to less than 50 | 2 | 45 | 90 | 4050 |
| N = 25 | — | — | mf = 535 | m^2f = 14,825 |
The population variance is calculated as: σ2=2514,825−25(535)2=2514,825−25286,225=2514,825−11,449=253376=135.04 The population standard deviation is: σ=135.04≈11.62 minutes These calculated values for grouped data are approximations 136.
📝 The population variance for daily commuting times is calculated as σ2=2514,825−25(535)2=135.04, and the population standard deviation is σ≈11.62 minutes 136.
2.35 Example 3–17: Calculating sample variance and standard deviation for grouped data
This example calculates the variance and standard deviation for grouped data using the number of orders received daily by a mail-order company over 50 days 136.
| Number of Orders | f |
|---|---|
| 10–12 | 4 |
| 13–15 | 12 |
| 16–18 | 20 |
| 19–21 | 14 |
3. Chapter 4: Probability
3.1 Mean, variance, and standard deviation for grouped data
When calculating the mean, variance, and standard deviation for grouped data, approximations are used because the exact values of the individual data points are unknown. The midpoint of each class interval is used to represent all values within that interval 137.
- Grouped data calculations: These calculations provide approximate values for the mean and standard deviation, unlike calculations from raw data which yield exact values 137.
The formulas for calculating the mean, variance, and standard deviation for grouped data are as follows:
- Mean (μ or xˉ): μ=n∑mf or xˉ=n∑mf, where m is the midpoint of a class, f is the frequency of the class, and n is the total number of observations.
- Variance (σ2 or s2):
- Population variance: σ2=n∑m2f−nμ2.
- Sample variance: s2=n−1∑m2f−nxˉ2.
- Standard deviation (σ or s):
- Population standard deviation: σ=n∑m2f−nμ2.
- Sample standard deviation: s=n−1∑m2f−nxˉ2 137.
The column labeled mf in a frequency distribution table represents the sum of the products of each class midpoint (m) and its corresponding frequency (f). This sum is used in the calculation of the mean 138.
The column labeled m2f represents the sum of the products of the square of each class midpoint (m2) and its corresponding frequency (f). This sum is used in the calculation of the variance and standard deviation. 137 138.
3.2 Use of standard deviation
The standard deviation, along with the mean, provides valuable information about the spread and distribution of data. Chebyshev's theorem and the empirical rule are two methods that utilize these measures to estimate the proportion of data values falling within certain intervals around the mean 139.
3.3 Chebyshev’s Theorem
Chebyshev's theorem provides a lower bound for the proportion of data values that lie within a specified number of standard deviations from the mean, regardless of the shape of the distribution 140.
- Theorem statement: For any number k>1, at least 1−k21 of the data values lie within k standard deviations of the mean.
- Application: This theorem is applicable to any distribution shape and is useful when the distribution is unknown or not bell-shaped 140.
- Limitations: The theorem is only applicable for k>1, as values of k≤1 result in a proportion of zero or less 141.
| k | Interval | Minimum Proportion of Data |
|---|---|---|
| 2 | Within 2 standard deviations of the mean | 1 - 1/4 = 0.75 (75%) |
| 3 | Within 3 standard deviations of the mean | 1 - 1/9 ≈ 0.89 (89%) |
📝 The average systolic blood pressure for 4000 women was 187 mm Hg with a standard deviation of 22 mm Hg. Using Chebyshev's theorem, at least 75% of these women have a systolic blood pressure between 143 and 231 mm Hg 141.
3.4 Empirical Rule
The empirical rule, also known as the 68-95-99.7 rule, applies specifically to distributions that are bell-shaped. It provides approximate percentages of data values that fall within one, two, and three standard deviations of the mean 141.
- Applicability: This rule is only valid for bell-shaped distributions, often referred to as normal curves.
- Key percentages:
- Approximately 68% of the observations lie within one standard deviation of the mean.
- Approximately 95% of the observations lie within two standard deviations of the mean.
- Approximately 99.7% of the observations lie within three standard deviations of the mean 141.
📝 For a bell-shaped distribution of ages with a mean of 40 years and a standard deviation of 12 years, approximately 95% of the people are between 16 and 64 years old 143.
The case study "Here comes the SD" discusses the increasing importance of the standard deviation in financial contexts, such as mutual fund returns, and its role in measuring risk. It highlights how understanding the standard deviation and the normal curve can enhance an investor's comprehension of data variability and probability 142.
3.5 Measures of position
Measures of position describe the location of a single data value relative to other values within a dataset. Key measures include quartiles, percentiles, and percentile rank 144.
3.6 Quartiles and Interquartile Range
Quartiles divide a ranked data set into four equal parts. The first quartile (Q1) is the median of the lower half, the second quartile (Q2) is the median of the entire data set, and the third quartile (Q3) is the median of the upper half. 144 145.
- Quartile definitions:
- Q1: The value of the middle term among observations less than the median.
- Q2: The median of the data set, dividing it into two equal halves.
- Q3: The value of the middle term among observations greater than the median.
- Interpretation:
- Approximately 25% of the data values are less than Q1, and about 75% are greater.
- Approximately 75% of the data values are less than Q3, and about 25% are greater 145.
The interquartile range (IQR) is the difference between the third and first quartiles, representing the spread of the middle 50% of the data 145.
- IQR Formula: IQR=Q3−Q1 145.
📝 For a dataset with profits of 12 companies, Q1 is $9.5 billion, Q2 is $12.5 billion, and Q3 is $15.5 billion. The IQR is $6 billion. The profit of Merck & Co ($8 billion) falls in the bottom 25%. 145 146.
3.7 Percentiles and Percentile Rank
Percentiles divide a ranked data set into 100 equal parts. There are 99 percentiles (P1 to P99), where Pk represents the value below which approximately k% of the data falls 147.
- Percentile definition: The kth percentile (Pk) is a value such that about k% of the measurements are smaller than Pk and about (100−k)% are greater.
- Calculating Percentiles: The approximate value of the kth percentile (Pk) is the value of the 100knth term in a ranked data set, where n is the sample size 147.
The percentile rank of a specific value (xi) indicates the percentage of values in the data set that are less than xi. 147 148.
- Percentile Rank Formula: Percentile Rank of xi=Total number of valuesNumber of values less than xi×100 147.
📝 For the same dataset of 12 companies' profits, the 42nd percentile is approximately $11 billion. This means about 42% of these companies had profits less than or equal to $11 billion 147. 📝 For the same dataset, the percentile rank of a $14 billion profit is approximately 67%. This means about 67% of the companies had profits less than $14 billion 148.
3.8 Box-and-whisker plot
A box-and-whisker plot is a graphical representation that displays the center, spread, and skewness of a data set using five key measures: the median, the first quartile (Q1), the third quartile (Q3), and the minimum and maximum values within the inner fences 149.
- Components: The plot consists of a box representing the interquartile range (IQR) and whiskers extending from the box to indicate the range of the data within specified limits.
- Purpose: It helps visualize the distribution of data, identify potential outliers, and compare different data sets 149.
3.9 Constructing a box-and-whisker plot
A box-and-whisker plot is a graphical representation that displays the center, spread, and skewness of a dataset. It uses five key summary measures: the median, the first quartile (Q1), the third quartile (Q3), and the minimum and maximum values within the inner fences 150.
The construction of a box-and-whisker plot involves several steps:
- Rank the data: Arrange the data in increasing order.
- Calculate key measures: Determine the median, Q1, Q3, and the interquartile range (IQR = Q3 - Q1).
- Median: The middle value of a ranked dataset.
- First Quartile (Q1): The median of the values smaller than the overall median.
- Third Quartile (Q3): The median of the values larger than the overall median.
- Interquartile Range (IQR): The difference between Q3 and Q1 153.
- Determine inner fences: Calculate the lower inner fence (Q1 - 1.5 * IQR) and the upper inner fence (Q3 + 1.5 * IQR).
- Identify data within fences: Find the smallest and largest data values that fall within these inner fences. These will be the endpoints of the whiskers.
- Draw the plot:
- Draw a horizontal line representing the data range.
- Draw a box with its left side at Q1 and its right side at Q3.
- Draw a vertical line inside the box at the median.
- Connect the box to the smallest and largest values within the inner fences using lines (whiskers).
- Identify outliers: Any data point falling outside the inner fences is considered an outlier and is typically marked with an asterisk 150.
The box-and-whisker plot visually represents the distribution of the data. Approximately 50% of the data falls within the box, with 25% on either side of the median 151.
3.10 Outlier Classification
Outliers can be further classified into mild and extreme outliers using outer fences.
- Lower outer fence: Q1 - 3.0 * IQR.
- Upper outer fence: Q3 + 3.0 * IQR 153.
- A mild outlier falls outside an inner fence but within an outer fence.
- An extreme outlier falls outside both outer fences 151.
The shape of the box-and-whisker plot can indicate skewness:
- Symmetric data: The median line is centered within the box, and the whiskers are of similar length.
- Right-skewed data: The median is closer to the left side of the box, and the right whisker is longer than the left.
- Left-skewed data: The median is closer to the right side of the box, and the left whisker is longer than the right 151.
📝 Example The following data are the incomes (in thousands of dollars) for a sample of 12 households: 75, 69, 84, 112, 74, 104, 81, 90, 94, 144, 79, 98.
- Ranked data: 69, 74, 75, 79, 81, 84, 90, 94, 98, 104, 112, 144.
- Median = 87, Q1 = 77, Q3 = 101, IQR = 24.
- 1.5 * IQR = 36. Lower inner fence = 77 - 36 = 41. Upper inner fence = 101 + 36 = 137.
- Smallest value within fences = 69. Largest value within fences = 112.
- The box-and-whisker plot shows a box from 77 to 101, with a median line at 87. Whiskers extend from 69 to 112. The value 144 is an outlier. The data appear skewed to the right 150 151.
3.11 Exercises on box-and-whisker plots and data analysis
The following exercises require the construction of box-and-whisker plots and analysis of data skewness and outliers 151 152 153 154 155 156 157 158 159 160.
- Prepare a box-and-whisker plot for a given dataset and identify any outliers.
- Construct a box-and-whisker plot for another dataset and determine if outliers are present.
- Create a box-and-whisker plot for student waiting times at a bookstore and comment on the data's skewness.
- Prepare a box-and-whisker plot for credit scores and analyze the skewness 151.
- Construct a box-and-whisker plot for crude oil reserves and assess symmetry or skewness.
- Make a box-and-whisker plot for computer keyboards assembled and comment on skewness.
- Prepare a box-and-whisker plot for minor penalties in the NHL and analyze skewness.
- Make a box-and-whisker plot for student suspensions due to weapons and comment on skewness.
- Prepare a box-and-whisker plot for computer monitor production and comment on skewness.
- Make a box-and-whisker plot for new car sales and comment on skewness 152.
- Determine the values of the three quartiles and the interquartile range for annual incomes, and analyze the position of a specific value relative to these quartiles. Calculate the approximate 70th percentile and the percentile rank of a specific score, providing interpretations for each.
- Calculate the values of the three quartiles and the interquartile range for NBA top scorers' points, and analyze the position of a specific score relative to these quartiles. Find the approximate 70th percentile and the percentile rank of a specific score, providing interpretations for each.
- Prepare a box-and-whisker plot for time spent in a laundromat and comment on skewness and outliers.
- Make a box-and-whisker plot for time taken to find a full-time job and comment on skewness and outliers 156.
- Calculate the mean and median for annual incomes, identify outliers, and recalculate measures after removing outliers. Determine which measure is better for summarizing the data and explain why.
- Calculate the mean and median for the differences in winning times of Belmont Stakes races compared to Secretariat's record. Determine if a mode exists and explain why or why not. Compute the variance, standard deviation, and range for these data.
- Calculate the mean and median for the total points scored by top NBA scorers. Determine if a mode exists and explain why or why not. Compute the variance, standard deviation, and range for these data.
- Find the mean, median, and mode for the number of driving citations. Calculate the range, variance, and standard deviation. Determine if these summary measures are population parameters or sample statistics.
- Find the mean, variance, and standard deviation for rainfall data presented in a frequency distribution. Determine if these summary measures are population parameters or sample statistics.
- Find the mean, variance, and standard deviation for the time spent looking for parking spaces, presented in a frequency distribution. Determine if these summary measures are population parameters or sample statistics.
- Using Chebyshev's theorem, find the percentage of students who learn a word processor within specified time intervals and determine the interval containing at least 75% of learning times.
- Using Chebyshev's theorem, find the percentage of Americans who watch television within specified time intervals and determine the interval containing at least 84% of viewing times.
- Using the empirical rule, find the percentage of students who learn a word processor within specified time intervals and determine the interval containing 99.7% of learning times.
- Using the empirical rule, find the percentage of employees whose annual earnings fall within specified intervals and determine the interval containing 68% of earnings.
- Calculate the mean, median, and mode for driving citation data. Calculate the range, variance, and standard deviation. Determine if these measures are population parameters or sample statistics.
- Calculate the mean, variance, and standard deviation for rainfall data in a frequency distribution. Determine if these measures are population parameters or sample statistics.
- Calculate the mean, variance, and standard deviation for time spent looking for parking spaces in a frequency distribution. Determine if these measures are population parameters or sample statistics.
- Using Chebyshev's theorem, find at least what percentage of students will learn the basics of a word processor in given time intervals and find the interval containing at least 75% of learning times.
- Using Chebyshev's theorem, find at least what percentage of Americans watched television in given time intervals and find the interval containing at least 84% of viewing times.
- Using the empirical rule, find the percentage of students who will learn the basics of a word processor in given time intervals and find the interval containing 99.7% of learning times.
- Using the empirical rule, find the percentage of employees whose annual earnings are between specified values and find the interval containing 68% of earnings.
- Calculate the mean, median, and mode for driving citation data. Calculate the range, variance, and standard deviation. Determine if these measures are population parameters or sample statistics 154.
- Using Chebyshev's theorem, find at least what percentage of Americans watched television in given time intervals and find the interval containing at least 84% of viewing times 155.
- Using the empirical rule, find the percentage
3.12 Experiment, outcomes, and sample space
An experiment is a process that yields one of several possible observations, called outcomes. The collection of all possible outcomes for an experiment is known as the sample space, denoted by S. Each individual outcome within the sample space is referred to as a sample point 172.
- Experiment: A process with observable results.
- Outcome: A single result of an experiment.
- Sample Space (S): The set of all possible outcomes of an experiment 172.
Venn diagrams and tree diagrams are visual tools used to represent sample spaces and their outcomes. A Venn diagram uses a geometric shape to depict all possible outcomes, while a tree diagram illustrates each outcome as a branch 172.
- Venn Diagram: A graphical representation of all possible outcomes within a closed shape.
- Tree Diagram: A diagram where each outcome is represented by a branch, showing sequential possibilities 172.
3.13 Simple and compound events
An event is defined as a collection of one or more outcomes from an experiment 174.
- Event: A subset of the sample space.
- Simple Event: An event consisting of exactly one outcome.
- Compound Event: An event consisting of more than one outcome 174.
For example, in an experiment of selecting two workers and noting their gender (M for man, W for woman), the outcome MM (both men) is a simple event. The event "at most one man is selected" includes the outcomes MW, WM, and WW, making it a compound event 174 175.
📝 In an experiment of selecting two workers, let A be the event that at most one man is selected. This event includes the outcomes where no man is selected (WW) or one man is selected (MW, WM). Therefore, A = {MW, WM, WW}, and it is a compound event 175.
3.14 Concepts and procedures
This section defines fundamental terms in probability and introduces exercises for listing outcomes and sample spaces.
- Experiment: A process or action that produces outcomes.
- Outcome: A single possible result of an experiment.
- Sample space (S): The set of all possible outcomes of an experiment.
- Simple event: An event that includes only one outcome.
- Compound event: An event that includes more than one outcome 176.
Exercises in this section focus on identifying outcomes and sample spaces for various experiments, such as rolling a die, tossing a coin, selecting items, and observing opinions. They also involve listing outcomes for specific events within these experiments and classifying them as simple or compound 176 177.
3.15 Calculating probability
Probability is a numerical measure of an event's likelihood, ranging from 0 (impossible) to 1 (sure event). The sum of probabilities for all simple events in an experiment must equal 1 177.
📝 For one roll of a die, the probability of obtaining an even number (2, 4, or 6) is 3/6=.50 178.
3.16 Properties of probability
- First Property: The probability of any event A, denoted P(A), is between 0 and 1, inclusive.
- 0≤P(A)≤1
- Second Property: The sum of the probabilities of all simple events for an experiment is 1 177.
- P(E1)+P(E2)+P(E3)+⋯=1
3.17 Three conceptual approaches to probability
Probability can be calculated using three main approaches: classical, relative frequency, and subjective 178.
3.18 Classical probability
This approach is used when all outcomes of an experiment are equally likely. The probability of an event is the ratio of favorable outcomes to the total number of outcomes 178.
- Equally likely outcomes: Outcomes that have the same probability of occurrence 178.
| Type of Event | Formula |
|---|---|
| Simple Event (Ei) | P(Ei) = 1 / Total number of outcomes |
| Compound Event (A) | P(A) = Number of outcomes favorable to A / Total number of outcomes for the experiment |
- Example 4–7: For one toss of a coin, the probability of heads is 1/2=.50, and the probability of tails is 1/2=.50.
- Example 4–8: For one roll of a die, the probability of obtaining an even number (2, 4, or 6) is 3/6=.50 178.
- Example 4–9: If one woman is randomly selected from 500 women, and 120 have played golf at least once, the probability that she has played golf at least once is 120/500=.24 179.
3.19 Relative frequency concept of probability
This approach is used when outcomes are not equally likely or when experiments cannot be easily repeated under identical conditions. It uses past data or data from repeated experiments to approximate probabilities 179.
- Law of Large Numbers: As an experiment is repeated many times, the probability calculated from relative frequencies approaches the actual or theoretical probability 180.
| Scenario | Formula |
|---|---|
| Approximation using relative frequency | P(A) = f / n, where f is the number of times event A is observed and n is the total number of trials |
- Example 4–10: If 10 out of 500 manufactured cars are lemons, the approximate probability that the next car is a lemon is 10/500=.02. The probability that the next car is good is 490/500=.98 180.
- Example 4–11: To find the probability that a randomly selected family in New York State owns a home, Allison sampled 1000 families and found 730 owned homes. The approximate probability is 730/1000=.730 181.
3.20 Subjective probability
This approach assigns probabilities based on individual judgment, experience, information, and belief. It is used for experiments with neither equally likely outcomes nor the potential for repetition 181.
- Definition: Subjective probability is the probability assigned to an event based on subjective judgment, experience, information, and belief.
- Examples include predicting the success of a new product, the outcome of a sports game, or an individual's academic performance 181.
3.21 Exercises on probability concepts
Exercises cover identifying impossible and sure events, explaining the properties of probability, and distinguishing between the three approaches to probability with examples 181 182.
- Exercise 4.19 & 4.20: These exercises require identifying which given values cannot be probabilities and explaining why, based on the property that probabilities must be between 0 and 1.
- Exercise 4.21: Discusses whether outcomes for a metal detector at an airport are equally likely and which probability approach to use.
- Exercise 4.22: Asks whether applicants for a security guard position with or without experience have equally likely outcomes and which probability approach is suitable.
- Exercise 4.23 & 4.24: These exercises ask to classify probabilities given by a company president and a football coach as classical, relative frequency, or subjective.
- Exercise 4.25: Calculates the probability of selecting a red or green marble from a hat containing 40 marbles (18 red, 22 green).
- Exercise 4.26: Calculates the probability of rolling a number less than 5 or a number from 3 to 6 on a single die roll.
- Exercise 4.27: Calculates the approximate probability that a randomly selected adult has shopped on the Internet, based on a sample of 2000 adults where 1320 have shopped online.
- Exercise 4.28: Finds the probability that a randomly selected student from a statistics class of 42 students has volunteered for community service, given that 28 have done so.
- Exercise 4.29: Calculates the probability that a randomly selected car owner from a group of 50 owns a hybrid car, given that 8 own hybrid cars.
- Exercise 4.30: Calculates the probability that a randomly selected family from an apartment complex paid income tax last year, given that 600 out of 3000 families paid no income tax.
- Exercise 4.31: Calculates the probability of a correct and wrong answer for a multiple-choice question with five options, assuming a random guess, and checks if the probabilities sum to 1.0.
- Exercise 4.32: Calculates the probability that a randomly selected eligible voter is registered or not registered, given 972 registered voters out of 1265 eligible voters, and checks if the probabilities sum to 1.0.
- Exercise 4.33: Calculates the probability that a randomly selected candidate from six equally qualified candidates is a woman (4 women) or a man, and checks if the probabilities sum to 1.0.
- Exercise 4.34: Calculates the probability that a randomly selected company from a sample of 500 offers free psychiatric help, and the probability that it does not, checking if they sum to 1.0 182.
- Exercise 4.35: Calculates the probability that a randomly selected company from a sample of 400 offers a free health fitness center, and the probability that it does not, checking if they sum to 1.0.
- Exercise 4.36: Calculates the probabilities of job loss due to company closure, insufficient work, or position abolition for 15,000 workers, and checks if these probabilities sum to 1.0.
- Exercise 4.37: Requires writing a frequency distribution and calculating relative frequencies for the number of credit cards possessed by 820 adults, then finding probabilities for having three or five or more cards.
- Exercise 4.38: Requires writing a frequency distribution and calculating relative frequencies for yearly income categories of 500 families, then finding probabilities for incomes less than $40,000 or more than $80,000.
- Exercise 4.39: Asks how to find the approximate probability that a family in Los Angeles earns more than $175,000 a year, and what procedure to use.
- Exercise 4.40: Asks how to find the approximate probabilities of different outcomes for a loaded die and what procedure to use 183.
3.22 Counting rule
The counting rule helps determine the total number of outcomes for experiments with multiple steps, especially when listing all outcomes is impractical 183.
- Counting Rule to Find Total Outcomes: If an experiment has sequential steps, the total number of outcomes is the product of the number of outcomes for each step 183.
| Experiment Structure | Formula |
|---|---|
| Experiment with 3 steps (m, n, k outcomes) | Total outcomes = m * n * k |
- Example 4–12: Tossing a coin three times has 2×2×2=8 total outcomes 183.
- Example 4–13: Choosing an interest rate (fixed/variable) and a payment period (36, 48, 60 months) results in 2×3=6 total outcomes.
- Example 4–14: For a National Football League team playing 16 games, with 3 possible outcomes (win, loss, tie) per game, the total possible outcomes are 316=43,046,721 184.
3.23 Marginal and conditional probabilities
Marginal and conditional probabilities are used to analyze data presented in contingency tables, which classify outcomes based on two or more variables 184.
- Contingency table: A table that displays the frequency distribution of outcomes based on two or more characteristics.
- Cell: Each box within a contingency table that contains a frequency for two characteristics 184.
3.24 Marginal probability
Marginal probability refers to the probability of a single event occurring, without considering any other event. It is calculated by dividing the total for a row or column (margin) by the grand total 185.
- Definition: Marginal probability is the probability of a single event without consideration of any other event; also called simple probability 185.
| Event | Calculation from Table 4.4 | Probability |
|---|---|---|
| Male (M) | Number of males / Total employees | 60/100 =.60 |
| Female (F) | Number of females / Total employees | 40/100 =.40 |
| In Favor (A) | Number in favor / Total employees | 19/100 =.19 |
| Against (B) | Number against / Total employees | 81/100 =.81 |
3.25 Conditional probability
Conditional probability is the probability that an event will occur given that another event has already occurred. It is denoted as P(A∣B), read as "the probability of A given B." 185.
-
Definition: Conditional probability is the probability that an event will occur given that another event has already occurred.
-
Formula: P(A∣B)=P(A∩B)/P(B) 185.
-
Example 4–15: For the employee data, the conditional probability that an employee is in favor given they are male is P(in favor∣male)=15/60=.25. This is calculated using the number of males in favor divided by the total number of males.
-
Example 4–16: The conditional probability that an employee is female given they are in favor is P(female∣in favor)=4/19≈.2105. This is calculated using the number of females in favor divided by the total number of employees in favor 186.
3.26 Case Study: Rolling Stops
This case study presents percentages of men and women who slow down instead of stopping at stop signs, illustrating conditional probabilities. For instance, P(makes a complete stop∣male)=.42 and P(makes a complete stop∣female)=.56 187.
3.27 Mutually exclusive events
Mutually exclusive events are events that cannot occur at the same time; they have no common outcomes 188.
-
Definition: Events that cannot occur together are said to be mutually exclusive events.
-
The final outcomes of any experiment are always mutually exclusive 188.
-
Example 4–17: For one roll of a die, events A (even number: 2, 4, 6) and B (odd number: 1, 3, 5) are mutually exclusive because they share no outcomes. Events A (even number) and C (number less than 5: 1, 2, 3, 4) are not mutually exclusive because they share outcomes 2 and 4.
-
Example 4–18: Events Y (adult has shopped on the Internet at least once) and N (adult has never shopped on the Internet) are mutually exclusive because an adult cannot both have shopped and never have shopped on the Internet 188.
3.28 Independent versus dependent events
Two events are independent if the occurrence of one does not affect the probability of the other. If the occurrence of one event does affect the probability of the other, they are dependent.
This distinction is crucial for calculating joint probabilities 189.
- Independent events: The probability of event A occurring is the same whether or not event B has occurred. Mathematically, this is expressed as P(A∣B)=P(A) or P(B∣A)=P(B).
- Dependent events: The probability of event A occurring changes if event B has occurred. Mathematically, this is expressed as P(A∣B)=P(A) or P(B∣A)=P(B) 189.
3.29 Example 4–19: Dependence of events
In a survey of 100 employees, events "female (F)" and "in favor (A)" were found to be dependent because P(A∣F)=P(A) (0.2105=0.40) 189.
3.30 Example 4–20: Independence of events
A box contains 100 CDs, 60 from Machine I and 15 defective. Of the 60 from Machine I, 9 are defective.
Events "defective (D)" and "manufactured on Machine I (A)" are independent because P(D)=P(D∣A) (0.15=0.15) 190.
| Event Type | Condition for Independence |
|---|---|
| Independent Events | P(A |
| Dependent Events | P(A |
3.31 Complementary events
Complementary events are two mutually exclusive events that, together, encompass all possible outcomes of an experiment. The probability of an event and the probability of its complement always sum to 1 191.
- The complement of event A, denoted as Aˉ, includes all outcomes not in A.
- The relationship between an event and its complement is P(A)+P(Aˉ)=1.
- This allows calculation of the complement's probability: P(Aˉ)=1−P(A) 191.
3.32 Example 4–21: Complementary events for taxpayers
For 2000 taxpayers, 400 were audited. The complementary events are:
- A: The selected taxpayer has been audited at least once (P(A)=400/2000=0.20).
- Aˉ: The selected taxpayer has never been audited (P(Aˉ)=1600/2000=0.80) 191.
3.33 Example 4–22: Complementary events for gun control opinions
In a group of 5000 adults, 3500 favor stricter gun control laws. The complementary events are:
- A: The selected adult favors stricter gun control laws (P(A)=3500/5000=0.70).
- Aˉ: The selected adult is against such laws or has no opinion (P(Aˉ)=1500/5000=0.30) 192.
3.34 Intersection of events and the multiplication rule
The intersection of two events represents the outcomes common to both. The multiplication rule is used to calculate the probability of this intersection, also known as joint probability 195.
- Intersection of Events: Denoted by A∩B or AB, it includes all outcomes present in both event A and event B 195.
- Joint Probability: The probability of the intersection of two events, P(A∩B) 196.
3.35 Multiplication Rule for Joint Probability
The probability of the intersection of two events A and B is calculated as: P(A∩B)=P(A)P(B∣A) or P(A∩B)=P(B)P(A∣B) 196.
3.36 Example 4–23: Joint probability of gender and education
Table 4.7 classifies employees by gender and education. The probability that a randomly selected employee is a female and a college graduate is P(F∩G)=P(F)P(G∣F)=(13/40)(4/13)=4/40=0.100 196.
3.37 Example 4–24: Joint probability with dependent events (without replacement)
A box contains 20 DVDs, 4 of which are defective. The probability that two randomly selected DVDs (without replacement) are both defective is P(D1∩D2)=P(D1)P(D2∣D1)=(4/20)(3/19)≈0.0316 198.
3.38 Calculating Conditional Probability
Given P(A)>0 and P(B)>0: P(B∣A)=P(A)P(A∩B) P(A∣B)=P(B)P(A∩B) 199.
3.39 Example 4–25: Conditional probability of a computer science major
The probability a student is a senior is P(A)=0.20, and the joint probability of being a senior and a computer science major is P(A∩B)=0.03. The conditional probability that a student is a computer science major given they are a senior is P(B∣A)=P(A)P(A∩B)=0.200.03=0.15 199.
3.40 Multiplication Rule for Independent Events
If events A and B are independent, the probability of their intersection is simply the product of their individual probabilities: P(A∩B)=P(A)P(B) 199.
3.41 Example 4–26: Joint probability of independent fire detectors
The probability that a single fire detector fails is 0.02. For two independent detectors, the probability that both fail is P(A∩B)=P(A)P(B)=(0.02)(0.02)=0.0004 199.
3.42 Example 4–27: Joint probability of three independent events
The probability a patient is allergic to penicillin is 0.20. For three independent patients:
- (a) The probability all three are allergic is P(A∩B∩C)=P(A)P(B)P(C)=(0.20)3=0.008.
- (b) The probability at least one is not allergic is 1−P(all three are allergic)=1−0.008=0.992 200.
3.43 Joint Probability of Mutually Exclusive Events
The joint probability of two mutually exclusive events is always zero, as they cannot occur simultaneously. P(A∩B)=0 201.
3.44 Case Study 4–2: Baseball player slumps and streaks
A player hitting.250 has a 0.75 probability of not getting a hit on any given trip to the plate. The probability of going hitless 10 times in a row is (0.75)10≈0.0563, illustrating the multiplication rule for independent events 201.
3.45 Intersection of events and the multiplication rule
The intersection of two events refers to the outcomes that are common to both events. The joint probability of two or more events is the probability that all of them occur simultaneously.
The multiplication rule is used to calculate this joint probability, and its form differs depending on whether the events are dependent or independent 202.
- Intersection of two events: The outcomes that belong to both event A and event B.
- Joint probability: The probability that two or more events occur at the same time 202.
3.46 Multiplication rule for independent events
When two events are independent, the occurrence of one does not affect the probability of the other. The joint probability is simply the product of their individual probabilities 202.
- Independent events: Events where the outcome of one does not influence the outcome of another.
- Joint probability of independent events: For independent events A and B, P(A and B)=P(A)×P(B) 202.
📝 For dependent events A and B, P(A and B)=P(A)×P(B∣A).
3.47 Multiplication rule for dependent events
For dependent events, the probability of the second event occurring is conditional on the first event having already occurred. The joint probability is calculated by multiplying the probability of the first event by the conditional probability of the second event given the first 202.
- Dependent events: Events where the outcome of one event affects the probability of another.
- Joint probability of dependent events: For dependent events A and B, P(A and B)=P(A)×P(B∣A) or P(A and B)=P(B)×P(A∣B) 202.
3.48 Applications of joint probability
Joint probabilities are frequently calculated using two-way classification tables, especially when dealing with categorical data from surveys or experiments. These tables allow for the direct identification of the number of outcomes in the intersection of events. 202 203 204 205.
- Exercise 4.80: This exercise involves calculating joint probabilities from a survey of senior citizens regarding victimization by telemarketers, categorized by age group. It asks for probabilities such as P(have been victimized and C) and P(have never been victimized and A) 202.
- Exercise 4.81: This exercise uses a table classifying basketball players by gender and graduation status to find joint probabilities like P(female and graduated) and P(male and did not graduate).
- Exercise 4.82: This exercise involves calculating joint probabilities from a classification of employees based on gender and retirement benefits, asking for the probability of the intersection of events "woman" and "yes," and "no" and "man.".
- Exercise 4.83: This exercise uses a table of adults' internet shopping habits by gender to find joint probabilities such as P(has never shopped on the Internet and is a male) and P(has shopped on the Internet and is a female).
- Exercise 4.84: This exercise calculates joint probabilities from flight arrival times for two airlines, asking for P(more than 1 hour late and airline A) and P(airline B and less than 30 minutes late) 203.
- Exercise 4.85: This exercise uses a table classifying adults' financial outlook relative to their parents by education level to find joint probabilities such as P(better off and high school) and P(more than high school and worse off).
- Exercises 4.86-4.90: These exercises involve calculating the probability of selecting multiple individuals with specific characteristics from a group, often requiring the use of tree diagrams to visualize dependent events.
- Exercises 4.91-4.93: These exercises focus on calculating probabilities for multiple independent or dependent events, such as winning contracts or items being returned, often using tree diagrams.
- Exercises 4.94-4.95: These exercises calculate the probability of multiple independent events occurring, such as individuals being allergic to a drug or farmers being in debt 204.
- Exercises 4.96-4.99: These exercises focus on calculating conditional probabilities, where the probability of an event is determined given that another event has already occurred 205.
3.49 Union of events and the addition rule
The union of two events includes all outcomes that belong to either event, or both. The addition rule is used to calculate the probability of this union, accounting for any overlap between the events to avoid double counting 205.
- Union of events: The collection of all outcomes that belong to event A, or event B, or both. Denoted as A∪B or "A or B" 205.
3.50 Addition rule for non-mutually exclusive events
When events A and B are not mutually exclusive, meaning they can occur at the same time, the probability of their union is found by adding their individual probabilities and subtracting the probability of their intersection. 205 206.
- Addition rule: P(A or B)=P(A)+P(B)−P(A and B).
- This rule prevents double-counting outcomes that are common to both events 206.
3.51 Addition rule for mutually exclusive events
If two events are mutually exclusive, they cannot occur at the same time, meaning their intersection is empty and its probability is zero. In this case, the addition rule simplifies to the sum of their individual probabilities 208.
- Mutually exclusive events: Events that cannot occur simultaneously; their intersection is an empty set.
- Addition rule for mutually exclusive events: P(A or B)=P(A)+P(B) 208.
3.52 Applications of the addition rule
The addition rule is applied in various scenarios, including analyzing survey data presented in two-way tables and determining the probability of a person belonging to one category or another. 205 206 207 208.
- Example 4-29: Illustrates the union of events "male" and "takes at least one medicine" by calculating the number of senior citizens in either category or both 205.
- Example 4-30: Calculates the probability that a selected person is a faculty member or in favor of a proposal using a two-way classification table of responses. 206.
- Example 4-31: Determines the probability that a randomly selected person is male or vegetarian, using a two-way table and the addition rule 207.
- Example 4-32: Calculates the probability that a selected person is in favor of a proposal or is neutral, demonstrating the addition rule for mutually exclusive events 208.
4. Chapter 5: Discrete random variables and their probability distributions
4.1 Union of events and the addition rule
The addition rule is used to calculate the probability of the union of events, meaning the probability that at least one of the events occurs. This rule can be extended to more than two events 209.
- Mutually exclusive events: Events that cannot occur at the same time. For mutually exclusive events A and B, P(A or B)=P(A)+P(B).
- Non-mutually exclusive events: Events that can occur at the same time. For non-mutually exclusive events A and B, P(A or B)=P(A)+P(B)−P(A and B) 210.
4.2 Example: Rolling a die twice
Consider rolling a die twice. The experiment has 36 equally likely outcomes.
We want to find the probability that the sum of the numbers obtained on the two rolls is 5, 7, or 10. The events "sum is 5," "sum is 7," and "sum is 10" are mutually exclusive.
- There are 4 outcomes that result in a sum of 5.
- There are 6 outcomes that result in a sum of 7.
- There are 3 outcomes that result in a sum of 10.
4.3 Example: Genetic engineering opinions
Consider an experiment where two persons are randomly selected to observe their opinions on genetic engineering. The probability that a person favors it is 0.55, and the probability that a person is against it is 0.45.
- The four possible outcomes are: FF (both favor), FA (first favors, second against), AF (first against, second favors), AA (both against).
- The probabilities for these outcomes are:
- P(FF)=(0.55)(0.55)=0.3025.
- P(FA)=(0.55)(0.45)=0.2475.
- P(AF)=(0.45)(0.55)=0.2475.
- P(AA)=(0.45)(0.45)=0.2025 210.
4.4 Applications of the addition rule 211 212
The addition rule is applied in various scenarios involving surveys and classifications to determine probabilities of combined events.
| Scenario | Event A | Event B | Probability to Find |
|---|---|---|---|
| Senior citizens and telemarketers | Victimized | Age group 70-79 (B) | P(Victimized or B) |
| Senior citizens and telemarketers | Never victimized | Age group 80 or over (C) | P(Never victimized or C) |
| Basketball players | Female | Did not graduate | P(Female or did not graduate) |
| Basketball players | Graduated | Male | P(Graduated or Male) |
| Employees and retirement benefits | Woman | Yes (retirement benefits) | P(Woman or Yes) |
| Employees and retirement benefits | No (retirement benefits) | Man | P(No or Man) |
| Adults and Internet shopping | Never shopped on Internet | Female | P(Never shopped or Female) |
| Adults and Internet shopping | Shopped on Internet | Male | P(Shopped or Male) |
| Adults and Internet shopping | Shopped on Internet | Never shopped on Internet | P(Shopped or Never shopped) |
| Airlines and arrival times | More than 1 hour late | Airline A | P(More than 1 hour late or Airline A) |
| Airlines and arrival times | Less than 30 minutes late | Airline B | P(Airline B or Less than 30 minutes late) |
| Airlines and arrival times | Airline A | Airline B | P(Airline A or Airline B) |
| Adults and financial outlook | Better off | High school education | P(Better off or High school) |
| Adults and financial outlook | Worse off | More than high school education | P(More than high school or Worse off) |
| Adults and financial outlook | Better off | Worse off | P(Better off or Worse off) |
4.5 Odds and probability
Odds provide a way to express the likelihood of an event occurring. They can be converted into probabilities, and vice versa.
- Odds in favor of an event: The ratio of the number of favorable outcomes to the number of unfavorable outcomes. If the odds are a:b, the probability of the event is a+ba.
- Odds against an event: The ratio of the number of unfavorable outcomes to the number of favorable outcomes. If the odds are a:b, the probability of the event is a+bb 214.
4.6 Example: Baseball World Series odds
The odds for teams to win the 2009 World Series are given. For example, the Los Angeles Dodgers have odds of 1:8.
- This means for every 1 chance they win, there are 8 chances they do not win.
- The total number of chances is 1+8=9.
📝 The probability that the Los Angeles Dodgers will win the 2009 World Series is 1+81=91. The probability that they will not win is 1+88=98 214.
- For the Boston Red Sox, with odds of 2:13, the probability of winning is 2+132=152 and the probability of not winning is 2+1313=1513 214.
It is important to note that the sum of probabilities for all mutually exclusive outcomes of an experiment must equal 1.0. Odds presented by casinos or betting agencies may not always adhere to this rule to encourage gambling and ensure profit, which is a misuse of probability principles from a purely mathematical standpoint 214.
4.7 Random variables
A random variable is a variable whose value is determined by the outcome of a random experiment. This chapter focuses on discrete random variables, which assume countable values 226.
A discrete random variable assumes values that can be counted, meaning there is a gap between consecutive values. Examples include the number of cars sold in a month or the number of houses on a block 226.
A continuous random variable, in contrast, can assume any value within an interval or intervals and is not countable. Examples include the length of a room or the time taken to commute 227.
4.8 Discrete random variable
A discrete random variable is a variable that assumes countable values 226.
- Number of vehicles owned by a family: This is a discrete random variable as it can take on values like 0, 1, 2, 3, or 4.
- Number of cars sold at a dealership during a given month: This is countable.
- Number of houses in a certain block: This is countable.
- Number of fish caught on a fishing trip: This is countable.
- Number of complaints received at an airline office on a given day: This is countable 226.
- Number of heads obtained in three tosses of a coin: This is countable (0, 1, 2, or 3 heads) 227.
📝 A discrete random variable assumes countable values, such as the number of cars sold at a dealership during a given month 226.
4.9 Continuous random variable
A continuous random variable can assume any value within one or more intervals 227.
- Length of a room: This can be measured to any degree of precision within an interval.
- Time taken to commute from home to work: This can vary continuously.
- Amount of milk in a gallon: This can be slightly more or less than one gallon.
- Weight of a fish: This can be measured with high precision.
- Price of a house: This can vary continuously, though often presented in discrete monetary units.
- Time left on a parking meter: This can be measured continuously.
- Total pounds of fish caught on a fishing trip: This is a continuous measurement.
- Time spent by a physician examining a patient: This is a continuous measurement 227.
4.10 Exercises
- 5.1: Explain the meaning of a random variable, a discrete random variable, and a continuous random variable. Provide one example of each.
- 5.2: Classify the following random variables as discrete or continuous: time left on a parking meter, number of bats broken by a team in a season, number of cars in a parking lot, total pounds of fish caught, number of cars crossing a bridge, time spent examining a patient, number of new accounts opened, time to run a marathon, price of a concert ticket, number of times "please" is said, points scored in a football game, weight of a package, number of customers visiting a bank per hour, number of heads in three coin tosses 227.
- 5.3: Indicate whether each random variable is discrete or continuous: number of new accounts, time to run a marathon, concert ticket price, number of "please" utterances, points scored in a football game, weight of a package.
- 5.4: A household can watch news on ABC, CBS, or NBC. Five households randomly and independently choose a channel. Let x be the number of households watching ABC. Is x discrete or continuous? Explain.
- 5.5: One of four gas stations is Texaco. Six cars stop randomly and independently. Let x be the number of cars stopping at Texaco. Is x discrete or continuous? Explain 228.
4.11 Probability distribution of a discrete random variable
The probability distribution of a discrete random variable lists all possible values it can assume and their corresponding probabilities 228.
A probability distribution must satisfy two conditions:
- The probability assigned to each value of the random variable x must be between 0 and 1, inclusive (0≤P(x)≤1).
- The sum of the probabilities assigned to all possible values of x must equal 1 (∑P(x)=1) 229.
4.12 Example 5–1: Probability distribution of vehicles owned by families 229
The number of vehicles owned by a randomly selected family is a discrete random variable. The probability distribution can be presented in a table using relative frequencies from population data 228.
| Number of Vehicles Owned (x) | Probability P(x) |
|---|---|
| 0 | 0.015 |
| 1 | 0.235 |
| 2 | 0.425 |
| 3 | 0.245 |
| 4 | 0.080 |
| Sum | 1.000 |
The probability that a randomly selected family owns more than two vehicles is the sum of the probabilities for owning three and four vehicles: P(x>2)=P(x=3)+P(x=4)=0.245+0.080=0.325 229.
The probability distribution can also be presented graphically as a bar graph 229.
4.13 Example 5–2: Verifying probability distributions
This example demonstrates how to check if a given table represents a valid probability distribution by verifying the two conditions 230.
- Table (a) is invalid because the sum of probabilities is 0.85, not 1.
- Table (b) is valid because all probabilities are between 0 and 1, and their sum is 1.
- Table (c) is invalid because one probability is negative, violating the first condition 230.
4.14 Example 5–3: Probability distribution of machine breakdowns 231
This example involves graphing a probability distribution and calculating probabilities for various events related to machine breakdowns per week 230.
Let x be the number of breakdowns per week. The probability distribution is:
| Breakdowns per week (x) | Probability P(x) |
|---|---|
| 0 | 0.15 |
| 1 | 0.20 |
| 2 | 0.35 |
| 3 | 0.30 |
| Sum | 1.00 |
- The probability of exactly 2 breakdowns is P(x=2)=0.35.
- The probability of 0 to 2 breakdowns is P(0≤x≤2)=P(x=0)+P(x=1)+P(x=2)=0.15+0.20+0.35=0.70.
- The probability of more than 1 breakdown is P(x>1)=P(x=2)+P(x=3)=0.35+0.30=0.65.
- The probability of at most 1 breakdown is P(x≤1)=P(x=0)+P(x=1)=0.15+0.20=0.35 231.
📝 The probability distribution of machine breakdowns per week is given: 0 breakdowns with P(x)=0.15, 1 breakdown with P(x)=0.20, 2 breakdowns with P(x)=0.35, and 3 breakdowns with P(x)=0.30. The probability of exactly 2 breakdowns is P(x=2)=0.35 231.
4.15 Example 5–4: Constructing a probability distribution for math anxiety
This example demonstrates how to construct a probability distribution for the number of students suffering from math anxiety in a sample of two 232.
Let M be the event that a student suffers from math anxiety (probability P(M)=0.60) and N be the event that a student does not suffer from math anxiety (probability P(N)=0.40). For a sample of two students, let x be the number of students with math anxiety. The possible values for x are 0, 1, and 2 232.
The probability distribution of x is:
| Number of students with math anxiety (x) | Probability P(x) |
|---|---|
| 0 | 0.16 |
| 1 | 0.48 |
| 2 | 0.36 |
| Sum | 1.00 |
4.16 Probability distribution of a discrete random variable
The probability distribution of a discrete random variable lists all possible values of the variable along with their corresponding probabilities. It provides a complete picture of the likelihood of each outcome.
This distribution can be presented in three ways: a table, a graph, or a formula 233.
A valid probability distribution must satisfy two conditions:
- The probability of each value of the random variable must be between 0 and 1, inclusive.
- The sum of all probabilities must equal 1 233.
4.17 Exercises on probability distributions
This section contains exercises that require verifying probability distributions, determining probabilities from given distributions, and constructing probability distributions from frequency data or given probabilities 233 234 235.
- Exercise 5.16 asks to write the probability distribution of the number of lemons in a sample of two cars, given that 5% of all cars are lemons. It also requires drawing a tree diagram.
- Exercise 5.17 asks to construct the probability distribution table for the number of runners in a sample of two who finish a 10K race in 49 minutes 42 seconds or faster, given that 27.4% of participants finish in that time. A tree diagram is also required.
- Exercise 5.18 asks to obtain the probability distribution of the number of adults who are against using animals for research in a random sample of two adults, given that 30% of adults are against it. A tree diagram should also be drawn 234.
- Exercise 5.19 asks to construct the probability distribution table for the number of adult Americans who encounter "rude and disrespectful behavior" often, in a random sample of two, given that 37% of adult Americans encounter it often. A tree diagram is also required.
- Exercises 5.20 and 5.21 involve constructing probability distributions for selections made without replacement from small populations, suggesting the use of tree diagrams 235.
4.18 Mean of a discrete random variable
The mean of a discrete random variable, denoted by μ, is the average value expected per repetition if an experiment is performed many times. It is also known as the expected value, denoted by E(x).
To calculate the mean, each value of the random variable is multiplied by its corresponding probability, and these products are summed 235.
The formula for the mean of a discrete random variable x is: μ=E(x)=∑xP(x) 235.
4.19 Example 5–5: Calculating the mean number of breakdowns
This example demonstrates calculating the mean number of breakdowns for a machine per week using its probability distribution. The products of each breakdown number (x) and its probability (P(x)) are summed to find the mean 235 236.
📝 The mean net winnings for the Aces High instant lottery game are found to be -$0.36, indicating an average loss of 36 cents per ticket 237 238.
4.20 Case Study 5–1: Aces High instant lottery game
This case study calculates the expected net winnings for a player of the Aces High lottery game. It involves determining the probability distribution of net winnings (x) and then calculating the mean of this distribution.
The mean net winnings are found to be -$0.36, indicating an average loss of 36 cents per ticket 237 238.
4.21 Standard deviation of a discrete random variable
The standard deviation of a discrete random variable, denoted by σ, measures the spread or dispersion of its probability distribution. A larger standard deviation indicates that the values of the random variable are spread over a wider range around the mean, while a smaller standard deviation suggests that the values are clustered closely to the mean 236.
The shortcut formula to compute the standard deviation of a discrete random variable x is: σ=∑x2P(x)−μ2 236.
4.22 Example 5–6: Computing the standard deviation of defective computer parts
This example illustrates the calculation of the standard deviation for the number of defective computer parts (x) in a shipment of 400. It involves computing the mean (μ), the sum of x2P(x), and then applying the standard deviation formula. The results show an average of 2.50 defective parts with a standard deviation of 1.204 238 239.
📝 In a shipment of 400 computer parts, the average number of defective parts is 2.50 with a standard deviation of 1.204 238 239.
4.23 Example 5–7: Mean and standard deviation of profits for a new makeup product
This example involves calculating the mean and standard deviation of annual profits (x, in millions of dollars) for a new makeup product. The probability distribution of profits is first established, considering high sales, mediocre sales, and low sales scenarios.
The mean profit is calculated as $1.661 million, with a standard deviation of $2.314 million 240.
4.24 Interpretation of the standard deviation
The standard deviation of a discrete random variable can be interpreted using Chebyshev's theorem. This theorem states that a certain percentage of the total area under a probability distribution curve lies within k standard deviations of the mean.
For instance, at least 75% of the values lie within 2 standard deviations of the mean 240.
4.25 Factorials, combinations, and permutations
This section introduces fundamental mathematical concepts: factorials, combinations, and permutations, which are essential for understanding probability distributions, particularly the binomial distribution 242.
4.26 Factorials
A factorial, denoted by n!, is the product of all positive integers from n down to 1. By definition, 0!=1 242 243.
- Example 5–8: Evaluates 7! as 7×6×5×4×3×2×1=5040.
- Example 5–9: Evaluates 10! as 10×9×⋯×1=3,628,800.
- Example 5–10: Evaluates (12−4)!=8!=40,320.
- Example 5–11: Evaluates (5−5)!=0!=1 243.
4.27 Combinations
Combinations refer to the number of ways to select x elements from a set of n distinct elements, where the order of selection does not matter. The notation for combinations is nCx, read as "the number of combinations of n elements selected x at a time." 243 244.
The formula for combinations is: nCx=x!(n−x)!n! 244.
- Example 5–12: Calculates the number of ways Kristen can select two ice cream flavors from six available flavors. Using the combination formula, 6C2=2!(6−2)!6!=2!4!6!=15 244.
4.28 Combinations
Combinations refer to the number of ways to select items from a larger set where the order of selection does not matter. The formula for combinations is denoted as nCx, representing the number of ways to choose x items from a set of n distinct items 245.
- Combinations formula: The number of combinations of selecting x items from n distinct items is given by: nCx=x!(n−x)!n!.
- Special cases:
- If the number of items to be selected (x) is the same as the total number of items (n), there is only one combination (nCn=1).
- If zero items are to be selected (x=0), there is also only one combination (nC0=1) 245.
📝 Three members of a jury are to be randomly selected from five people. The number of different combinations possible is calculated as 5C3=3!(5−3)!5!=6×2120=10 245.
📝 A company manager needs to call 3 out of 10 equally qualified candidates for an interview. The total number of possible selections is 10C3=3!(10−3)!10!=6×50403,628,800=120 245.
4.29 Permutations
Permutations, also known as arrangements, are similar to combinations but differ in that the order of selection is important. This means that selecting item A then item B is considered a different outcome than selecting item B then item A 246.
- Permutations definition: Permutations give the total number of ways to select x elements from n distinct elements where the order of selection is significant.
- Permutations formula: The number of permutations of selecting x items from n distinct items is given by: nPx=(n−x)!n! 247.
📝 A club with 20 members needs to select a president, secretary, and treasurer. Since the order of selection determines the office held, this is a permutation. The total number of arrangements for selecting 3 names from 20 is 20P3=(20−3)!20!=17!20!=6840 247.
4.30 The Binomial Experiment
A binomial experiment is a sequence of trials where each trial has only two possible outcomes, and the probability of success remains constant across all trials, which are independent of each other. This framework is used to calculate probabilities for a specific number of successes in a fixed number of trials 248.
A binomial experiment must satisfy four conditions:
- Identical trials: The experiment is repeated n times under identical conditions.
- Two outcomes per trial: Each trial results in one of two possible outcomes, typically labeled "success" and "failure.".
- Constant probabilities: The probability of success (p) and failure (q) is constant for each trial, with p+q=1.
- Independent trials: The outcome of one trial does not influence the outcome of any other trial 248.
It is important to note that "success" and "failure" are simply labels for the two outcomes and do not necessarily imply a favorable or unfavorable result. The outcome of interest is typically designated as the "success." 249.
📝 Consider an experiment of 10 coin tosses. This is a binomial experiment because there are 10 identical trials, each toss has two outcomes (heads/success, tails/failure), the probability of heads (p=0.5) and tails (q=0.5) is constant for each toss, and the tosses are independent 249.
5. Chapter 6: Continuous random variables and the normal distribution
5.1 The binomial probability distribution and binomial formula 254
The binomial probability distribution is used to find the probability of exactly x successes in n independent trials, where each trial has only two possible outcomes (success or failure) and the probability of success (p) remains constant for each trial. The random variable x representing the number of successes is a discrete random variable 250.
-
Binomial experiment conditions:
-
There are a fixed number of trials (n).
-
Each trial has only two possible outcomes: success or failure.
-
The trials are independent.
-
The probability of success (p) is the same for each trial 250.
-
Binomial formula: The probability of exactly x successes in n trials is given by: P(x)=nCx⋅px⋅qn−x where:
-
n is the total number of trials.
-
x is the number of successes.
-
p is the probability of success.
-
q is the probability of failure (q=1−p).
-
nCx is the number of combinations of n items taken x at a time 250.
-
Parameters of the binomial distribution: The values of n and p are the parameters of the binomial probability distribution 250.
-
Example 5–18: Calculating the probability of exactly one defective DVD player in a sample of three, where 5% of DVD players are defective.
-
n=3 (total DVD players selected).
-
x=1 (number of defective DVD players).
-
p=0.05 (probability of a DVD player being defective).
-
q=1−0.05=0.95 (probability of a DVD player being good) 251.
-
P(x=1)=3C1⋅(0.05)1⋅(0.95)3−1=3⋅0.05⋅(0.95)2=0.135375 252.
-
Example 5–19: Calculating probabilities for packages not arriving on time.
-
n=10 (total packages mailed).
-
p=0.02 (probability of a package not arriving on time).
-
q=1−0.02=0.98 (probability of a package arriving on time) 252.
-
(a) Probability of exactly one package not arriving: P(x=1)=10C1⋅(0.02)1⋅(0.98)10−1≈0.1637.
-
(b) Probability of at most one package not arriving: P(x≤1)=P(x=0)+P(x=1)=10C0⋅(0.02)0⋅(0.98)10+0.1637≈0.8171+0.1637=0.9808 253.
-
Example 5–20: Writing the probability distribution and drawing a bar graph for executives' opinions on management.
-
n=3 (sample of senior executives).
-
p=0.35 (probability an executive holds the opinion).
-
q=1−0.35=0.65 (probability an executive does not hold the opinion).
-
The probability distribution is calculated for x=0,1,2,3 253.
| x | P(x) |
|---|---|
| 0 | 0.2746 |
| 1 | 0.4436 |
| 2 | 0.2389 |
| 3 | 0.0429 |
📝 For Example 5–18, calculating the probability of exactly one defective DVD player in a sample of three, where 5% of DVD players are defective: P(x=1)=3C1⋅(0.05)1⋅(0.95)3−1=0.135375 252.
5.2 Using the table of binomial probabilities 255 256
Table I in Appendix C provides pre-calculated probabilities for binomial experiments for n from 1 to 25 and selected values of p, simplifying calculations 254.
- Example 5–21: Using Table I to find probabilities for senior executives' opinions on compensation.
- n=6 (sample of senior executives).
- p=0.30 (probability an executive asks about compensation during the first interview) 255.
| x | P(x) |
|---|---|
| 0 | 0.1176 |
| 1 | 0.3025 |
| 2 | 0.3241 |
| 3 | 0.1852 |
| 4 | 0.0595 |
| 5 | 0.0102 |
| 6 | 0.0007 |
- (a) Probability that exactly three executives hold the opinion: P(x=3)=0.1852 255.
- (b) Probability that at most two executives hold the opinion: P(x≤2)=P(x=0)+P(x=1)+P(x=2)=0.1176+0.3025+0.3241=0.7442.
- (c) Probability that at least three executives hold the opinion: P(x≥3)=P(x=3)+P(x=4)+P(x=5)+P(x=6)=0.1852+0.0595+0.0102+0.0007=0.2556.
- (d) Probability that one to three executives hold the opinion: P(1≤x≤3)=P(x=1)+P(x=2)+P(x=3)=0.3025+0.3241+0.1852=0.8118 256.
- (e) Probability distribution of x for n=6 and p=0.30:
| x | P(x) |
|---|---|
| 0 | 0.1176 |
| 1 | 0.3025 |
| 2 | 0.3241 |
| 3 | 0.1852 |
| 4 | 0.0595 |
| 5 | 0.0102 |
| 6 | 0.0007 |
5.3 Probability of success and the shape of the binomial distribution
The shape of the binomial distribution depends on the probability of success (p) for a given number of trials (n) 256.
- Symmetric distribution: Occurs when p=0.50 256.
- Skewed to the right: Occurs when p<0.50. The tail of the distribution is longer on the right side.
- Skewed to the left: Occurs when p>0.50. The tail of the distribution is longer on the left side 257.
5.4 Mean and standard deviation of the binomial distribution
For a binomial distribution, the mean and standard deviation can be calculated more simply using specific formulas 257.
-
Formulas:
-
Mean (μ): μ=np.
-
Standard deviation (s): s=npq 257. where n is the number of trials, p is the probability of success, and q is the probability of failure.
-
Example 5–22: Calculating the mean and standard deviation for teens volunteering for charitable causes.
-
n=60 (sample of teens).
-
p=0.56 (probability a teen volunteers).
-
q=1−0.56=0.44 (probability a teen does not volunteer).
-
Mean: μ=np=60⋅0.56=33.60.
-
Standard deviation: s=npq=60⋅0.56⋅0.44≈3.845 258.
5.5 The hypergeometric probability distribution
The hypergeometric probability distribution is used to calculate probabilities when sampling without replacement from a finite population. It applies when there are two possible outcomes (success or failure) in the population, and we are interested in the probability of obtaining a specific number of successes in a sample 262 263.
-
Conditions for application:
-
The population is finite and consists of N items.
-
The population can be divided into two groups: r items of one type (successes) and N−r items of another type (failures).
-
A sample of size n is drawn without replacement from the population.
-
We are interested in the probability of obtaining exactly x successes in the sample 262 263.
-
Hypergeometric probability formula: The probability of obtaining exactly x successes in a sample of size n is given by: P(x)=(nN)(xr)(n−xN−r) where:
-
N is the total number of items in the population.
-
r is the number of success items in the population.
-
n is the sample size.
-
Example 5–24: Dawn Corporation has 12 managerial employees (7 female, 5 male). If 3 managers are randomly selected for a conference:
-
The probability that all 3 are female is calculated using the hypergeometric formula as (312)(37)(05)≈.1591 262.
-
The probability that at most 1 is female is the sum of probabilities for 0 females and 1 female: P(x=0)+P(x=1)≈.0455+.3182=.3637 263.
-
Exercises:
-
5.70: Explain the hypergeometric probability distribution and its conditions for application, providing an example.
-
5.71: Given N=8,r=3,n=4, find P(x=2), P(x=0), and P(x=1).
-
5.72: Given N=14,r=6,n=5, find P(x=4), P(x=5), and P(x=1).
-
5.73: Given N=11,r=4,n=4, find P(x=2), P(x=4), and P(x=1).
-
5.74: Given N=16,r=10,n=5, find P(x=5), P(x=0), and P(x=1).
-
5.75: An IRS inspector selects 3 corporations from 15 (6 profitable, 9 losses). Find the probability that the number of corporations with losses is exactly 2, none, or at most 1.
-
5.76: Six jurors are selected from 20 (4 potentially prejudiced). Find the probability that the number of prejudiced jurors among the 6 is exactly 1, none, or at most 2.
-
5.77: A carton of 18 eggs contains 7 spoiled eggs. A chef picks 4 eggs. Find the probability that the number of unspoiled eggs is exactly 4, 2 or fewer, or more than 1 263.
-
5.78: Bender Electronics buys keyboards in shipments of 100 boxes (20 keyboards each). A box is accepted if at most 1 of 5 selected keyboards is defective. A box with 6 defective keyboards is selected.
-
Find the probability that this shipment will be accepted.
-
Find the probability that this shipment will not be accepted 264.
5.6 The Poisson probability distribution
The Poisson probability distribution models the probability of a certain number of independent, random occurrences within a fixed interval of time, space, or volume. It is particularly useful when the probability of an event is low but the number of trials is high 264 265.
- Conditions to apply the Poisson probability distribution:
- x is a discrete random variable.
- The occurrences are random.
- The occurrences are independent 264.
-
Examples of Poisson applications:
-
Number of telemarketing calls received by a household during a given day.
-
Number of defective items in the next 100 manufactured items.
-
Number of defects in a 5-foot-long iron rod 264.
-
Number of accidents on a highway during a week.
-
Number of customers entering a store during an hour.
-
Number of television sets sold during a week 265.
-
Poisson probability distribution formula: The probability of x occurrences in an interval is: P(x)=x!λxe−λ where:
-
λ (lambda) is the mean number of occurrences in the interval (the Poisson parameter).
-
x is the actual number of occurrences.
-
e is approximately 2.71828 265.
-
Example 5–25: On average, a household receives 9.5 telemarketing calls per week. The probability of receiving exactly 6 calls in a week is calculated using the Poisson formula as 6!(9.5)6e−9.5≈.0764 265.
-
Example 5–26: A washing machine breaks down an average of three times per month (λ=3).
-
The probability of exactly two breakdowns in the next month is approximately.2240.
-
The probability of at most one breakdown is approximately.1992 266.
-
Example 5–27: An average of 2 out of 10 products sold are returned. The probability that exactly 6 of 40 products sold on a given day will be returned is approximately.1221. This problem can also be solved using the binomial distribution (n=40,p=0.20,x=6), yielding a probability of.1246. The Poisson distribution is a good approximation for binomial problems when n≥25 and λ≤25 266.
-
Using the Table of Poisson Probabilities (Table III, Appendix C): This table provides pre-calculated probabilities for various values of λ and x 267.
-
Example 5–28: On average, two new accounts are opened per day at a bank (λ=2).
-
The probability that exactly 6 new accounts are opened on a given day is approximately.0120.
-
The probability that at most 3 new accounts are opened is P(x≤3)=P(x=0)+P(x=1)+P(x=2)+P(x=3)≈.8571.
-
The probability that at least 7 new accounts are opened is P(x≥7)=P(x=7)+P(x=8)+P(x=9)≈.0045 268.
-
Case Study 5–4: Living and Dying in the USA: Assumes births and deaths follow Poisson distributions to calculate probabilities for given time intervals. For example, with λ=1 birth per 7 seconds, P(x=0)=.3679 269.
-
Example 5–29: A salesperson sells an average of 0.9 cars per day (λ=0.9). The probability distribution of x (number of cars sold) is given in Table 5.17, with a bar graph shown in Figure 5.10 269 270.
-
Mean and Standard Deviation of the Poisson Distribution:
-
Mean: μ=λ
-
Variance: σ2=λ
-
Standard Deviation: σ=λ 270.
-
Exercises:
-
5.79: What conditions must be met to apply the Poisson probability distribution?
-
5.80: What is the parameter of the Poisson distribution, and what does it represent?
-
5.81: Using the Poisson formula, find P(x=1) for λ=5 and P(x=2) for λ=2.5. Verify with Table III.
-
5.82: Using the Poisson formula, find P(x=2) for λ=3 and P(x=8) for λ=5.5. Verify with Table III.
-
5.83: For λ=1.3 and λ=2.1, write the probability distribution, find the mean, variance, and standard deviation, and draw a graph 270.
-
5.84: For λ=0.6 and λ=1.8, write the probability distribution, find the mean, variance, and standard deviation, and draw a graph.
-
5.85: A household receives an average of 1.7 junk mail pieces per day. Find the probability of exactly 3 pieces on a certain day using the Poisson formula.
-
5.86: A commuter airline receives an average of 9.7 complaints per day. Find the probability of exactly 6 complaints on a certain day using the Poisson formula.
-
5.87: An average of 5.4 shoplifting incidents occur per week. Find the probability of exactly 3 incidents during a given week.
-
5.88: An average of 12.5 rooms stay vacant per day at a hotel. Find the probability that exactly 3 rooms will be vacant on a given day using the Poisson formula.
-
5.89: A police department receives an average of 3.7 reports of lost student ID cards per week.
-
Find the probability of at most 1 report during a given week using the Poisson formula.
-
Using the Poisson table, find the probability of 1 to 4 reports, at least 6 reports, and at most 3 reports during a given week.
-
5.90: An average of 1.6 businesses file for bankruptcy per day in a city.
-
Using the Poisson formula, find the probability that exactly 3 businesses file for bankruptcy on a given day.
-
Using the Poisson table, find the probability that the number of bankruptcies is 2 to 3, more than 3, or less than 3 on a given day.
-
5.91: Fabric contains an average of 0.5 defects per 500 yards.
-
Using the Poisson formula, find the probability of exactly 1 defect in a given 500-yard piece.
-
Using the Poisson table, find the probability of 2 to 4 defects, more than 3 defects, or less than 2 defects in a given 500-yard piece.
-
5.92: The number of students logging into a computer follows a Poisson distribution with a mean of 19 students per day.
-
Using the Poisson formula, find the probability that exactly 12 students log in on a given day.
-
Using the Poisson table, find the probability that the number of students logging in is from 13 to 16, or fewer than 8 on a given day.
-
5.93: An average of 4.8 customers come to a savings and loan every half hour.
-
Find the probability that exactly 2 customers will come during a given hour.
-
Find the probability that the number of customers during a given hour is 2 or fewer, or 10 or more.
-
5.94: A company receives an average of 3.2 unsolicited applications per week.
-
Using the Poisson formula, find the probability of receiving no applications next week 271.
-
Using the Poisson table, write the probability distribution of x (number of applications per week) and find its mean, variance, and standard deviation.
-
5.95: An insurance salesperson sells an average of 1.4 policies per day.
-
Using the Poisson formula, find the probability of selling no policy on a certain day.
-
Using the Poisson table, write the probability distribution of x (policies sold per day) and find its mean, variance, and standard deviation.
-
5.96: An average of 0.8 accidents occur per day in a city.
-
Find the probability of no accident occurring on a given day.
-
Write the probability distribution of x (accidents per day) and find its mean, variance, and standard deviation.
-
5.97: On average, 20 households in 50 own answering machines.
-
Using the Poisson formula, find the probability that exactly 25 households in a random sample of 50 own answering machines.
-
Using the Poisson table, find the probability that the number of households owning answering machines in a sample of 50 is at most 12, 13 to 17, or at least 30.
-
5.98: Twenty percent of cars passing a school zone exceed the speed limit by more than 10 mph.
-
Using the Poisson formula, find the probability that exactly 25 cars in a random sample of 100 exceed the speed limit.
-
Using the Poisson table, find the probability that the number of cars exceeding the speed limit in a sample of 100 is at most 8, 15 to 20, or at least 30 272.
5.7 Uses and Misuses: Poker and Odds
This section explores the application of probability distributions in real-world scenarios, specifically in gambling and sports betting, highlighting the importance of understanding what probabilities represent 272 273.
- Poker Hand Probabilities: The probability of being dealt specific poker hands can be calculated using combinations. The table below shows the number of hands and their probabilities 272 273.
| Hand | Number of Hands | Probability |
|---|---|---|
| Straight flush | 40 | .0000154 |
| Four of a kind | 624 | .0002401 |
| Full house | 3,744 | .0014406 |
| Flush | 5,108 | .0019654 |
| Straight | 10,200 | .0039246 |
| Three of a kind | 54,912 | .0211285 |
| Two pair | 123,552 | .0475390 |
| Pair | 1,098,240 | .4225690 |
| High card | 1,302,540 | .5011774 |
| Total | 2,598,960 | 1.000000 |
-
Sports Betting Odds and Expected Payout: Casinos and odds makers use probabilities to set odds for betting. The expected payout for a bet can be calculated to determine the house's average profit 273.
-
Calculation of Expected Payout: For a $1 bet, the expected payout is calculated as: (Probability of Winning) × (Net Amount Won) + (Probability of Losing) × (Amount Lost) For example, if the odds are 1:16 for a team to win, the probability of winning is 1/17, and the probability of losing is 16/17. For a $1 bet, the net win is $15, and the loss is $1.
The expected net winnings are 15(1/17)+(−1)(16/17)=1/17≈$0.0588. This means a bettor is expected to lose approximately $0.0588 per $1 bet 273.
- Table of Odds and Expected Payouts: The table shows various teams, their odds, and the calculated expected payout for a $1 bet 273.
| Team | Current Odds | Expected Payout |
|---|---|---|
| Arizona Diamondbacks | 1:12 | $.9231 |
| Atlanta Braves | 1:60 | $.9836 |
| Baltimore Orioles | 1:80 | $.9877 |
| Boston Red Sox | 2:13 | $.8667 |
| Chicago Cubs | 2:15 | $.8824 |
| Chicago White Sox | 1:30 | $.9677 |
| Cincinnati Reds | 1:80 | $.9877 |
| Cleveland Indians | 1:25 | $.9615 |
| Colorado Rockies | 1:38 | $.9744 |
| Detroit Tigers | 1:30 | $.9677 |
| Florida Marlins | 1:20 | $.9524 |
| Houston Astros | 1:40 | $.9756 |
| Kansas City Royals | 1:125 | $.9921 |
| Los Angeles Angels | 1:8 | $.8889 |
| Los Angeles Dodgers | 1:8 | $.8889 |
| Milwaukee Brewers | 1:28 | $.9655 |
| Minnesota Twins | 1:16 | $.9412 |
| New York Mets | 1:16 | $.9412 |
| New York Yankees | 1:9 | $.9000 |
| Oakland Athletics | 1:40 | $.9756 |
| Philadelphia Phillies | 1:12 | $.9231 |
| Pittsburgh Pirates | 1:150 | $.9934 |
| San Diego Padres | 1:100 | $.9901 |
| San Francisco Giants | 1:59 | $.9833 |
| Seattle Mariners | 1:80 | $.9877 |
| St. Louis Cardinals | 1:18 | $.9474 |
| Tampa Bay Devil Rays | 1:10 | $.9091 |
| Texas Rangers | 1:75 | $.9868 |
| Toronto Blue Jays | 1:35 | $.9722 |
| Washington Nationals | 1:125 | $.9921 |
5.8 Continuous probability distribution
A continuous random variable can assume any value within one or more intervals. Unlike discrete random variables, the possible values for a continuous random variable are infinite and uncountable.
Examples include the time taken to commute, battery life, heights, and amounts of money 284 285.
The relative frequencies from a frequency distribution of a continuous random variable can be used as probabilities for the respective intervals. These probabilities represent the likelihood of the variable falling within a specific range 285.
- Continuous random variable: A variable that can assume any value in one or more intervals.
- Examples of continuous random variables:
- Time taken to commute from home to work 284.
- Life of a battery.
- Heights of people.
- Time taken to complete an examination.
- Amount of milk in a gallon.
- Weights of babies.
- Prices of houses 285.
The histogram and polygon are graphical representations used to visualize the distribution of continuous data. A smoothed polygon can further illustrate the shape of the distribution, approximating a continuous curve 285.
5.9 Continuous probability distributions
A continuous probability distribution describes a random variable that can take any value within a given range. The probability distribution curve, also known as the probability density function, approximates the distribution of this variable 286.
The probability distribution of a continuous random variable has two key characteristics:
- The probability of the variable falling within any interval is between 0 and 1.
- The total probability across all possible intervals sums to 1.0 286.
The probability that a continuous random variable falls within a specific interval is represented by the area under its probability distribution curve between the interval's limits 287.
For a continuous random variable, the probability of it assuming any single specific value is always zero, as the area of a line is zero. Consequently, the probability of x being within an interval [a, b is the same as it being within (a, b), [a, b), or (a, b 287 288.
Case Study 6–1 illustrates how to construct a probability distribution curve from data by calculating relative frequency densities. These densities are obtained by dividing the relative frequency of each class by its width.
The sum of the areas of the rectangles in the resulting histogram equals 1.0, representing the total probability 289 290.
The mean (μ) and standard deviation (σ) are parameters that describe a continuous probability distribution 290.
5.10 The normal distribution
The normal distribution is a widely used probability distribution for continuous random variables, characterized by a bell-shaped, symmetric curve. Many real-world phenomena, such as human heights, weights, and test scores, approximate a normal distribution 288.
A normal probability distribution curve has the following properties:
- The total area under the curve is 1.0.
- The curve is symmetric about its mean (μ). This means 50% of the area lies to the left of the mean and 50% to the right.
- The curve's tails extend indefinitely without touching the horizontal axis, becoming virtually zero beyond μ±3σ 291 292.
The parameters of a normal distribution are its mean (μ) and standard deviation (σ). The mean determines the center of the curve, while the standard deviation dictates its spread.
Different values of μ and σ result in different normal distribution curves 292.
📝 The area to the left of z=1.95 is found by looking up 1.9 in the z column and .05 in the row, yielding an area of .9744 294.
5.11 The standard normal distribution
The standard normal distribution is a specific type of normal distribution where the mean (μ) is 0 and the standard deviation (σ) is 1 293.
The horizontal axis of the standard normal curve is labeled with z values, also known as z scores or standard units. A z value represents the distance of a point from the mean in terms of standard deviations 293.
The standard normal distribution table (Table IV in Appendix C) provides the cumulative probability (area) to the left of a given z value 293.
5.12 Finding areas under the standard normal curve
Areas under the standard normal curve represent probabilities. The table is used to find these areas for various z values 294.
-
Example 6–1: Finding the area to the left of a positive z value. The area to the left of z=1.95 is found by looking up 1.9 in the z column and.05 in the row. This area represents P(z≤1.95) 294 295.
-
Example 6–2: Finding the area between a negative z value and the mean (z=0). This is calculated by finding the area to the left of z=0 (which is 0.5) and subtracting the area to the left of the negative z value. This area represents P(−2.17≤z≤0) 295.
-
Example 6–3:
-
(a) Finding the area to the right of a positive z value. This is calculated by subtracting the area to the left of the z value from 1.0. The area to the right of z=2.32 represents P(z≥2.32).
-
(b) Finding the area to the left of a negative z value. This is directly found from the standard normal distribution table. The area to the left of z=−1.54 represents P(z≤−1.54) 296.
-
Example 6–4:
-
(a) Finding the probability between two positive z values. This is found by subtracting the area to the left of the smaller z value from the area to the left of the larger z value. This represents P(1.19≤z≤2.12) 296.
-
(b) Finding the probability between a negative and a positive z value. This is calculated by subtracting the area to the left of the negative z value from the area to the left of the positive z value. This represents P(−1.56≤z≤2.31).
-
(c) Finding the probability to the right of a negative z value. This is calculated by subtracting the area to the left of the negative z value from 1.0. This represents P(z≥−0.75) 297.
5.13 Empirical rule verification
The empirical rule, discussed earlier regarding standard deviation, is based on the standard normal distribution. Using the normal distribution table allows for verification of this rule 298.
- Area within one standard deviation: This is the difference between the area to the left of z=1.0 and the area to the left of z=−1.0. The total shaded area is approximately 0.6826, or 68.26%.
- Area within two standard deviations: This is calculated as the area to the left of z=2.0 minus the area to the left of z=−2.0. The total shaded area is approximately 0.9544, or 95.44%.
- Area within three standard deviations: This is the area to the left of z=3.0 minus the area to the left of z=−3.0. The total shaded area is approximately 0.9974, or 99.74% 298.
A bell-shaped curve representing the normal distribution contains approximately 68.26% of the total area within one standard deviation of the mean, 95.44% within two standard deviations, and 99.74% within three standard deviations 298.
The standard normal distribution table typically ranges from z=−3.50 to z=3.50. For z values outside this range, approximations can be made: an area to the left of z=−3.50 or smaller is approximately 0.0, and an area to the left of z=3.50 or larger is approximately 1.0 298.
5.14 Example 6–5: Probabilities for the standard normal curve
This example demonstrates finding probabilities using the standard normal curve, particularly for z-values not explicitly listed in standard tables 299.
- Probability between z=0 and z=5.67: This probability is represented by the area under the standard normal curve between z=0 and z=5.67. Since z=5.67 is beyond the typical table range, the area to the left of z=5.67 can be approximated as 1.0, and the area to the left of z=0 is 0.5. Therefore, the required probability is approximately 1.0−0.5=0.5.
- Probability less than z=5.35: This probability is the area under the standard normal curve to the left of z=5.35. As z=5.35 is not in the table, this area can be approximated as 0.00 299.
Note that these areas are approximations. Technology can provide more exact values 299.
5.15 Concepts and procedures
- Difference between discrete and continuous random variable probability distributions: A discrete random variable can only take on a finite number of values or a countably infinite number of values, while a continuous random variable can take on any value within a given range.
- Probability of a continuous random variable assuming a single value: For a continuous random variable x, the probability that x assumes a single specific value, such as a, is zero, i.e., P(x=a)=0.
- Equality of P(a≤x≤b) and P(a<x<b): For a continuous probability distribution, P(a≤x≤b)=P(a<x<b) because the probability of x being exactly equal to a or b is zero.
- Main characteristics of a normal distribution: A normal distribution is characterized by its bell shape, symmetry around the mean, and the mean, median, and mode all coinciding at the center. The area under the curve represents probability.
- Standard normal distribution curve: The standard normal distribution curve is a specific normal distribution with a mean of 0 and a standard deviation of 1. It is symmetric and bell-shaped 299.
6. Chapter 7: Sampling distributions
6.1 Standardizing a normal distribution
Standardizing a normal distribution involves converting its values to the standard normal distribution, which has a mean of 0 and a standard deviation of 1. This process allows the use of standard normal distribution tables to find probabilities. The formula for standardizing is z=σx−μ, where x is the value from the normal distribution, μ is its mean, and σ is its standard deviation 301.
- The z value represents the distance between a specific value (x) and the mean (μ) in terms of standard deviations.
- A positive z value indicates that x is greater than the mean, a negative z value indicates that x is less than the mean, and a z value of zero means x is equal to the mean302.
- When converting x values to z values, always round the z values to two decimal places 301.
To find the area between two x values in a normal distribution, first convert both x values to their corresponding z values. Then, find the area under the standard normal curve between these two z values 303.
6.2 Example 6–6: Converting x values to z values
Let x be a normal random variable with a mean of 50 and a standard deviation of 10. Convert x=55 and x=35 to z values and find the probability to the left of each 301.
- For x=55:
- z=1055−50=0.50.
- The probability to the left of z=0.50 is P(z<0.50)=0.6915 301.
- For x=35:
- z=1035−50=−1.50.
- The probability to the left of z=−1.50 is P(z<−1.50)=0.0668 302.
📝 For x=55 with a mean of 50 and a standard deviation of 10, the z value is z=1055−50=0.50. The probability to the left of this z value is P(z<0.50)=0.6915 301.
6.3 Example 6–7: Finding area between x values
Let x be normally distributed with a mean of 25 and a standard deviation of 4. Find the area between x=25 and x=32, and between x=18 and x=34 303.
- Area between x=25 and x=32:
- z for x=25 is 0.
- z for x=32 is 432−25=1.75.
- The area is P(0<z<1.75)=P(z<1.75)−P(z<0)=0.9599−0.50=0.4599.
- Area between x=18 and x=34:
- z for x=18 is 418−25=−1.75.
- z for x=34 is 434−25=2.25.
- The area is P(−1.75<z<2.25)=P(z<2.25)−P(z<−1.75)=0.9878−0.0401=0.9477 303.
📝 For a normal distribution with a mean of 25 and a standard deviation of 4, the area between x=25 and x=32 is found by converting to z values: z=0 for x=25 and z=1.75 for x=32. The area is P(0<z<1.75)=P(z<1.75)−P(z<0)=0.9599−0.50=0.4599 303.
6.4 Example 6–8: Probabilities for a normal distribution
Let x be a normal random variable with a mean of 40 and a standard deviation of 5. Find P(x>55) and P(x<49) 304.
- P(x>55):
- z for x=55 is 555−40=3.00.
- P(x>55)=P(z>3.00)=1−P(z<3.00)=1−0.9987=0.0013.
- P(x<49):
- z for x=49 is 549−40=1.80.
- P(x<49)=P(z<1.80)=0.9641 304.
6.5 Example 6–9: Probability between two x values less than the mean
Let x be normally distributed with a mean of 50 and a standard deviation of 8. Find P(30<x<39) 305.
- z for x=39 is 839−50=−1.38.
- z for x=30 is 830−50=−2.50.
- The probability is P(−2.50<z<−1.38)=P(z<−1.38)−P(z<−2.50)=0.0838−0.0062=0.0776 305.
6.6 Example 6–10: Areas under the normal curve
Let x be normally distributed with a mean of 80 and a standard deviation of 12. Find the area from x=70 to x=135, and the area to the left of x=27 306.
- Area from x=70 to x=135:
- z for x=70 is 1270−80=−0.83.
- z for x=135 is 12135−80=4.58.
- The area is P(−0.83<z<4.58)=P(z<4.58)−P(z<−0.83)≈1.0−0.2033=0.7967.
- Area to the left of x=27:
- z for x=27 is 1227−80=−4.42.
- The area is P(z<−4.42)≈0.00 306.
6.7 Exercises 6.27-6.36
These exercises involve calculating z values and finding areas under normal distribution curves for various scenarios 306 307.
6.8 Applications of the normal distribution
The normal distribution is widely applied in various real-world scenarios to model continuous random variables. By standardizing these variables, probabilities and percentages can be calculated using the standard normal distribution table 307.
6.9 Example 6–11: Credit card debt
College students' credit card debts are normally distributed with a mean of $3173 and a standard deviation of $800. Find the probability that a randomly selected student's debt is between $2109 and $3605 307.
- For x=$3605: z=8003605−3173=0.54.
- For x=$2109: z=8002109−3173=−1.33.
- The probability is P(−1.33<z<0.54)=P(z<0.54)−P(z<−1.33)=0.7054−0.0918=0.6136 307.
6.10 Example 6–12: Toy assembly time
Assembly times for a racing car toy are normally distributed with a mean of 55 minutes and a standard deviation of 4 minutes. Calculate the probability that a worker starting at 4 P.M. finishes the job before the company closes at 5 P.M. (i.e., within 60 minutes) 308.
- For x=60 minutes: z=460−55=1.25.
- The probability is P(x<60)=P(z<1.25)=0.8944 308.
6.11 Example 6–13: Soda can filling
The amount of soda in Orange Cola cans is normally distributed with a mean of 12 ounces and a standard deviation of 0.015 ounce 309.
- Probability of a can containing 11.97 to 11.99 ounces:
- z for x=11.99 is 0.01511.99−12=−0.67.
- z for x=11.97 is 0.01511.97−12=−2.00.
- The probability is P(−2.00<z<−0.67)=P(z<−0.67)−P(z<−2.00)=0.2514−0.0228=0.2286.
- Percentage of cans containing 12.02 to 12.07 ounces:
- z for x=12.07 is 0.01512.07−12=4.67.
- z for x=12.02 is 0.01512.02−12=1.33.
- The probability is P(1.33<z<4.67)=P(z<4.67)−P(z<1.33)≈1.0−0.9082=0.0918. This is approximately 9.18% 309 310.
6.12 Example 6–14: Calculator lifespan
The life span of calculators is normally distributed with a mean of 54 months and a standard deviation of 8 months. Determine the percentage of calculators expected to be replaced if the warranty covers malfunctions within 36 months 310.
- For x=36 months: z=836−54=−2.25.
- The probability is P(x<36)=P(z<−2.25)=0.0122. This is approximately 1.22% 310.
6.13 Applications of the normal distribution
This section presents exercises that apply the normal distribution to real-world scenarios, requiring calculations of probabilities for given intervals or finding specific values based on known probabilities. These problems often involve interpreting statistical data in contexts such as race times, leisure hours, spending habits, and product lifespans 311 312.
The following table outlines common applications and the corresponding calculations:
| Scenario | Given Information | Question | Concept Tested |
|---|---|---|---|
| Road race times | Mean = 190 min, SD = 21 min | Probability of completing in less than 160 min | Calculating P(x < a) |
| Leisure time | Mean = 4.4 hrs, SD = 1.08 hrs | Probability of leisure time between 3.0 and 5.0 hrs | Calculating P(a < x < b) |
| Food spending | Mean = 9.32%, SD = 1.38% | Proportion of spending greater than 11.1% | Calculating P(x > a) |
| Pitcher's time between pitches | Mean = 36 sec, SD = 2.5 sec | Percentage of times longer than 39 sec | Calculating P(x > a) |
| Construction zone speeds | Mean = 46 mph, SD = 4 mph | Percentage of vehicles exceeding speed limit | Calculating P(x > a) |
| Credit card balances | Mean = $845, SD = $270 | Probability of balance between $1000 and $1440 | Calculating P(a < x < b) |
| Facebook usage | Mean = 190 min, SD = 53.4 min | Probability of usage more than 300 min | Calculating P(x > a) |
| Transmission life | Mean = 72,000 miles, SD = 13,000 miles | Percentage failing before warranty | Calculating P(x < a) |
| Electricity consumption | Mean = 1650 kWh, SD = 320 kWh | Probability of consumption less than 1950 kWh | Calculating P(x < a) |
| Supermarket spending | Mean = $95, SD = $20 | Percentage of customers spending over $130 | Calculating P(x > a) |
| Car sale prices | Mean = $19,800, SD = $350 | Percentage of customers paying less than $19,445 | Calculating P(x < a) |
| Stress test scores | Mean = 7.59, SD = 0.73 | Percentage of patients with score lower than 6.0 | Calculating P(x < a) |
| Electronic communication time | Mean = 225 min, SD = 62 min | Percentage communicating less than 60 min | Calculating P(x < a) |
| Oil change waiting time | Mean = 15 min, SD = 2.4 min | Percentage of customers receiving discount (wait > 20 min) | Calculating P(x > a) |
| Nail lengths | Mean = 3.0 inches, SD = 0.009 inch | Percentage of unusable nails (outside 2.98-3.02 inches) | Calculating P(a < x < b) |
| Hockey puck weights | Mean = 5.75 oz, SD = 0.11 oz | Percentage of pucks outside 5.5-6.0 oz range | Calculating P(a < x < b) |
6.14 Determining the z and x values when an area under the normal distribution curve is known
This section reverses the process of finding areas under the normal curve. Instead of calculating a probability (area) given a value (z or x), it focuses on finding the z or x value when a specific area (probability) is known.
This is crucial for setting thresholds, warranties, or identifying specific percentiles 312 313.
📝 To find the warranty period such that at most 1% of calculators are replaced, given a mean life of 54 months and a standard deviation of 8 months, we find the z-score for an area of .01 to the left (z = -2.33) and then calculate x=54+(−2.33)(8)=35.36 months 314.
6.15 Finding a z-value given an area
To find a z-value when an area under the standard normal curve is known, one typically consults a standard normal distribution table (Table IV in Appendix C). The process involves locating the given area within the body of the table and then identifying the corresponding row and column to determine the z-score 313.
- Area to the left of z: If the given area is to the left of z, directly look for that area in the table. The corresponding row and column headers provide the z-value.
- Area in the right tail: If the given area is in the right tail, calculate the area to the left of z by subtracting the tail area from 1. Then, find this calculated area in the table 313.
- Area in the left tail: If the given area is in the left tail, this is directly looked up in the table. If the area is less than 0.5, the z-value will be negative 314.
6.16 Finding an x-value given an area 316 317
When an area under a normal distribution curve (with a known mean μ and standard deviation σ) is known, the corresponding x-value can be found using the formula x=μ+zσ. This formula is derived from the z-score formula z=σx−μ 314.
- Warranty period: To determine a warranty period such that a certain percentage of products fail within that time, find the z-score corresponding to the desired failure percentage (area in the left tail) and then calculate the x-value (warranty period) 314.
- Score for a specific percentile: To find a score such that a certain percentage of individuals score higher, first find the z-score corresponding to the desired percentile (area to the left). Then, use the formula to calculate the x-value 315.
The following exercises involve finding z or x values based on known areas:
| Exercise | Description | Concept Tested |
|---|---|---|
| 6.53 | Find z for given areas (positive/negative, left/right tail) | Finding z-scores from areas |
| 6.54 | Find z for given areas (positive/negative, left/right tail) | Finding z-scores from areas |
| 6.55 | Determine z for specific tail areas (.05,.025,.01,.005) | Finding critical z-values |
| 6.56 | Determine z for specific tail areas (.025,.05,.001,.01) | Finding critical z-values |
| 6.57 | Find x for given areas with mean=200, SD=25 | Finding x-values from areas |
| 6.58 | Find x for given areas with mean=550, SD=75 | Finding x-values from areas |
| 6.59 | Determine maximum guaranteed waiting time for at most 5% discount | Finding x-value for a given percentile |
| 6.60 | Determine spending amount for at most 10% of customers to receive a gift | Finding x-value for a given percentile |
| 6.61 | Find Bill Johnson's monthly electricity consumption given 90% use less than him | Finding x-value for a given percentile |
| 6.62 | Determine warranty period for 1% and 5% replacement rates | Finding x-values for given percentiles |
| 6.63 | Find mean price of textbooks given 20% are $90 or higher and SD=$9.50 | Finding mean (μ$)whenx,z,and\sigma$ are known |
| 6.64 | Find mean detergent amount for at least 95% of jugs to have > 64 oz, with SD=.35 oz | Finding mean (μ) when x, z, and σ are known |
6.17 The normal approximation to the binomial distribution
The normal distribution can be used to approximate the binomial distribution when the sample size (n) is large, making direct calculation using the binomial formula tedious. This approximation is particularly accurate when the binomial distribution is symmetric, which occurs when p is close to 0.5 317.
📝 To find the probability of 19 successes in 30 trials (n=30,p=0.50), we use the normal approximation with continuity correction, calculating the probability for the interval 18.5 to 19.5, which results in a z-score range of 1.28 to 1.64, yielding a probability of approximately .0498 319.
6.18 Conditions for approximation
The normal distribution is typically used to approximate the binomial distribution when both np and nq are greater than 5 318.
- Mean and standard deviation: For a binomial distribution, the mean is μ=np and the standard deviation is σ=npq. These are used as the parameters for the approximating normal distribution 318.
6.19 Continuity correction
Since the normal distribution is continuous and the binomial distribution is discrete, a continuity correction is applied when approximating binomial probabilities. This involves adjusting the discrete value(s) by adding or subtracting 0.5 319.
- For P(x = k): Approximate by P(k−0.5<X<k+0.5) 319.
- For P(a < x < b): Approximate by P(a−0.5<X<b+0.5).
- For P(x > k): Approximate by P(X>k+0.5).
- For P(x < k): Approximate by P(X<k−0.5).
- For P(x ≥ k): Approximate by P(X>k−0.5).
- For P(x ≤ k): Approximate by P(X<k+0.5) 320.
6.20 Examples of normal approximation to binomial distribution
- Example 6-20: Calculates the probability of exactly 19 successes in 30 trials (n=30,p=0.50) using the normal approximation. The steps involve calculating μ and σ, applying the continuity correction to find the interval 18.5 to 19.5, and then finding the area under the normal curve between the corresponding z-scores 318 319.
- Example 6-21: Determines the probability that 115 to 130 individuals in a sample of 400 (n=400,p=0.34) will adjust the thermostat upon checking into a hotel. The continuity correction adjusts the interval to 114.5 to 130.5, and the probability is found using the normal distribution 320.
- Example 6-22: Calculates the probability that 170 or more adult men in a sample of 500 (n=500,p=0.32) consider their stomach their least favorite body part. The continuity correction changes the condition to X>169.5, and the probability is found using the normal distribution 321.
6.21 The normal approximation to the binomial distribution
The normal distribution can approximate the binomial distribution when certain conditions are met, allowing for easier calculation of probabilities. This approximation is particularly useful for large sample sizes where calculating binomial probabilities directly becomes computationally intensive 322 323.
- Conditions for approximation: The normal distribution is typically used as an approximation to the binomial distribution when np≥5 and nq≥5.
- Continuity correction: When using the normal distribution to approximate binomial probabilities, a continuity correction factor of 0.5 is applied. This involves adding or subtracting 0.5 from the binomial value (x) to better align it with the continuous nature of the normal distribution 322.
6.22 Exercises
- 6.65: This exercise asks about the conditions under which the normal distribution is used to approximate the binomial distribution.
- 6.66: For a binomial distribution with n=20 and p=0.60, this exercise requires calculating P(x≥14) using both the binomial probability table and the normal approximation, and then finding the difference between the two results.
- 6.67: For a binomial distribution with n=25 and p=0.40, this exercise requires calculating P(8≤x≤13) using both the binomial probability table and the normal approximation, and then finding the difference between the two results.
- 6.68: For a binomial distribution with n=80 and p=0.50, this exercise asks to find the mean and standard deviation, and then calculate P(x≥42) and P(41≤x≤48) using the normal approximation.
- 6.69: For a binomial distribution with n=120 and p=0.60, this exercise asks to find the mean and standard deviation, and then calculate P(x≥69) and P(67≤x≤73) using the normal approximation 322.
- 6.70: This exercise requires finding various binomial probabilities using the normal approximation for different values of n, p, and x.
- 6.71: This exercise requires finding various binomial probabilities using the normal approximation for different values of n, p, and x 323.
6.23 Applications
- 6.72: This application problem involves finding the probability that a specific number of U.S. households have at least one credit card, using the normal approximation to the binomial distribution.
- 6.73: This application problem involves finding the probability that a certain number of U.S. households are "linguistically isolated," using the normal approximation to the binomial distribution.
- 6.74: This application problem involves finding probabilities related to the number of U.S. adults who classify themselves as "non-denominational Christians," using the normal approximation to the binomial distribution.
- 6.75: This application problem involves finding probabilities related to the number of housing units with a specific income range that own a large-screen television, using the normal approximation to the binomial distribution.
- 6.76: This application problem involves finding probabilities related to the number of potential voters who would vote for Susan Boyle, using the normal approximation to the binomial distribution.
- 6.77: This application problem involves finding probabilities related to the number of customers satisfied with a new paper shredder, using the normal approximation to the binomial distribution.
- 6.78: This application problem involves finding probabilities related to the number of calculators that malfunction within a 2-year period, using the normal approximation to the binomial distribution 323.
- 6.79: This application problem involves finding probabilities related to the acceptance or rejection of a shipment of cartridges based on the number of defective cartridges, using the normal approximation to the binomial distribution 324.
📝 Find the probability that in a random sample of 750 U.S. households, more than 45 would be classified as “linguistically isolated,” given that 4.8% of U.S. households are linguistically isolated 323.
6.24 Glossary of Terms
This section provides definitions for key terms related to continuous random variables and the normal distribution 324.
- Continuity correction factor: The addition of 0.5 and/or subtraction of 0.5 from the value(s) of x when the normal distribution is used as an approximation to the binomial distribution, where x is the number of successes in n trials.
- Continuous random variable: A random variable that can assume any value in one or more intervals.
- Normal probability distribution: The probability distribution of a continuous random variable that, when plotted, gives a specific bell-shaped curve. The parameters of the normal distribution are the mean (μ) and the standard deviation (σ).
- Standard normal distribution: The normal distribution with μ=0 and σ=1. The units of the standard normal distribution are denoted by z.
- z value or z score: The units of the standard normal distribution that are denoted by z 324.
6.25 Supplementary Exercises
This section contains a variety of exercises that apply the concepts of normal and binomial distributions, including problems involving real-world scenarios 325 326 327 328.
6.26 Normal Distribution Applications
- 6.80: This exercise involves calculating probabilities related to customer waiting times at a bank, assuming a normal distribution of waiting times.
- 6.81: This exercise involves calculating probabilities related to the amount spent on groceries by customers paying by check, assuming a normal distribution of expenses.
- 6.82: This exercise involves calculating probabilities related to the amount of ice cream in cartons, assuming a normal distribution of fill amounts.
- 6.83: This exercise involves calculating the percentage of iron rods that are discarded due to length variations, assuming a normal distribution of rod lengths.
- 6.84: This exercise involves determining the departure time needed to ensure a certain probability of arriving at work on time, assuming a normal distribution of commute times.
- 6.85: This exercise involves finding specific life spans of lightbulbs that correspond to given percentages, assuming a normal distribution of bulb lives.
- 6.86: This exercise involves calculating the percentage of baseballs that fail to meet circumference requirements, assuming a normal distribution of circumferences.
- 6.87: This exercise involves finding probabilities related to the number of auto batteries that are good for a certain duration, using the normal approximation to the binomial distribution 325.
- 6.88: This exercise involves finding probabilities related to the number of managers suffering from job-related stress, using the normal approximation to the binomial distribution 326.
📝 Calculate the percentage of iron rods that are discarded due to length variations, assuming the lengths are normally distributed with a mean of 50 inches and a standard deviation of .06 inch, and rods shorter than 49.85 inches or longer than 50.15 inches are discarded 325.
6.27 Advanced Exercises
- 6.89: This exercise requires finding the mean of a normal distribution given information about a percentage of homeowners and the standard deviation of their mortgage payments.
- 6.90: This exercise requires determining the mean amount of ice cream to set for a machine to ensure a certain percentage of cartons contain more than a specified amount, assuming a normal distribution.
- 6.91: This exercise involves comparing the costs of two companies for drilling wells, considering the normal distribution of well depths, and calculating probabilities related to which company would charge more.
- 6.92: This exercise involves calculating the probability that the longest of three javelin throws meets a certain distance, assuming a normal distribution of throw lengths.
- 6.93: This exercise involves calculating the probability that all four tires of a new set last for at least a specified mileage, assuming independent normal distributions for tire life.
- 6.94: This exercise involves comparing the proportion of acceptable pints of gourmet ice cream produced by two plants, each with different means and standard deviations for air content, assuming normal distributions.
- 6.95: This exercise involves calculating the probability of a car traveling at a certain speed or slower being cited for speeding, and determining the minimum estimated speed for a citation, assuming normal distribution of speed estimation errors.
- 6.96: This exercise involves determining the departure time needed to ensure a certain probability of arriving at work on time, assuming a normal distribution of commute times 326.
- 6.97: This exercise involves determining the mean amount of drink to set for a vending machine to ensure a certain probability that each cup contains at least a specified amount, assuming a normal distribution.
- 6.98: This exercise involves finding the standard deviation of mathematics SAT scores and the percentage of students scoring above a certain value, assuming a normal distribution.
- 6.99: This exercise involves comparing two suppliers of steel rods based on the usability of their products, considering normal distributions of rod diameters and associated costs.
- 6.100: This exercise involves comparing two betting schemes on a roulette wheel, considering the probabilities of coming out ahead after a sequence of bets, and using approximations for binomial distributions.
- 6.101: This exercise involves calculating the probability that a bus can hold all ticket holders who show up, and determining the largest number of tickets to sell to maintain a certain probability, using the normal approximation to the binomial distribution.
- 6.102: This exercise involves calculating probabilities related to the service times of bank tellers, assuming normal distributions for individual service times.
- 6.103: This exercise asks to explain why the normal distribution cannot be used to approximate a binomial distribution with specific parameters, using the mean, standard deviation, and empirical rule.
- 6.104: This exercise involves calculating probabilities related to a variation of a roulette wheel where slot widths are proportional to probabilities from a standard normal distribution 327.
- 6.105: This exercise involves finding the smallest possible standard deviation for a vending machine to ensure a certain probability of overflows, given a fixed mean and cup capacity 328.
6.28 Self-Review Test
This section provides a series of multiple-choice and calculation questions to test understanding of normal and binomial distributions and their approximations 328 329.
- 1-8: Multiple-choice questions covering the characteristics and applications of the normal distribution and its approximation to the binomial distribution.
- 9: This question requires finding probabilities for the standard normal distribution.
- 10: This question requires finding z-values for the standard normal curve corresponding to given tail areas or areas between 0 and z.
- 11: This exercise involves finding probabilities related to the tread life of automobile tires, assuming a normal distribution 328.
- 12: This exercise involves finding specific tread life values corresponding to given percentages, assuming a normal distribution.
- 13: This exercise involves finding probabilities related to the number of individuals with wheat intolerance in a sample, using the normal approximation to the binomial distribution 329.
6.29 Mini-Projects
These mini-projects offer opportunities to apply statistical concepts to real-world data, using statistical software 329 330 331 332.
- Mini-Project 6–1: Analyzing the distribution of heights of NBA players, including histogram, mean, standard deviation, and comparison to normal distribution percentages.
- Mini-Project 6–2: Analyzing the distribution of weights of NBA players, including histogram, mean, standard deviation, and comparison to normal distribution percentages.
- Mini-Project 6–3: Analyzing daily temperature data from NOAA, including histogram, mean, standard deviation, and comparison to normal distribution percentages 329.
6.30 Decide for Yourself: Deciding About the Shape of a Distribution
This section prompts critical thinking about whether a given variable's distribution can logically be normal, even if numerically possible 330.
- Scenario: British men's daily moderate- to high-intensity physical activity times are reported with a mean of 2.15 hours and a standard deviation of 3.59 hours.
- Sketch a normal curve and calculate points 1, 2, and 3 standard deviations from the mean.
- Explain why this distribution cannot be normal based on the graph and calculations.
- Determine if the distribution is likely skewed left or right, considering the variable measured.
- If the standard deviation were 0.70 hours, making a normal distribution numerically possible, explain why it is still not a logical choice 330.
6.31 Technology Instruction
This section provides instructions for using TI-84, Minitab, and Excel to calculate normal and inverse normal probabilities 330 331.
- TI-84: Instructions for using
normalcdfandinvNormfunctions for probabilities and values. - Minitab: Instructions for using the Normal distribution function in the Probability Distributions menu 330.
- Excel: Instructions for using
NORMDISTandNORMINVfunctions 331.
6.32 Technology Assignments
These assignments provide practice in using technology to solve problems involving normal and binomial distributions 332.
- TA6.1: Finding areas under the standard normal curve.
- TA6.2: Finding areas under a normal curve with a given mean and standard deviation.
- TA6.3: Calculating percentages of automobile transmission failures and good performance periods, assuming a normal distribution.
- TA6.4: Finding probabilities related to time spent on leisure activities, assuming a normal distribution.
- TA6.5: Finding proportions of after-tax income spent on food, assuming a normal distribution.
- TA6.6: Describing a method for determining how well a data set matches a normal distribution using quantiles 332.
6.33 Population and sampling distributions
This section introduces the concepts of population distribution and sampling distribution. The population distribution is the probability distribution derived from the information on all elements of a population.
The sampling distribution is the probability distribution of a sample statistic 334 335.
📝 The population distribution for midterm scores of five students (70, 78, 80, 80, 95) is: 70 with P(x)=.20, 78 with P(x)=.20, 80 with P(x)=.40, and 95 with P(x)=.20 335.
6.34 Population distribution
The population distribution is the probability distribution of the population data. It is derived from the information on all elements of a population 335.
For example, consider the midterm scores of five students: 70, 78, 80, 80, 95. The population frequency and relative frequency distributions are as follows:
| x | f | Relative Frequency |
|---|---|---|
| 70 | 1 | .20 |
| 78 | 1 | .20 |
| 80 | 2 | .40 |
| 95 | 1 | .20 |
| N = 5 | Sum = 1.00 | — |
This leads to the population probability distribution:
| x | P(x) |
|---|---|
| 70 | .20 |
| 78 | .20 |
| 80 | .40 |
| 95 | .20 |
| Sum = 1.00 | — |
The mean (μ) and standard deviation (σ) calculated from this distribution are μ=80.60 and σ=8.09 335.
6.35 Sampling distribution
The value of a population parameter is constant, but a sample statistic is a random variable and thus possesses a probability distribution, known as its sampling distribution. The sampling distribution of xˉ lists the various values that the sample mean can assume and the probability of each value 335 336.
Consider all possible samples of three scores (without replacement) from the five student scores (A=70, B=78, C=80, D=80, E=95). There are (35)=10 possible samples.
The means of these samples are:
| Scores in the Sample | Mean (x̄) |
|---|---|
| 70, 78, 80 | 76.00 |
| 70, 78, 95 | 81.00 |
| 70, 80, 80 | 76.67 |
| 70, 80, 95 | 81.67 |
| 78, 80, 80 | 79.33 |
| 78, 80, 95 | 84.33 |
| 80, 80, 95 | 85.00 |
The frequency and relative frequency distributions of these sample means are:
| x̄ | f | Relative Frequency |
|---|---|---|
| 76.00 | 2 | .20 |
| 76.67 | 1 | .10 |
| 79.33 | 1 | .10 |
| 81.00 | 1 | .10 |
| 81.67 | 2 | .20 |
| 84.33 | 2 | .20 |
| 85.00 | 1 | .10 |
| Sum = 10 | Sum = 1.00 | — |
This table shows the probability of obtaining each possible sample mean, representing the sampling distribution of xˉ for samples of size 3:
| x̄ | P(x̄) |
|---|---|
| 76.00 | .20 |
| 76.67 | .10 |
| 79.33 | .10 |
| 81.00 | .10 |
| 81.67 | .20 |
| 84.33 | .20 |
| 85.00 | .10 |
| Sum = 1.00 | — |
If one sample of three scores is randomly selected, the sample mean xˉ can assume any of these values with the corresponding probability. For instance, P(xˉ=81.67)=.20 336.
6.36 Sampling and nonsampling errors
Different samples from the same population yield different results due to variations in their elements. The difference between a sample statistic and its corresponding population parameter is called sampling error, assuming the sample is random and no nonsampling errors occurred 337.
Sampling error is the difference between the value of a sample statistic and the value of the corresponding population parameter. In the case of the mean, sampling error = xˉ−μ, assuming a random sample and no nonsampling error 337.
Errors occurring for reasons other than chance, such as mistakes in data collection, recording, or tabulation, are called nonsampling errors. These are human mistakes, not chance occurrences 337.
Nonsampling errors are errors that occur in the collection, recording, and tabulation of data 337.
Nonsampling errors can arise from various sources, including:
- Inability to obtain information from all sample cases.
- Difficulties in defining terms or interpreting questions.
- Respondents providing incorrect or incomplete information due to inability, unwillingness, or recall issues.
- Errors in data collection (recording, coding) or processing.
- Errors in estimating missing data.
- Biases from differing recall periods or interviewing patterns.
- Undercoverage, where not all units in the universe have a chance of being selected 338.
Main reasons for nonsampling errors include:
- Nonrandom samples: If a sample is nonrandom, its results may differ significantly from census results. Even randomly selected samples can become nonrandom if some individuals cannot be contacted.
- Poorly phrased questions: Questions that are not fully understood can lead to inaccurate answers.
- False or ignorant responses: Respondents may intentionally provide false information or give inaccurate answers due to lack of knowledge.
- Data entry mistakes: Errors can occur when recording data or entering it into a computer 338.
Nonsampling errors can occur in both sample surveys and censuses, whereas sampling error occurs only in sample surveys. Nonsampling errors can be minimized through careful questionnaire design and data handling, but sampling error cannot be avoided 338.
6.37 Example 7–1: Illustrating sampling and nonsampling errors
Consider the population of five scores (70, 78, 80, 80, 95) with a population mean μ=80.60 338.
If a sample of three scores (70, 80, 95) is selected, the sample mean is xˉ=81.67. The sampling error is the difference between this sample mean and the population mean: Sampling error = xˉ−μ=81.67−80.60=1.07. This difference is due to chance 338 339.
Now, suppose the second score in the sample was mistakenly recorded as 82 instead of 80. The incorrect sample mean is calculated as xˉincorrect=(70+82+95)/3=82.33. The difference between this incorrect sample mean and the population mean is 82.33−80.60=1.73 339.
This total difference of 1.73 includes both sampling error and nonsampling error. The nonsampling error is the portion due to the recording mistake: Nonsampling error = Incorrect xˉ - Correct xˉ = 82.33−81.67=0.66 339.
The sampling error is the difference between the correct sample mean and the population mean: Sampling error = Correct xˉ - μ = 81.67−80.60=1.07 339.
Figure 7.1 illustrates these errors:
| Error Type | Value |
|---|---|
| Sampling error | 1.07 |
| Nonsampling error | .66 |
The sampling error is the difference between the correct value of xˉ and μ. The nonsampling error is obtained by subtracting the correct value of xˉ from the incorrect value of xˉ that contains nonsampling errors 339.
In practice, the population mean (μ) is usually unknown, so the size of the sampling error cannot be determined 339.
7. Chapter 8: Estimation of the mean and proportion
7.1 Mean and standard deviation of xˉ 341 342
The mean and standard deviation calculated for the sampling distribution of xˉ are called the mean and standard deviation of xˉ. These values represent the mean and standard deviation of the means of all possible samples of the same size selected from a population.
The standard deviation of xˉ is also known as the standard error of the mean 340.
- Mean of the sampling distribution (mxˉ): This is always equal to the population mean (μ). This means that if all possible samples of the same size are taken from a population, the average of all these sample means will be the same as the population mean. The sample mean (xˉ) is an unbiased estimator of the population mean (μ) because its expected value equals the population parameter.
- Standard deviation of the sampling distribution (sxˉ): This is equal to the population standard deviation (σ) divided by the square root of the sample size (n), provided that the sample size is small relative to the population size (n≤0.05N).
- Formula for sxˉ when n≤0.05N: sxˉ=nσ.
- If the sample size is not small compared to the population size (n>0.05N), a finite population correction factor is used: sxˉ=nσN−1N−n 341.
The spread of the sampling distribution of xˉ is smaller than the spread of the population distribution, and it decreases as the sample size increases. This makes the sample mean a consistent estimator of the population mean 342.
| Parameter | Value | Formula (if n ≤ 0.05N) | Formula (if n > 0.05N) |
|---|---|---|---|
| Mean of sampling distribution (mxˉ) | Population mean (μ) | μ | μ |
| Standard deviation of sampling distribution (sxˉ) | Standard error of the mean | nσ | nσN−1N−n |
7.2 EXAMPLE 7–2
The mean wage per hour for all 5000 employees who work at a large company is $27.50, and the standard deviation is $3.70. Let xˉ be the mean wage per hour for a random sample of employees selected from this company. Find the mean and standard deviation of xˉ for a sample size of: (a) 30 (b) 75 (c) 200
Solution: From the given information, for the population of all employees, N=5000, μ=$27.50, and σ=$3.70.
(a) For n=30: n/N=30/5000=0.006, which is less than 0.05. mxˉ=μ=$27.50 sxˉ=nσ=303.70≈$0.676
(b) For n=75: n/N=75/5000=0.015, which is less than 0.05. mxˉ=μ=$27.50 sxˉ=nσ=753.70≈$0.427
(c) For n=200: n/N=200/5000=0.04, which is less than 0.05. mxˉ=μ=$27.50 sxˉ=nσ=2003.70≈$0.262
From these calculations, we observe that the mean of the sampling distribution of xˉ remains constant at $27.50, while the standard deviation decreases as the sample size increases 342.
📝 For a sample size of 30, the mean wage per hour is $27.50 and the standard deviation is 303.70≈$0.676. 342
7.3 Shape of the sampling distribution of xˉ
The shape of the sampling distribution of xˉ depends on whether the population from which samples are drawn is normally distributed or not 344.
7.4 Sampling from a normally distributed population
If the population from which samples are drawn is normally distributed with mean μ and standard deviation σ, then the sampling distribution of xˉ will also be normally distributed, regardless of the sample size (n). The mean and standard deviation of this sampling distribution are mxˉ=μ and sxˉ=σ/n (assuming n≤0.05N) 344.
7.5 EXAMPLE 7–3
In a recent SAT, the mean score for all examinees was 1020. Assume that the distribution of SAT scores of all examinees is normal with a mean of 1020 and a standard deviation of 153. Let xˉ be the mean SAT score of a random sample of certain examinees. Calculate the mean and standard deviation of xˉ and describe the shape of its sampling distribution when the sample size is: (a) 16 (b) 50 (c) 1000
Solution: Given: Population mean μ=1020, population standard deviation σ=153.
(a) For n=16: mxˉ=μ=1020 sxˉ=nσ=16153=38.250 Since the population is normally distributed, the sampling distribution of xˉ is normal.
(b) For n=50: mxˉ=μ=1020 sxˉ=nσ=50153≈21.637 Since the population is normally distributed, the sampling distribution of xˉ is normal.
(c) For n=1000: mxˉ=μ=1020 sxˉ=nσ=1000153≈4.838 Since the population is normally distributed, the sampling distribution of xˉ is normal.
In all cases, the sampling distribution of xˉ is normal because the population is normally distributed 345 346.
📝 For a sample size of 16, the mean SAT score is 1020 and the standard deviation is 16153=38.250. The sampling distribution is normal. 345
7.6 Sampling from a population that is not normally distributed
When the population distribution is not normal, the shape of the sampling distribution of xˉ is described by the Central Limit Theorem (CLT). The CLT states that for a sufficiently large sample size (n≥30), the sampling distribution of xˉ will be approximately normal, regardless of the shape of the population distribution.
The mean and standard deviation of this approximate normal distribution are mxˉ=μ and sxˉ=σ/n (assuming n≤0.05N) 347.
The approximation to normality becomes more accurate as the sample size increases 347.
7.7 EXAMPLE 7–4
The mean rent paid by all tenants in a small city is $1550 with a standard deviation of $225. However, the population distribution of rents for all tenants in this city is skewed to the right.
Calculate the mean and standard deviation of xˉ and describe the shape of its sampling distribution when the sample size is: (a) 30 (b) 100
Solution: Given: Population mean μ=$1550, population standard deviation σ=$225. The population distribution is skewed right.
(a) For n=30: Since n=30≥30, the Central Limit Theorem applies. The sampling distribution of xˉ is approximately normal. mxˉ=μ=$1550 sxˉ=nσ=30225≈$41.079
(b) For n=100: Since n=100≥30, the Central Limit Theorem applies. The sampling distribution of xˉ is approximately normal. mxˉ=μ=$1550 sxˉ=nσ=100225=$22.500
In both cases, because the sample size is large (n≥30), the sampling distribution of xˉ is approximately normal, even though the population distribution is skewed 348.
7.8 Applications of the sampling distribution of xˉ
For large sample sizes (n≥30), the sampling distribution of xˉ is approximately normal with mean μ and standard deviation sxˉ=σ/n. This allows us to make probability statements about sample means 350.
- Approximately 68.26% of sample means will fall within one standard deviation of the population mean (μ±1sxˉ).
- Approximately 95.44% of sample means will fall within two standard deviations of the population mean (μ±2sxˉ).
- Approximately 99.74% of sample means will fall within three standard deviations of the population mean (μ±3sxˉ) 350.
7.9 Applications of the sampling distribution of xˉ
This section illustrates how the sampling distribution of the sample mean (xˉ) is used to calculate probabilities for specific sample outcomes. These applications are crucial for understanding the likelihood of observing a particular sample mean given the population parameters 351 352 353.
7.10 Example 7–5
Assume that the weights of all packages of a certain brand of cookies are normally distributed with a mean of 32 ounces and a standard deviation of 0.3 ounce. Find the probability that the mean weight, xˉ, of a random sample of 20 packages of this brand of cookies will be between 31.8 and 31.9 ounces 351.
The population is normally distributed, so the sampling distribution of xˉ is also normal. The mean of the sampling distribution is μxˉ=μ=32 ounces, and the standard deviation is σxˉ=nσ=200.3≈0.0671 ounce 351.
We need to find P(31.8<xˉ<31.9). This is done by converting the xˉ values to z-scores:
- For xˉ=31.9: z=0.067131.9−32≈1.49.
- For xˉ=31.8: z=0.067131.8−32≈2.98 352.
The probability is the area under the standard normal curve between z=1.49 and z=2.98.
- P(31.8<xˉ<31.9)=P(1.49<z<2.98)=P(z<2.98)−P(z<1.49)≈0.9986−0.9319=0.0667 352.
Therefore, the probability is 0.0667 that the mean weight of a sample of 20 packages will be between 31.8 and 31.9 ounces 352.
📝 The mean weight, xˉ, of a random sample of 20 packages of cookies will be between 31.8 and 31.9 ounces, with a probability of 0.0667, given a population mean of 32 ounces and a standard deviation of 0.3 ounce 352.
7.11 Example 7–6
According to Sallie Mae surveys and Credit Bureau data, college students carried an average of $3173 credit card debt in 2008. Suppose the probability distribution of the current credit card debts of all college students in the United States is unknown but its mean is $3173 and the standard deviation is $750. Let xˉ be the mean credit card debt of a random sample of 400 U.S. college students 352.
(a) What is the probability that the mean of the current credit card debts for this sample is within $70 of the population mean? (b) What is the probability that the mean of the current credit card debts for this sample is lower than the population mean by $50 or more 352?
Since the sample size is large (n=400>30), the Central Limit Theorem applies, and the sampling distribution of xˉ is approximately normal. The mean of the sampling distribution is μxˉ=μ=$3173, and the standard deviation is σxˉ=nσ=400750=$37.50 352.
(a) We want to find P(3173−70<xˉ<3173+70), which is P(3103<xˉ<3243).
- For xˉ=3243: z=37.503243−3173=1.87.
- For xˉ=3103: z=37.503103−3173=−1.87 353.
The probability is the area under the standard normal curve between z=−1.87 and z=1.87.
- P(3103<xˉ<3243)=P(−1.87<z<1.87)=P(z<1.87)−P(z<−1.87)≈0.9693−0.0307=0.9386 353.
Therefore, the probability that the mean of the current credit card debts for this sample is within $70 of the population mean is 0.9386 353.
(b) We want to find P(xˉ≤3173−50), which is P(xˉ≤3123).
- For xˉ=3123: z=37.503123−3173=−1.33 353.
The probability is the area under the standard normal curve to the left of z=−1.33.
- P(xˉ≤3123)=P(z≤−1.33)≈0.0918 353.
Therefore, the probability that the mean of the current credit card debts for this sample is lower than the population mean by $50 or more is 0.0918 353.
📝 For a sample of 400 college students, the probability that their mean credit card debt is within $70 of the population mean of $3173 is 0.9386, with a sample standard deviation of $37.50 353.
7.12 Population and sample proportions
The concept of proportion is closely related to relative frequency and the probability of success in a binomial experiment. It represents the fraction of a sample or population that belongs to a specific category or possesses a certain characteristic 355.
7.13 Population and sample proportions
The population proportion (p) is the ratio of the number of elements in a population with a specific characteristic to the total population size (N). The sample proportion (p^) is the analogous ratio for a sample of size n 356.
| Term | Formula | Description |
|---|---|---|
| Population Proportion | p=NX | Ratio of elements in the population with a characteristic to the total population size. |
| Sample Proportion | p^=nx | Ratio of elements in the sample with a characteristic to the total sample size. |
The difference between the sample proportion and the population proportion is the sampling error for proportions, assuming a random sample and no nonsampling errors 356.
7.14 Example 7–7
Suppose a total of 789,654 families live in a particular city and 563,282 of them own homes. A sample of 240 families is selected from this city, and 158 of them own homes.
Find the proportion of families who own homes in the population and in the sample 356.
- Population Proportion (p): p=789,654563,282≈0.71.
- Sample Proportion (p^): p^=240158≈0.66.
- Sampling Error: p^−p=0.66−0.71=−0.05 356.
📝 In a city of 789,654 families, 563,282 own homes. In a sample of 240 families, 158 own homes. The population proportion of homeowners is approximately 0.71, and the sample proportion is approximately 0.66 356.
7.15 Mean, standard deviation, and shape of the sampling distribution of p^
The sample proportion (p^) is a random variable and thus has a probability distribution called its sampling distribution. This distribution describes the possible values of p^ and their associated probabilities 357.
7.16 Sampling distribution of p^
The sampling distribution of the sample proportion (p^) gives the various values that p^ can assume and their probabilities. The value of p^ depends on the specific elements included in the sample 357.
7.17 Example 7–8
Boe Consultant Associates has five employees. Table 7.6 gives the names of these five employees and information concerning their knowledge of statistics.
If we define the population proportion, p, as the proportion of employees who know statistics, then p=53=0.60. Suppose we draw all possible samples of three employees each and compute the proportion of employees who know statistics for each sample. The total number of samples of size three that can be drawn from the population of five employees is 5C3=10.
Table 7.7 lists these 10 possible samples and the proportion of employees who know statistics for each sample 357.
The frequency and relative frequency distribution of p^ for samples of size 3 are shown in Table 7.8, and the sampling distribution of p^ is presented in Table 7.9 358.
7.18 Mean and standard deviation of p^359
The mean of the sampling distribution of p^, denoted by μp^, is always equal to the population proportion, p. The sample proportion, p^, is an unbiased estimator of p because its expected value equals the population parameter 358.
The standard deviation of p^, denoted by σp^, is calculated differently based on the sample size relative to the population size 358.
| Condition | Formula for σp^ | Notes |
|---|---|---|
| n/N≤0.05 | npq | Standard formula for standard deviation of sample proportion. |
| n/N>0.05 | npq×N−1N−n | Includes the finite-population correction factor. |
As the sample size (n) increases, the standard deviation (σp^) decreases, making p^ a consistent estimator of p 359.
7.19 Shape of the sampling distribution of p^
The shape of the sampling distribution of p^ is approximately normal for a sufficiently large sample size, as stated by the Central Limit Theorem for proportions 359.
| Condition | Shape of Sampling Distribution of p^ |
|---|---|
| np≥5 and nq≥5 | Approximately normal |
This condition is the same as that required for the normal approximation to the binomial probability distribution 359.
7.20 Example 7–9
According to a survey by Harris Interactive conducted in February 2009 for the charitable agency World Vision, 56% of U.S. teens volunteer time for charitable causes. Assume that this result is true for the current population of U.S. teens.
Let p^ be the proportion of U.S. teens in a random sample of 1500 who volunteer time for charitable causes. Find the mean and standard deviation of p^, and describe the shape of its sampling distribution 359.
- Population proportion (p): p=0.56.
- Population proportion of non-volunteers (q): q=1−p=1−0.56=0.44 359.
- Mean of the sampling distribution (μp^): μp^=p=0.56.
- Standard deviation of the sampling distribution (σp^): σp^=npq=1500(0.56)(0.44)≈0.0128 360.
Check the conditions for normality:
- np=1500×0.56=840.
- nq=1500×0.44=660 360.
Since both np and nq are greater than 5, the sampling distribution of p^ is approximately normal with a mean of 0.56 and a standard deviation of 0.0128 360.
7.21 Applications of the sampling distribution of p̂
This section illustrates how the concepts of the mean, standard deviation, and shape of the sampling distribution of the sample proportion (p^) are used to determine probabilities related to sample proportions. These applications help in understanding the likelihood of obtaining a specific sample proportion from a population 362.
- The mean of the sampling distribution of p^ is equal to the population proportion p.
- The standard deviation of the sampling distribution of p^ is calculated as σp^=npq, provided that n≤0.05N.
- The Central Limit Theorem states that the sampling distribution of p^ is approximately normal if both np≥5 and nq≥5 362.
7.22 EXAMPLE 7–10
This example demonstrates how to find the probability that a sample proportion falls within a specific interval. It involves calculating the mean and standard deviation of the sampling distribution and then using z-scores to find the area under the normal curve 362.
- Problem: According to a survey, 51% of adults are willing to pay more for products with social and environmental benefits. If a random sample of 1050 adults is taken, find the probability that the sample proportion (p^) is between.53 and.55.
- Solution:
- Population proportion (p) = 0.51.
- Sample size (n) = 1050.
- q=1−p=1−0.51=0.49.
- Mean of the sampling distribution (μp^) = p=0.51.
- Standard deviation of the sampling distribution (σp^) = npq=1050(0.51)(0.49)≈0.01542725.
- Check for normality: np=1050×0.51=535.5≥5 and nq=1050×0.49=514.5≥5. The distribution is approximately normal 362.
- Convert the interval limits to z-scores:
- For p^=0.55: z=0.015427250.55−0.51≈2.59.
- For p^=0.53: z=0.015427250.53−0.51≈1.30.
- Find the area under the standard normal curve between z=1.30 and z=2.59: P(1.30≤z≤2.59)=P(z≤2.59)−P(z≤1.30)=0.9952−0.9032=0.0920.
📝 The probability that the proportion of U.S. adults in a random sample of 1050 who will be willing to pay more for products with social and environmental benefits is between.53 and.55 is.0920 363.
7.23 EXAMPLE 7–11
This example illustrates how to calculate the probability that a sample proportion is less than a specific value. It involves converting the sample proportion to a z-score and finding the corresponding area under the normal curve 363.
- Problem: Maureen Webster claims she is favored by 53% of eligible voters. If a random sample of 400 registered voters is taken, what is the probability that less than 49% will favor her 363?
- Solution:
- Population proportion (p) = 0.53.
- Sample size (n) = 400.
- q=1−p=1−0.53=0.47.
- Mean of the sampling distribution (μp^) = p=0.53.
- Standard deviation of the sampling distribution (σp^) = npq=400(0.53)(0.47)≈0.02495496.
- Check for normality: np=400×0.53=212≥5 and nq=400×0.47=188≥5. The distribution is approximately normal.
- Convert the sample proportion to a z-score: For p^=0.49, z=0.024954960.49−0.53≈−1.60.
- Find the area under the standard normal curve to the left of z=−1.60: P(z≤−1.60)=0.0548.
📝 The probability that less than 49% of the voters in a random sample of 400 will favor Maureen Webster is.0548 364.
7.24 Exercises on sampling distribution of p̂
This section provides practice problems to reinforce the understanding of the sampling distribution of the sample proportion. These exercises involve calculating probabilities, z-scores, and describing the shape of the sampling distribution 364.
-
Concepts and Procedures:
-
Exercises 7.83 and 7.84 ask about the percentage of sample proportions within a certain number of standard deviations of the population proportion, relating to the empirical rule for normal distributions.
-
Exercises 7.85 and 7.86 require calculating z-values for given sample proportions, population proportions, and sample sizes 364.
-
Applications:
-
Exercises 7.87 through 7.92 involve calculating probabilities for various scenarios related to sample proportions, such as finding the probability of a proportion being greater than, less than, or between certain values.
-
Exercise 7.91 specifically asks for the probability that a process will be stopped based on a sample proportion of defective items.
-
Exercise 7.92 asks for probabilities related to a sample proportion being within, less than, or greater than the population proportion 365.
7.25 Uses and misuses of sampling distributions
This section discusses the importance of unbiased estimators and the potential for bias in statistical calculations. It highlights that while sample statistics like the mean are unbiased estimators of population parameters, failure to meet assumptions can introduce bias 365.
- Bias in statistical estimators: Bias occurs when the expected value of a statistical estimator deviates from the parameter it estimates.
- Example of bias: A quality control manager for a parts company might overlook a manufacturing error if their measurement device consistently underestimates the part length, leading to a biased sample mean that does not reflect the true population mean.
- Calibration and data integrity: It is crucial to calibrate measurement instruments and be aware of human tendencies (e.g., overestimating voting frequency, underestimating project completion time) that can introduce bias into data.
- Consequences of bias: Once bias enters calculations, it is difficult to remove, distorting estimates of population properties 365.
7.26 Supplementary exercises
This section provides additional exercises that cover various aspects of sampling distributions, including those for sample means and sample proportions 366.
-
Exercises on sampling distribution of the mean:
-
Exercises 7.93 and 7.94 ask to find the mean, standard deviation, and shape of the sampling distribution of the sample mean (xˉ) for normally distributed populations.
-
Exercises 7.95 and 7.96 involve calculating probabilities for the sample mean falling within certain ranges or being within a specified distance from the population mean 366.
-
Exercises 7.97 and 7.98 apply these concepts to real-world scenarios, such as Facebook user activity and detergent jug filling.
-
Exercise 7.103 involves calculating the probability of a sample mean being within a certain range of the population mean for salaries, assuming n≤0.05N.
-
Exercise 7.104 requires finding the mean and standard deviation of a normally distributed population given information about percentiles of the scores.
-
Exercise 7.105 asks to determine the necessary sample size to achieve a desired precision for estimating a population mean 367.
-
Exercise 7.108 and 7.109 deal with the combined weight or total length of multiple samples, applying the properties of the sampling distribution of the mean 368.
-
Exercises on sampling distribution of the proportion:
-
Exercises 7.99 through 7.102 involve calculating the mean, standard deviation, and shape of the sampling distribution of the sample proportion (p^) for various scenarios.
-
These exercises also require calculating probabilities related to sample proportions being within, less than, or greater than certain values.
-
Exercise 7.100 and 7.101 specifically address probabilities related to adults favoring government control on medicine prices.
-
Exercise 7.102 focuses on gluten sensitivity prevalence 367.
-
Exercise 7.110 involves calculating probabilities and determining sample size for households using public libraries 368.
-
Other exercises:
-
Exercise 7.111 prompts a comparison between sample means and sample medians, exploring their properties.
-
Exercise 7.112 asks about the behavior of the probability P(a≤xˉ≤b) as the sample size increases 368.
7.27 Self-review test
This section provides a multiple-choice and short-answer quiz to assess understanding of key concepts related to sampling distributions 368.
-
Multiple Choice Questions:
-
Questions 1-8 cover definitions of sampling distributions, errors, and conditions for normality of sampling distributions for means and proportions. [368-369]
-
Questions 9-12 test the calculation of sample proportions and the conditions for normality and standard deviation formulas for sample proportions 369.
-
Short Answer Questions:
-
Question 13 asks for a statement and explanation of the Central Limit Theorem.
-
Questions 14 and 15 require calculating the mean, standard deviation, and describing the shape of the sampling distribution of the sample mean for different sample sizes and population distributions.
-
Question 16 involves calculating probabilities for the sample mean based on a given population distribution 369.
-
Question 17 asks for probabilities related to the mean amount of ice cream in cartons, including probabilities within a range and at a certain distance from the population mean. [369-370]
7.28 Mini-projects
These projects offer hands-on experience with sampling distributions, encouraging students to collect data, perform simulations, and compare theoretical results with empirical findings 370.
- Mini-Project 7–1: Investigates the sampling distribution of the sample mean using NBA player heights, comparing theoretical calculations with simulated sample means for different sample sizes.
- Mini-Project 7–2: Explores the sampling distribution of the sample proportion using state per capita income data, comparing theoretical calculations with simulated sample proportions for different sample sizes.
- Mini-Project 7–3: Simulates sampling from a symmetric distribution (digits 0-9) to observe the shape of the sampling distribution of the sample mean 370.
- Mini-Project 7–4: Repeats Mini-Project 7–3 using a skewed distribution to observe how the Central Limit Theorem applies to non-symmetric populations 371.
7.29 Technology instruction
This section provides guidance on using statistical software (TI-84 calculator and Minitab) to generate sampling distributions and visualize their properties 371.
- TI-84: Instructions are given for creating a sampling distribution of a sample proportion (p^) using the
randBinfunction 371. - Minitab: Step-by-step instructions are provided for generating sampling distributions of both the sample mean (xˉ) and the sample proportion (p^) using Minitab's random data generation and graphing features. [371-372]
7.30 Decide for yourself: Deciding about elections
This case study applies the concepts of sampling distributions to a real-world scenario of election polling. It explores how sample proportions can be used to make inferences about election outcomes 371.
- Scenario: An exit poll of 800 voters is conducted in an election with two candidates, A and B, where p and q are the proportions of votes for each candidate.
- Questions:
- Calculate the probability of obtaining at least 440 votes for candidate A in a sample of 800, assuming p=0.50.
- Explain whether the poll results make it reasonable to conclude that candidate A has more than 50% of the votes.
- Discuss the implications for the election outcome and whether a projection can be made 371.
7.31 Estimation: An introduction
Estimation is a core concept in inferential statistics, where sample data is used to assign numerical values to population parameters. This process is crucial because conducting a census for every parameter is often impractical due to cost and time constraints.
The sample statistic serves as an estimator for the population parameter, providing an estimate of its true value 375.
- Estimation: The process of assigning a numerical value or values to a population parameter based on sample information.
- Population parameter: A characteristic of an entire population (e.g., population mean μ, population proportion p).
- Sample statistic: A characteristic calculated from a sample (e.g., sample mean xˉ, sample proportion p^).
- Estimator: The sample statistic used to estimate a population parameter.
- Estimate: The value assigned to a population parameter based on the sample statistic 375.
The estimation procedure involves selecting a sample, collecting data, calculating the sample statistic, and then assigning values to the corresponding population parameter. This process assumes the use of a simple random sample 375.
7.32 Point and interval estimates
Estimates can be categorized into two main types: point estimates and interval estimates. A point estimate provides a single value as the best guess for the population parameter, while an interval estimate provides a range of values within which the parameter is likely to lie 376.
7.33 A point estimate
A point estimate is the value of a sample statistic used to estimate a population parameter. For instance, the sample mean (xˉ) is a point estimate of the population mean (μ).
While a point estimate offers a specific value, it almost always differs from the true population parameter due to sampling variability 376.
- Point estimate: The value of a sample statistic used to estimate a population parameter.
- Estimator: The sample statistic itself (e.g., xˉ for μ, p^ for p). 375 376.
7.34 An interval estimate
An interval estimate involves constructing an interval around a point estimate and stating the probability that this interval contains the true population parameter. This range is defined by a lower and upper limit, and the difference between these limits and the point estimate is known as the margin of error. 376 377.
- Interval estimation: Constructing an interval around a point estimate and stating the likelihood that it contains the population parameter 376.
- Margin of error: The value added to and subtracted from the point estimate to form the interval estimate 377.
The construction of an interval estimate depends on two key factors: the standard deviation of the sample mean (σxˉ) and the desired level of confidence. A larger standard deviation or a higher confidence level necessitates a wider interval 377.
- Confidence level: The probability that a confidence interval contains the true population parameter, expressed as (1−α)×100%.
- Confidence coefficient: The probability 1−α.
- Significance level: The value of α 377.
Common confidence levels include 90%, 95%, and 99% 377.
7.35 Estimation of a population mean: σ known380
This section details how to construct a confidence interval for the population mean (μ) when the population standard deviation (σ) is known. The procedure varies slightly based on sample size and population distribution 378.
The following table outlines the cases for estimating μ when σ is known:
| Case | Conditions | Distribution Used |
|---|---|---|
| Case I | 1. σ is known; 2. n≤30; 3. Population is normally distributed | Normal distribution |
| Case II | 1. σ is known; 2. n>30 | Normal distribution (due to Central Limit Theorem) |
| Case III | 1. σ is known; 2. n≤30; 3. Population is not normally distributed (or distribution unknown) | Nonparametric method (covered on website) |
The margin of error (E) for estimating μ when σ is known is calculated as E=z⋅σxˉ, where σxˉ=nσ 379.
The (1−α)×100% confidence interval for μ is given by: xˉ±znσ where z is the critical value from the standard normal distribution corresponding to the chosen confidence level 379.
The value of z is determined by the confidence level. For example, a 95% confidence level means that 1−α=0.95, so α=0.05. The area in each tail of the normal distribution is α/2=0.025. The z value corresponding to a cumulative area of 0.9750 (or 1−0.0250) is 1.96 379.
The following table shows z values for common confidence levels:
| Confidence Level | Areas to Look for in Table IV | z Value |
|---|---|---|
| 90% | .0500 and.9500 | 1.64 or 1.65 |
| 95% | .0250 and.9750 | 1.96 |
| 96% | .0200 and.9800 | 2.05 |
| 97% | .0150 and.9850 | 2.17 |
| 98% | .0100 and.9900 | 2.33 |
| 99% | .0050 and.9950 | 2.57 or 2.58 |
7.36 Example: Mean price of textbooks
A publishing company wants to estimate the average price of new college textbooks. A sample of 25 comparable textbooks yielded a mean price of $145.
The population standard deviation of prices is known to be $35, and the population of prices is normally distributed 380.
📝 a. The point estimate of the mean price of all such college textbooks is the sample mean: xˉ=$145. b. To construct a 90% confidence interval, we use n=25, xˉ=$145, and σ=$35. The margin of error is E=z⋅nσ=1.65⋅2535=1.65⋅7.00=$11.55. The 90% confidence interval is $145±$11.55, which is $133.45 to $156.55 380.
8. Chapter 9: Hypothesis tests about the mean and proportion
8.1 Estimation of a population mean: σ known
This section details constructing a confidence interval for the population mean (μ) when the population standard deviation (σ) is known and the sample size is large (n≥30). The process involves using the sample mean (xˉ) as a point estimate and calculating a margin of error to define an interval 381.
The confidence interval is calculated using the formula: xˉ±znσ where z is the critical value from the standard normal distribution corresponding to the desired confidence level 381.
- Margin of Error: The term znσ represents the margin of error.
- Interpretation of Confidence Level: A confidence level (e.g., 90%) indicates that if many samples of the same size were taken, 90% of the constructed confidence intervals would contain the true population mean (μ). It does not mean there is a 90% probability that a specific interval contains μ 381.
The width of a confidence interval is determined by the margin of error, which is influenced by the confidence level and the sample size 382.
- Confidence Level: A higher confidence level requires a larger z value, increasing the margin of error and thus the width of the interval.
- Sample Size: A larger sample size (n) decreases the standard deviation of the sample mean (nσ), reducing the margin of error and the width of the interval 382.
To decrease the width of a confidence interval, one can either lower the confidence level or increase the sample size. Increasing the sample size is generally preferred as it maintains a higher level of confidence 382.
📝 In a survey of 400 adults with 401(k) accounts, the sample mean time spent reviewing statements was 8 minutes, with a known population standard deviation of 2.20 minutes. A 99% confidence interval for the mean time spent by all account holders is calculated as 8±2.58×4002.20, resulting in an interval of 7.72 to 8.28 minutes 382.
8.2 Determining the sample size for the estimation of mean
When planning a study, it's often necessary to determine the sample size required to achieve a specific margin of error (E) at a given confidence level 384.
The formula for determining the sample size (n) is: n=E2z2σ2 If the population standard deviation (σ) is unknown, a preliminary sample can be used to estimate it (s). The calculated sample size should always be rounded up to the next whole number 384.
📝 An alumni association wants to estimate the mean debt of college graduates with 99% confidence, within $800 of the population mean. Given a population standard deviation of $11,800, the required sample size is calculated as n=(800)2(2.58)2(11800)2≈1449 385.
8.3 Estimation of a population mean: σ not known
This section addresses constructing a confidence interval for the population mean (μ) when the population standard deviation (σ) is unknown. Three cases are considered based on sample size and population distribution 388.
| Case | Conditions | Distribution to Use |
|---|---|---|
| Case I | 1. Population standard deviation σ is not known; 2. Sample size is small (n≤30); 3. Population is normally distributed | t distribution |
| Case II | 1. Population standard deviation σ is not known; 2. Sample size is large (n>30) | t distribution |
| Case III | 1. Population standard deviation σ is not known; 2. Sample size is small (n≤30); 3. Population is not normally distributed (or distribution is unknown) | Nonparametric method (covered in Chapter 15) |
8.4 The t distribution
The t distribution, also known as Student's t distribution, was developed by W. S. Gosset. It shares similarities with the normal distribution: it is symmetric, bell-shaped, and has a total area of 1.0. However, the t distribution has a lower height and a wider spread (larger standard deviation) than the standard normal distribution.
As the sample size increases, the t distribution approaches the standard normal distribution 389.
- Degrees of Freedom (df): The shape of a t distribution depends on the degrees of freedom, which for this context is calculated as df=n−1.
- Standard Deviation: The standard deviation of a t distribution is df−2df, which is always greater than 1 389.
The t distribution table (Table V in Appendix C) provides critical t-values for various degrees of freedom and areas in the tails 390.
📝 To find the t-value for 16 degrees of freedom and an area of.05 in the right tail, locate 16 in the 'df' column and.05 in the 'Area in the right tail' row of the t distribution table. The intersection gives the t-value of 1.746 390.
8.5 Estimation of a population mean: σ not known393
When the population standard deviation (σ) is unknown, the sample standard deviation (s) is used as its estimator. The standard deviation of the sample mean (xˉ) is then estimated as sxˉ=s/n.
The t-distribution is used to construct confidence intervals for the population mean (μ) in this scenario 391.
-
Conditions for using the t-distribution:
-
The population is approximately normally distributed.
-
The population standard deviation (σ) is unknown.
-
The sample size (n) is used to determine the degrees of freedom (df=n−1) 391.
-
Confidence Interval for μ using the t-distribution: The (1−α)100% confidence interval for μ is given by xˉ±t⋅sxˉ, where t is the critical value from the t-distribution table for n−1 degrees of freedom and the specified confidence level.
-
The margin of error (E) is t⋅sxˉ=t⋅ns 391.
-
Example 8-5: Cholesterol Level: A sample of 25 adult men from Hartford had a mean cholesterol level of 186 mg/dL with a standard deviation of 12 mg/dL. Assuming normal distribution, a 95% confidence interval for the population mean (μ) was constructed 391.
-
n=25, xˉ=186, s=12.
-
sxˉ=12/25=2.40.
-
Degrees of freedom (df) = 25−1=24.
-
For a 95% confidence level, the area in each tail is (1−0.95)/2=0.025.
-
The t-value for df=24 and 0.025 area in the right tail is 2.064.
-
The 95% confidence interval is 186±2.064⋅2.40, which is 186±4.95.
-
The interval is 181.05 to 190.95 mg/dL 392.
-
Example 8-6: Book Spending: A sample of 64 adults who buy books for general reading had a mean annual spending of $1450 with a standard deviation of 300.A99\mu$) was calculated.
-
n=64, xˉ=1450, s=300.
-
sxˉ=300/64=37.50.
-
Degrees of freedom (df) = 64−1=63.
-
For a 99% confidence level, the area in each tail is (1−0.99)/2=0.005.
-
The t-value for df=63 and 0.005 area in the right tail is approximately 2.656.
-
The 99% confidence interval is 1450±2.656⋅37.50, which is 1450±99.60.
-
The interval is $1350.40 to $1549.60 392.
-
Note: What if the sample size is too large? When using t-distribution tables with a large sample size (n>76, for example, if the table only goes up to df=75), two options exist:
- Use the t-value from the last row of the table (approximating with ∞ degrees of freedom).
- Use the normal distribution as an approximation to the t-distribution 393.
| Parameter | Estimate/Distribution |
|---|---|
| Population standard deviation (σ) | Unknown, estimated by sample standard deviation (s) |
| Standard deviation of sample mean (sxˉ) | s/n |
| Distribution | t-distribution with n−1 degrees of freedom |
8.6 Estimation of a population proportion: Large samples 399
Estimating a population proportion (p) is common in various fields, such as quality control or customer satisfaction surveys. When a census is not feasible, sample surveys are used.
The sample proportion (p^) serves as a point estimator for the population proportion (p) 396.
-
Sampling Distribution of the Sample Proportion (p^): For large samples, the sampling distribution of p^ is approximately normal.
-
Mean of the sampling distribution: E(p^)=p.
-
Standard deviation of the sampling distribution (standard error): sp^=npq, where q=1−p 396.
-
Conditions for a large sample: A sample is considered large if both np>5 and nq>5. If p and q are unknown, then n^p>5 and n^q>5 should hold 396.
-
Confidence Interval for p: The (1−α)100% confidence interval for p is given by p^±z⋅sp^, where z is the critical value from the standard normal distribution for the given confidence level.
-
The standard error of the sample proportion is estimated as sp^=np^q^, where q^=1−p^.
-
The margin of error (E) is z⋅sp^ 397.
-
Example 8-7: Importance of Religion: A survey of 1000 people aged 18 to 29 found that 44% consider religion very important. A 99% confidence interval was calculated for the population proportion 397.
-
p^=0.44, n=1000.
-
q^=1−0.44=0.56.
-
sp^=10000.44⋅0.56≈0.0157.
-
For a 99% confidence level, z≈2.58.
-
The margin of error is 2.58⋅0.0157≈0.04.
-
The 99% confidence interval is 0.44±0.04, which is 0.40 to 0.48, or 40% to 48% 398.
-
Example 8-8: Non-drinkers of Alcohol: A survey of 2401 adults found that 25% do not drink alcohol. A 97% confidence interval was constructed for the population proportion.
-
p^=0.25, n=2401.
-
q^=1−0.25=0.75.
-
sp^=24010.25⋅0.75≈0.0088.
-
For a 97% confidence level, z≈2.17.
-
The margin of error is 2.17⋅0.0088≈0.019.
-
The 97% confidence interval is 0.25±0.019, which is 0.231 to 0.269, or 23.1% to 26.9% 398.
-
Case Study: Most Frustrating Sounds: A survey of 1004 adults identified the most frustrating sounds to hear. Confidence intervals were calculated for the proportions of adults who found specific sounds most frustrating.
-
For "car alarm," with p^=0.39 and n=1004, a 96% confidence interval was calculated using z≈2.05 and sp^≈0.0154. The interval is 0.39±2.05(0.0154)≈0.39±0.03, resulting in 0.36 to 0.42, or 36% to 42% 399.
| Sound | Sample Proportion (p^) | 96% Confidence Interval |
|---|---|---|
| Car alarm | .39 | .36 to.42 |
| Jackhammer | .28 | .25 to.31 |
| Baby crying | .21 | .18 to.24 |
| Dog barking | .13 | .11 to.15 |
8.7 Determining the sample size for the estimation of proportion
The sample size (n) required to achieve a specific margin of error (E) for a population proportion estimate can be determined using the formula n=E2z2p^q^ 398.
- Determining n when p and q are unknown:
- Most conservative estimate: Use p^=0.50 and q^=0.50, as this maximizes the product p^q^ and thus yields the largest sample size for a given E.
- Using a preliminary sample: Conduct a small preliminary sample to estimate p^ and q^, then use these values in the formula for n 400.
-
Example 8-9: Defective Parts (Conservative Estimate): A company wants to estimate the proportion of defective parts within 0.02 with 95% confidence. The most conservative estimate for the sample size was calculated.
-
E=0.02, confidence level = 95% (z=1.96).
-
Using the conservative estimate: p^=0.50, q^=0.50.
-
n=(0.02)2(1.96)2(0.50)(0.50)=0.00043.8416⋅0.25=0.00040.9604=2401.
-
A sample of 2401 parts will ensure a 95% chance that the estimate of the proportion of defective parts is within 0.02 of the population proportion 400.
-
Example 8-10: Defective Parts (Preliminary Sample): Using the same scenario as Example 8-9, a preliminary sample of 200 parts showed 7% defective. The required sample size was recalculated.
-
From the preliminary sample: p^=0.07, q^=1−0.07=0.93.
-
n=(0.02)2(1.96)2(0.07)(0.93)=0.00043.8416⋅0.0651=0.00040.25008516≈625.21.
-
Rounding up, a sample size of 626 is needed 400.
8.8 Estimation of a population proportion: Large samples
This section focuses on constructing confidence intervals for a population proportion (p) when dealing with large sample sizes. The key is to ensure the sample size is adequate for using the normal distribution as an approximation 401.
The conditions for using the normal distribution to construct a confidence interval for p are:
- The sample is a random sample.
- The sample size n is large enough such that np≥10 and n(1−p)≥10 401.
When the population proportion p is unknown, we use the sample proportion p^ to check these conditions. The sample size is considered large enough if np^≥10 and n(1−p^)≥10 401.
The formula for a confidence interval for p is: p^±zα/2np^(1−p^) where:
- p^ is the sample proportion.
- zα/2 is the critical value from the standard normal distribution for the desired confidence level.
- n is the sample size 401.
The term zα/2np^(1−p^) represents the margin of error (E) 401.
To determine the required sample size for a specific margin of error (E) and confidence level, we use the formula: n=E2zα/22p^(1−p^) If a preliminary estimate of p^ is not available, the most conservative approach is to use p^=0.5, which maximizes the required sample size 402.
The width of a confidence interval for a proportion is twice the margin of error. Increasing the confidence level or decreasing the sample size will increase the width of the interval.
Conversely, increasing the sample size or decreasing the confidence level will decrease the width 403.
8.9 Exercises
The exercises in this section cover checking sample size adequacy, constructing confidence intervals for proportions, and determining the required sample size for a given margin of error and confidence level 401 402 403.
📝 A sample of 300 observations produced a sample proportion of .63. A 95% confidence interval for p is constructed 401.
8.10 Uses and Misuses: National versus Local Unemployment Rate
This section discusses how confidence intervals can be used to compare local and national statistics, such as unemployment rates. It highlights that if a confidence interval for a local rate overlaps with a national rate, it suggests no significant difference.
However, if the intervals do not overlap, a difference can be concluded. The text notes that hypothesis testing (covered in Chapter 9) is needed to determine if one rate is definitively lower or higher than another 404.
📝 A local unemployment rate is estimated at 9.0% with a margin of error of .5%. This means the local rate is likely between 8.5% and 9.5%. If the national rate was 9.6%, a difference would be concluded because 9.6% is outside the local interval 404.
8.11 Glossary
This section provides definitions for key statistical terms related to estimation and confidence intervals 404.
- Confidence interval: An interval constructed around a sample statistic to estimate a population parameter.
- Confidence level: The probability, expressed as a percentage (e.g., 90%, 95%), that a confidence interval contains the true population parameter.
- Estimate: The value of a sample statistic used to approximate a population parameter.
- Estimation: The process of assigning numerical values to a population parameter based on sample data.
- Estimator: The sample statistic used in the estimation process.
- Interval estimate: A range of values likely to contain the population parameter, associated with a confidence level.
- Margin of error: The amount added to and subtracted from the point estimate to form the confidence interval.
- Point estimate: A single value of a sample statistic used as the best guess for a population parameter.
- t distribution: A probability distribution used for estimating population means when the population standard deviation is unknown and the sample size is small. It is bell-shaped, centered at 0, with a standard deviation of 1, and its shape depends on the degrees of freedom 404.
8.12 Supplementary Exercises
These exercises provide further practice in constructing confidence intervals for both population means and proportions, and in determining appropriate sample sizes. They cover scenarios with known and unknown population standard deviations, and various confidence levels 405 406 407 408 409.
8.13 Advanced Exercises
This section presents more complex problems, including interpreting confidence intervals in real-world contexts, constructing reports on confidence intervals, critiquing experimental designs, and using sample standard deviations to estimate required sample sizes 407 408 409.
8.14 Self-Review Test
This self-assessment tool includes multiple-choice questions and problems to test understanding of key concepts related to estimation, confidence intervals, and the t-distribution 408 409.
8.15 Mini-Projects
These projects offer hands-on application of statistical concepts. They involve constructing confidence intervals using provided data, comparing interval widths, and simulating sampling processes to understand the properties of confidence intervals 410.
8.16 Hypothesis tests: An introduction
A hypothesis test is a statistical procedure used to evaluate a claim or theory about a population parameter. It involves using sample data to determine if there is enough evidence to reject a stated assumption about the population.
This process is crucial when making decisions about population parameters based on sample statistics, as sample results can vary due to random chance 416.
8.17 Two hypotheses
In hypothesis testing, two competing statements are formulated: the null hypothesis (H0) and the alternative hypothesis (H1).
- The null hypothesis (H0) is a claim about a population parameter that is assumed to be true until evidence suggests otherwise. It typically represents a status quo or a statement of no effect.
- The alternative hypothesis (H1) is a claim that will be true if the null hypothesis is found to be false. It often represents the research question or the suspected effect 416.
In statistical examples, the null hypothesis uses population parameters (like μ or p), not sample statistics (xˉ or p^). For instance, if a soft-drink company claims its cans contain an average of 12 ounces (μ=12), this would be the null hypothesis.
The alternative hypothesis might be that the cans contain less than 12 ounces (μ<12) 416.
📝 The null hypothesis is H0:μ=12 ounces, and the alternative hypothesis is H1:μ<12 ounces 416.
8.18 Rejection and nonrejection regions
The process of hypothesis testing involves dividing the possible outcomes into two regions:
- Nonrejection region: This is the area where the evidence from the sample is considered insufficient to reject the null hypothesis. If the sample statistic falls in this region, the decision is to "do not reject H0".
- Rejection region: This is the area where the evidence from the sample is considered strong enough to reject the null hypothesis. If the sample statistic falls in this region, the decision is to "reject H0," implying the alternative hypothesis is likely true 417.
The boundary between these regions is called the critical value 417.
📝 If the sample statistic falls in the rejection region, the decision is to "reject H0"; if it falls in the nonrejection region, the decision is to "do not reject H0" 417.
8.19 Two types of errors
In hypothesis testing, there are two potential types of errors:
- Type I error (α error): This occurs when a true null hypothesis is rejected. The probability of a Type I error is denoted by α, which is also known as the significance level of the test. Commonly used values for α are.01,.025,.05, and.10 418.
- Type II error (β error): This occurs when a false null hypothesis is not rejected. The probability of a Type II error is denoted by β. The value 1−β is called the power of the test, representing the probability of correctly rejecting a false null hypothesis 419.
It is impossible to lower both α and β simultaneously for a fixed sample size; decreasing one typically increases the other. Increasing the sample size can help decrease both errors 419.
| Decision | H0 Is True | H0 Is False |
|---|---|---|
| Do not reject H0 | Correct decision | Type II or β error |
| Reject H0 | Type I or α error | Correct decision |
📝 A Type I error occurs when a true null hypothesis is rejected, with a probability denoted by α, commonly set at .01, .025, .05, or .10 418.
8.20 Tails of a test
The structure of the rejection region determines the type of test:
- Two-tailed test: Has rejection regions in both tails of the distribution curve. This occurs when the alternative hypothesis uses a "not equal to" (=) sign.
- One-tailed test: Has a single rejection region.
- Left-tailed test: The rejection region is in the left tail of the distribution curve. This occurs when the alternative hypothesis uses a "less than" (<) sign.
- Right-tailed test: The rejection region is in the right tail of the distribution curve. This occurs when the alternative hypothesis uses a "greater than" (>) sign 420.
The choice of a one-tailed or two-tailed test depends on the wording of the research question or claim being investigated 420.
8.21 A two-tailed test
A two-tailed test is used when the alternative hypothesis suggests that the population parameter could be either greater than or less than the value specified in the null hypothesis. For example, if a magazine wants to check if the average weight of sixth-graders' backpacks has changed since a 2008 survey, the alternative hypothesis would be μ=18.4 pounds.
This leads to two rejection regions, one in each tail of the distribution, with the total area of these regions equal to the significance level α 420.
The hypotheses for a two-tailed test are structured as:
- H0:μ=μ0 (The mean has not changed)
- H1:μ=μ0 (The mean has changed)
In this scenario, the rejection region is split, with α/2 in the left tail and α/2 in the right tail 420.
8.22 Mini-project 8–4
This mini-project involves calculating and comparing confidence intervals for the proportion of adults aged 18-34 who do not want to be managers, based on survey data.
- Part a: Calculate a 95% confidence interval using provided survey results (42% do not want to be managers, sample size of 758 adults aged 18-34).
- Part b: Collect a random sample of 50 college students (aged 18-34) and calculate a 95% confidence interval. If the sample size is insufficient for normal approximation, increase it to 75.
- Part c: Compare the confidence intervals from parts a and b for consistency.
- Part d: Discuss potential reasons why the results might not be representative of all adults aged 18-34 411.
8.23 Technology instruction
This section provides instructions for calculating confidence intervals using statistical software and calculators.
8.24 TI-84
- ZInterval: For confidence intervals of a population mean (μ) when the population standard deviation (σ) is known. Requires summary statistics (mean, sample size) or data in a list, along with σ and the confidence level.
- TInterval: For confidence intervals of a population mean (μ) when the population standard deviation (σ) is unknown. Requires summary statistics (sample mean, sample standard deviation, sample size) or data in a list, along with the confidence level.
- 1-PropZInt: For confidence intervals of a population proportion (p). Requires the number of successes (x) and the sample size (n), along with the confidence level 412.
8.25 Minitab
- 1-Sample Z: For confidence intervals of a population mean (μ) when σ is known. Can use data from a column or summarized data (sample size, mean, σ).
- 1-Sample t: For confidence intervals of a population mean (μ) when σ is unknown. Can use data from a column or summarized data (sample size, mean, sample standard deviation).
- 1-Proportion: For confidence intervals of a population proportion (p). Can use sample data (success/failure) from a column or summarized data (number of successes, number of trials) 412.
8.26 Excel
- Confidence Level for Mean: When σ is unknown, use the Analysis ToolPak's Descriptive Statistics and check the "Confidence Level for Mean" box. Requires summary statistics (mean, standard deviation, sample size) and the confidence level.
- CONFIDENCE function: When σ is known, use
=CONFIDENCE(alpha, standard_dev, n)to calculate the margin of error. α is 1−confidence level 413.
8.27 Technology assignments
These assignments involve constructing confidence intervals using provided data sets and statistical software.
- TA8.1: Construct a 99% confidence interval for μ given annual incomes for 36 families, assuming σ=23.75 thousand dollars.
- TA8.2: Construct a 97% confidence interval for μ for checking account balances of 30 households, assuming σ is unknown.
- TA8.3: Construct a 98% confidence interval for μ using data on the cost of going to the dentist's office from Data Set I.
- TA8.4: Using a sample of 100 observations from the Manchester Road Race data set:
- a. Make a 95% confidence interval for the mean race time.
- b. Calculate the population mean time and check if the interval from part a includes it.
- TA8.5: Repeat TA8.4 for a sample of 25 observations, assuming the distribution of times is approximately normal.
- TA8.6: Construct a 99% confidence interval for the mean price of 16 recently sold houses, assuming a normal distribution of prices.
- TA8.7: Make a 98% confidence interval for the mean contributions to charitable causes by major companies, based on a sample of 18 companies and assuming a normal distribution.
- TA8.8: Make a 98% confidence interval for the population proportion of orders processed and mailed within 72 hours, based on a sample of 200 orders where 176 met the criteria.
- TA8.9: Make a 99% confidence interval for the population proportion of sales resulting in returns, based on a sample of 500 sales where 95 resulted in returns.
- TA8.10: Make a 96% confidence interval for the population proportion of fraudulent auto claims, based on 1000 investigated claims where 108 were fraudulent 414.
8.28 Types of hypothesis tests 422
Hypothesis tests are designed to determine if sample data provide enough evidence to reject a claim about a population parameter. The direction of the test is determined by the alternative hypothesis.
- Two-tailed test: Used when the alternative hypothesis states that the population parameter is simply different from the hypothesized value. The rejection region is split between both tails of the sampling distribution.
- Left-tailed test: Used when the alternative hypothesis states that the population parameter is less than the hypothesized value. The rejection region is located in the left tail of the sampling distribution 421.
- Right-tailed test: Used when the alternative hypothesis states that the population parameter is greater than the hypothesized value. The rejection region is located in the right tail of the sampling distribution 422.
| Test Type | Sign in H0 | Sign in H1 | Rejection Region |
|---|---|---|---|
| Two-Tailed | = or ≥ or ≤ | ≠ | In both tails |
| Left-Tailed | = or ≥ or ≤ | < | In the left tail |
| Right-Tailed | = or ≥ or ≤ | > | In the right tail |
8.29 Hypothesis tests about μ when σ is known
When testing hypotheses about the population mean (μ) and the population standard deviation (σ) is known, the choice of statistical distribution depends on the sample size and the distribution of the population.
- Case I: If σ is known, the sample size n is small (n<30), and the population is normally distributed, the normal distribution is used.
- Case II: If σ is known and the sample size n is large (n≥30), the normal distribution is used due to the Central Limit Theorem, even if the population is not perfectly normal.
- Case III: If σ is known, the sample size n is small (n<30), and the population is not normally distributed (or its shape is unknown), a nonparametric method is required. This section focuses on Cases I and II 424.
8.30 The p-value approach
The p-value approach involves calculating the probability of observing a sample statistic as extreme as, or more extreme than, the one obtained, assuming the null hypothesis is true.
- Definition: The p-value is the smallest significance level (α) at which the null hypothesis would be rejected.
- Decision Rule: Reject H0 if p-value ≤α; do not reject H0 if p-value >α.
- Calculation: For a one-tailed test, the p-value is the area in the tail beyond the observed sample statistic. For a two-tailed test, it is twice the area in one tail 425.
Steps to perform a test of hypothesis using the p-value approach:
- State the null and alternative hypotheses.
- Select the appropriate distribution (normal distribution when σ is known).
- Calculate the p-value.
- Make a decision based on comparing the p-value to the significance level (α) 426.
Calculating the z-value for the sample mean (xˉ): z=σxˉxˉ−μ where σxˉ=nσ 426.
📝 A health club claims its members lose an average of 10 pounds or more in the first month. A sample of 36 members lost an average of 9.2 pounds, with a population standard deviation of 2.4 pounds. Find the p-value and the decision for α=0.01 and α=0.05 427.
- Step 1: H0:μ≥10 pounds; H1:μ<10 pounds.
- Step 2: Since σ is known and n≥30, use the normal distribution.
- Step 3: Calculate the z-value: z=2.4/369.2−10=−2.00. The p-value for a left-tailed test is P(Z<−2.00)=0.0228.
- Step 4: For α=0.01, since p-value (0.0228) >α (0.01), do not reject H0. For α=0.05, since p-value (0.0228) ≤α (0.05), reject H0 428.
8.31 The critical-value approach
The critical-value approach involves comparing the calculated test statistic to a critical value determined by the significance level and the type of test.
- Test Statistic: For tests about μ using the normal distribution, the test statistic is z=σxˉxˉ−μ 429.
Steps to perform a test of hypothesis with the critical-value approach: 3. Determine the rejection and nonrejection regions by finding the critical value(s). 4. Calculate the value of the test statistic. 5. Make a decision by comparing the test statistic to the critical value(s) 429.
📝 TIV Telephone Company recorded an average call length of 12.44 minutes in 2009. A sample of 150 current calls yielded a mean length of 13.71 minutes, with a population standard deviation of 2.65 minutes. Using a 2% significance level, determine if the mean length of current calls is different from 12.44 minutes 429.
- Step 1: H0:μ=12.44 minutes; H1:μ=12.44 minutes.
- Step 2: Since σ is known and n≥30, use the normal distribution.
- Step 3: For a two-tailed test with α=0.02, the area in each tail is α/2=0.01. The critical z-values are approximately -2.33 and 2.33.
- Step 4: Calculate the z-value: z=2.65/15013.71−12.44≈5.88.
- Step 5: Since the calculated z-value (5.88) is greater than the upper critical value (2.33), it falls in the rejection region. Therefore, reject H0. The mean length of current long-distance calls is different from 12.44 minutes 430.
8.32 Hypothesis tests about μ: σ known
This section details the process of conducting hypothesis tests for a population mean (μ) when the population standard deviation (σ) is known. The steps involve stating hypotheses, selecting the appropriate distribution (normal distribution in this case), determining rejection and nonrejection regions, calculating the test statistic, and making a decision 431 432.
-
Test statistic calculation: When the population standard deviation (σ) is known, the z-test statistic is calculated using the formula: z=σ/nxˉ−μ where xˉ is the sample mean, μ is the hypothesized population mean, σ is the population standard deviation, and n is the sample size 431.
-
Decision making: The decision to reject or fail to reject the null hypothesis (H0) is based on comparing the calculated test statistic to a critical value or by comparing the p-value to the significance level (α) 431 432.
-
P-value approach: The p-value is the probability of observing a test statistic as extreme as, or more extreme than, the one computed from the sample, assuming the null hypothesis is true. For a two-tailed test, it's twice the area in the tail; for a one-tailed test, it's the area in the relevant tail 431 432 433.
-
Significantly different: The term "significantly different" implies that the difference between the sample mean and the hypothesized population mean is too large to be attributed to sampling error alone, leading to the rejection of the null hypothesis 434.
-
Not significantly different: The term "not significantly different" implies that the difference between the sample mean and the hypothesized population mean is small enough that it could reasonably occur due to chance or sampling error, leading to the failure to reject the null hypothesis 434.
8.33 Example 9–3 (continued)
This example demonstrates a hypothesis test for the mean length of long-distance calls. The computed z-statistic was 5.87. The p-value is approximately zero, leading to the rejection of H0.
This indicates that the mean length of all such calls is likely different from 12.44 minutes 431.
📝 The mayor claims the average net worth of families is at least $300,000. A sample of 25 families has a mean net worth of $288,000, with a population standard deviation of $80,000. At a 2.5% significance level, the computed z-statistic is -0.75, which is greater than the critical value of -1.96, leading to failing to reject the null hypothesis 432.
8.34 Example 9–4
This example tests the mayor's claim about the average net worth of families. The null hypothesis is H0:μ≥$300,000, and the alternative is H1:μ<$300,000.
With a sample size of 25, a sample mean of $288,000, a population standard deviation of $80,000, and a significance level of 2.5%, the computed z-statistic is -0.75. Since -0.75 is greater than the critical value of -1.96, we fail to reject H0. This suggests that there is not enough evidence to conclude the mayor's claim is false 432.
📝 For long-distance calls, a computed z-statistic of 5.87 and a p-value of approximately zero led to rejecting the null hypothesis, indicating the mean call length is likely different from 12.44 minutes 431.
8.35 Case Study 9–1: How crashes affect auto premiums
This case study examines auto insurance premiums. A sample of 1600 drivers with no accidents showed a current average premium of $1450, compared to a 2008 average of $1387.
With a population standard deviation of $90 and a significance level of 1%, the test is right-tailed (H0:μ≤$1387, H1:μ>$1387). The computed z-statistic is 28.00. The p-value is.0000. Since the p-value is less than α, H0 is rejected, indicating the current average premium is higher than $1387 433.
8.36 Exercises
- 9.11 Five steps of a hypothesis test using the critical value approach.
- 9.12 Meaning of the level of significance (α) in a hypothesis test.
- 9.13 Implication of rejecting the null hypothesis regarding the alternative hypothesis.
- 9.14 Difference between the critical value of z and the observed value of z.
- 9.15 Procedure for calculating the p-value for two-tailed and one-tailed tests.
- 9.16 Find the p-value for given hypothesis tests.
- 9.17 Find the p-value for given hypothesis tests.
- 9.18 Test of hypothesis about μ with σ known: calculate p-value, reject H0 at α=.05 and α=.01.
- 9.19 Test of hypothesis about μ with σ known: calculate p-value, reject H0 at α=.01 and α=.025 434.
- 9.20 Show rejection and nonrejection regions for different tests about μ with σ known.
- 9.21 Show rejection and nonrejection regions for different tests about μ with σ known.
- 9.22 Explain "statistically significant" vs. "statistically not significant" when rejecting H0.
- 9.23 Explain "statistically significant" vs. "statistically not significant" when failing to reject H0.
- 9.24 Probability of making a Type I error for given significance levels.
- 9.25 Probability of making a Type I error for given significance levels.
- 9.26 Find critical and observed z-values for different tests about μ with σ known.
- 9.27 Find critical and observed z-values for different tests about μ with σ known.
- 9.28 Show rejection/nonrejection regions and find critical z-values for different alternative hypotheses.
- 9.29 Show rejection/nonrejection regions and find critical z-values for right-tailed, left-tailed, and two-tailed tests 435.
- 9.30 Test H0 vs. H1 with different sample means and comment on results.
- 9.31 Test H0 vs. H1 with different sample means and comment on results.
- 9.32 Perform hypothesis tests about μ with σ known.
- 9.33 Perform hypothesis tests about μ with σ known.
- 9.34 Test hypothesis about mean weight of cheese packages: find p-value and use critical-value approach.
- 9.35 Test hypothesis about mean life of auto batteries: find p-value and use critical-value approach.
- 9.36 Test hypothesis about mean hours spent on chores: find p-value and use critical-value approach.
- 9.37 Test hypothesis about mean age of first-time mothers: find p-value and use critical-value approach.
- 9.38 Test hypothesis about mean time to eat a Whoopie Pie: find p-value and use critical-value approach 436.
- 9.39 Test hypothesis about mean duration of long-distance calls: find p-value and use critical-value approach.
- 9.40 Test hypothesis about mean length of iron rods: calculate p-value and use critical-value approach.
- 9.41 Test hypothesis about mean net weight of milk cartons: calculate p-value and use critical-value approach.
- 9.42 Test hypothesis about mean sodium content in water: find p-value and use critical-value approach.
- 9.43 Test hypothesis about mean boxes of cookies sold: test at 10% significance level and with zero probability of Type I error 437.
- 9.44 Test hypothesis about mean reading time: use 2.5% and 1% significance levels, compare results.
- 9.45 Test hypothesis about mean house cleaning time: use 1% and 2.5% significance levels, compare results.
- 9.46 Explain how to conduct a test of hypothesis for a large sample when the company claims the mean net weight is at least 18 ounces 438.
8.37 Hypothesis tests about μ: σ not known
When the population standard deviation (σ) is unknown, the choice of statistical test for the population mean (μ) depends on the sample size and the distribution of the population. The t-distribution is used when σ is unknown and either the population is normally distributed with a small sample size (n<30) or the sample size is large (n≥30).
Nonparametric methods are used if the population distribution is unknown or not normal with a small sample size 438.
| Case | Conditions | Distribution to Use |
|---|---|---|
| I | 1. Population standard deviation σ is not known; 2. Sample size is small (n≤30); 3. Population is normally distributed | t distribution |
| II | 1. Population standard deviation σ is not known; 2. Sample size is large (n>30) | t distribution |
| III | 1. Population standard deviation σ is not known; 2. Sample size is small (n≤30); 3. Population is not normally distributed (or shape is unknown) | Nonparametric method |
9. Chapter 10: Estimation and hypothesis testing: Two populations
9.1 Hypothesis tests about μ: σ not known
When the population standard deviation (σ) is unknown, and the population is normally distributed or the sample size is large (n≥30), the t distribution is used for hypothesis testing about the population mean (μ). The test statistic follows a t distribution with n−1 degrees of freedom 439.
9.2 The p-value approach
The p-value approach involves calculating the probability of observing a test statistic as extreme as, or more extreme than, the one computed from the sample data, assuming the null hypothesis is true. This probability is then compared to the significance level (α) to make a decision 439.
- Steps:
- State the null (H0) and alternative (H1) hypotheses 439.
- Select the appropriate distribution (t distribution for unknown σ).
- Calculate the p-value. For a two-tailed test, the p-value is twice the area in the tail beyond the calculated t-statistic. For a one-tailed test, it is the area in the relevant tail. Table V in Appendix C can be used to find a range for the p-value.
- Make a decision: If the p-value is less than or equal to the significance level (α), reject H0. Otherwise, fail to reject H0 440.
📝 For a two-tailed test with df=17 and t=2.121, the p-value range is 0.02<p≤0.05 440.
9.3 EXAMPLE 9–5
A psychologist claims the mean age children start walking is 12.5 months. A sample of 18 children had a mean walking age of 12.9 months with a standard deviation of 0.80 month.
The ages are approximately normally distributed. Test the claim at a 1% significance level 439.
- Hypotheses:
- H0:μ=12.5 (The mean walking age is 12.5 months.).
- H1:μ=12.5 (The mean walking age is different from 12.5 months.) 439.
- Distribution: t distribution, as σ is unknown, n=18 (small), and the population is normal.
- Calculations:
- Degrees of freedom (df) = n−1=18−1=17.
- Standard error (sx) = s/n=0.80/18≈0.1886.
- Test statistic (t) = (xˉ−μ)/sx=(12.9−12.5)/0.1886≈2.121.
- p-value range: For df=17, t=2.121 falls between t=2.110 (area = 0.025) and t=2.567 (area = 0.01). Since it's a two-tailed test, the p-value range is 2×0.01 to 2×0.025, or 0.02<p≤0.05.
- Decision: With α=0.01, and the p-value range 0.02<p≤0.05, we fail to reject H0.
- Conclusion: The mean age at which children start walking is not significantly different from 12.5 months 440.
📝 A psychologist claims the mean walking age is 12.5 months. A sample of 18 children had a mean walking age of 12.9 months with a standard deviation of 0.80 month. The test statistic is t≈2.121 439.
9.4 EXAMPLE 9–6
Grand Auto Corporation claims its batteries last at least 65 months on average. A sample of 45 batteries had a mean life of 63.4 months with a standard deviation of 3 months.
Test the claim at a 2.5% significance level 441.
- Hypotheses:
- H0:μ≥65 (The mean life is at least 65 months.).
- H1:μ<65 (The mean life is less than 65 months.).
- Distribution: t distribution, as σ is unknown and n=45 (large).
- Calculations:
- Degrees of freedom (df) = n−1=45−1=44.
- Standard error (sx) = s/n=3/45≈0.4472.
- Test statistic (t) = (xˉ−μ)/sx=(63.4−65)/0.4472≈−3.578.
- p-value: For df=44, the area to the left of t=−3.578 is less than 0.001 441.
- Decision: With α=0.025, and p<0.001, we reject H0.
- Conclusion: The mean life of the batteries is less than 65 months 442.
9.5 The critical-value approach
This approach involves comparing the calculated test statistic to a critical value determined by the significance level and degrees of freedom. The critical value defines the boundary of the rejection region(s) 442.
- Steps:
- State the null (H0) and alternative (H1) hypotheses.
- Select the appropriate distribution (t distribution).
- Determine the rejection and nonrejection regions. For a two-tailed test, the rejection region is split between both tails; for a one-tailed test, it's in a single tail. The critical t-values are found using the significance level (α) and degrees of freedom (df) 442.
- Calculate the value of the test statistic (t).
- Make a decision: If the test statistic falls within the rejection region, reject H0. Otherwise, fail to reject H0 443.
9.6 EXAMPLE 9–7
Using the data from Example 9–5, test at the 1% significance level if the mean age children start walking is different from 12.5 months 442.
- Hypotheses: H0:μ=12.5 vs. H1:μ=12.5.
- Distribution: t distribution with df=17 442.
- Rejection Region: For a two-tailed test with α=0.01, the area in each tail is α/2=0.005. The critical t-values are ±2.898.
- Test Statistic: t≈2.121.
- Decision: The test statistic t=2.121 falls within the nonrejection region (between -2.898 and 2.898).
- Conclusion: Fail to reject H0. The mean age is not significantly different from 12.5 months 443.
9.7 EXAMPLE 9–8
Massachusetts Savings Bank installed a new computer system. With the old system, tellers served an average of 22 customers per hour.
A sample of 70 hours with the new system showed a mean of 27 customers served per hour, with a standard deviation of 2.5. Test at the 1% significance level if the new system is more efficient 443.
- Hypotheses:
- H0:μ=22 (The new system is not more efficient.).
- H1:μ>22 (The new system is more efficient.).
- Distribution: t distribution, as σ is unknown and n=70 (large).
- Rejection Region: For a right-tailed test with α=0.01 and df=69, the critical value of t is 2.382.
- Test Statistic: t≈16.733.
- Decision: The test statistic t=16.733 is greater than the critical value 2.382 and falls in the rejection region.
- Conclusion: Reject H0. The new computer system is more efficient 444.
9.8 Large sample sizes with unknown σ
When the sample size is very large (n>75) and σ is unknown, and the t-distribution table has limited degrees of freedom, two options exist:
- Use the t-value from the last row of the t-distribution table (approximating infinite degrees of freedom).
- Use the normal distribution as an approximation to the t-distribution. The procedure is similar to testing about a mean when σ is known, replacing σ with s and σxˉ with sxˉ 445.
9.9 Hypothesis tests about a population proportion: Large samples
Hypothesis tests can be conducted for a population proportion (p) when dealing with large samples. The sample proportion (p^) is approximately normally distributed for large samples, allowing the use of the normal distribution for testing 448.
- Conditions for large sample: The sample size is considered large when both np and nq are greater than 5, where q=1−p.
- Test Statistic: The test statistic z is calculated as: z=npqp^−p where p is the hypothesized population proportion and p^ is the sample proportion.
- Procedures: Both the p-value approach and the critical-value approach, similar to those used for testing the population mean, can be applied 448.
9.10 EXAMPLE 9–9
A 2008 survey found 81% of drivers talked on their cell phones while driving. A recent sample of 1600 drivers found 83% did so.
Test the hypothesis that the current percentage differs from 81% 448.
- Hypotheses:
- H0:p=0.81 (The proportion is 0.81.).
- H1:p=0.81 (The proportion is different from 0.81.).
- Distribution: Normal distribution, as the sample size is large (np=1600×0.81=1296>5 and nq=1600×0.19=304>5).
- Calculations:
- Hypothesized proportion (p) = 0.81.
- Sample proportion (p^) = 0.83.
- Standard error (sp^) = pq/n=0.81×0.19/1600≈0.00009675≈0.0098.
- Test statistic (z) = (p^−p)/sp^=(0.83−0.81)/0.0098≈2.04 448.
9.11 Hypothesis tests about a population proportion: Large samples
This section details the process for conducting hypothesis tests concerning a population proportion when dealing with large samples. It outlines both the p-value approach and the critical-value approach for making decisions.
The core principle is to determine if a sample proportion significantly differs from a hypothesized population proportion 449 450 451 452 453 454.
9.12 P-value approach for a population proportion
The p-value approach involves calculating the probability of observing a sample statistic as extreme as, or more extreme than, the one obtained from the sample, assuming the null hypothesis is true. This probability, the p-value, is then compared to the significance level (α) to make a decision 449 450 451.
- Hypotheses:
- Null hypothesis (H0): The population proportion equals a specific value (p=p0).
- Alternative hypothesis (H1): The population proportion is different from (p=p0), greater than (p>p0), or less than (p<p0) the specific value.
- Distribution: The normal distribution is used if np0≥5 and nq0≥5, where q0=1−p0.
- Test statistic: The z-score is calculated as z=np0q0p^−p0, where p^ is the sample proportion and n is the sample size.
- P-value calculation:
- For a two-tailed test (H1:p=p0), the p-value is twice the area in the tail beyond the calculated z-score.
- For a right-tailed test (H1:p>p0), the p-value is the area in the right tail beyond the calculated z-score.
- For a left-tailed test (H1:p<p0), the p-value is the area in the left tail beyond the calculated z-score 453.
- Decision:
- If the p-value ≤α, reject H0.
- If the p-value >α, do not reject H0 449 450 451.
9.13 Critical-value approach for a population proportion
The critical-value approach involves comparing a calculated test statistic to a critical value determined by the significance level and the type of test. The rejection and nonrejection regions are defined based on these critical values 451 452 453 454.
- Hypotheses: Same as the p-value approach.
- Distribution: The normal distribution is used if np0≥5 and nq0≥5.
- Rejection and nonrejection regions:
- For a two-tailed test, the rejection regions are z<−zα/2 and z>zα/2.
- For a left-tailed test, the rejection region is z<−zα.
- For a right-tailed test, the rejection region is z>zα 450.
- Test statistic: Calculated as z=np0q0p^−p0.
- Decision:
- If the test statistic falls within a rejection region, reject H0.
- If the test statistic falls within the nonrejection region, do not reject H0 452 453.
📝 A company claims at least 90% of orders are mailed within 72 hours. A sample of 150 orders found 129 mailed within 72 hours. Using a 2.5% significance level, test the claim. The critical value for a left-tailed test is -1.96. The calculated z-statistic is -1.63. Since -1.63 is not less than -1.96, we fail to reject H0, concluding the company's claim is true 453.
9.14 Case study: Favorite seat in the plane
This case study illustrates hypothesis testing for a population proportion using both the p-value and critical-value approaches. It examines whether the preference for window seats has changed from a previously established proportion 454.
- Scenario: A 2009 survey indicated 61% of adults prefer a window seat. A recent sample of 1000 adults found 640 preferred a window seat. The significance level is 1%, and the test is two-tailed.
- Hypotheses:
- H0:p=0.61
- H1:p=0.61.
- Critical-value approach:
- Critical values for α=0.01 (two-tailed) are z=±2.58.
- The calculated test statistic is z=1.95.
- Since −2.58<1.95<2.58, the test statistic falls in the nonrejection region. We fail to reject H0.
- P-value approach:
- The area to the right of z=1.95 is 1−0.9744=0.0256.
- The p-value for a two-tailed test is 2×0.0256=0.0512.
- Since 0.0512>0.01, we fail to reject H0.
- Conclusion: The current percentage of adults who prefer a window seat is not significantly different from 61% 454.
9.15 Exercises
This section provides practice problems covering the concepts of hypothesis testing for population proportions using both the p-value and critical-value approaches 455 456 457 458.
- Concepts and Procedures: These exercises focus on understanding the conditions for using the normal distribution, identifying rejection and nonrejection regions, and calculating critical and observed z-values for various hypothesis tests 455.
- Applications: These exercises apply hypothesis testing to real-world scenarios, such as consumer preferences, product quality, and health statistics, requiring the use of both the p-value and critical-value approaches 456 457.
- Uses and Misuses: This section discusses the proper formulation and interpretation of hypothesis tests, highlighting potential pitfalls such as overlapping hypotheses and numerical precision issues. It also includes a discussion on the bias in coin flips 458.
9.16 Supplementary exercises
This section presents supplementary exercises that reinforce concepts of hypothesis testing for means and proportions. These exercises require applying critical-value and p-value approaches to various scenarios 459 460 461 462 463 464 465 466 467 468.
- Exercise 9.99 involves testing a null hypothesis about a population mean with a known population standard deviation. It requires using the critical-value approach, determining the probability of a Type I error, and calculating the p-value to make decisions at different significance levels.
- Exercise 9.100 is similar to 9.99, focusing on a different population mean and sample statistics. It also requires critical-value and p-value approaches for hypothesis testing.
- Exercise 9.101 shifts to testing a hypothesis about a population proportion. It involves using the critical-value approach and calculating the p-value for decision-making 459.
- Exercise 9.102 continues with hypothesis testing for a population proportion, requiring both critical-value and p-value methods.
- Exercise 9.103 tests a hypothesis about the mean daily time spent eating and drinking by Norwegian men, using both p-value and critical-value approaches.
- Exercise 9.104 involves testing a hypothesis about mean water consumption after a conservation campaign, using both p-value and critical-value approaches.
- Exercise 9.105 tests a claim about the mean speed of vehicles in a construction zone, requiring a decision based on sample information and significance level, and explaining the Type I error.
- Exercise 9.106 tests whether the average annual electricity usage of new houses is less than a previously reported average, using both critical-value and p-value approaches, and explaining the Type I error 460.
- Exercise 9.107 tests a real estate agent's claim about the mean living area of homes, examining the conclusion at different significance levels.
- Exercise 9.108 tests whether the average time college students spend on Facebook is higher than a reported average, using both critical-value and p-value approaches.
- Exercise 9.109 assesses whether a journalist's conclusion about a restaurant's claim on food serving time is fair, using a 1% significance level.
- Exercise 9.110 evaluates the justifiability of a bank manager's claim about reduced waiting times, using both critical-value and p-value approaches at a 2.5% significance level.
- Exercise 9.111 tests whether the mean waiting time at a hospital's emergency ward is different from a claimed average, assuming a normal distribution.
- Exercise 9.112 tests whether the mean time U.S. adults spend with families has changed, with a discussion on decision-making when the probability of a Type I error is zero.
- Exercise 9.113 tests a company's claim about the mean time to learn new software, assuming approximate normality of learning times.
- Exercise 9.114 tests a company's claim about the maximum calorie content in yogurt cups, assuming approximate normality of calorie counts.
- Exercise 9.115 tests whether the current percentage of workers who have taken employer-based training is different from a historical percentage, using critical-value and p-value approaches, and explaining the Type I error 461.
- Exercise 9.116 tests whether the percentage of men not washing hands in a specific location is less than a previously observed percentage, using critical-value and p-value approaches, and explaining the Type I error.
- Exercise 9.117 tests a company's claim about the preference for national brand coffee, using both critical-value and p-value approaches.
- Exercise 9.118 tests whether the proportion of male workers calling in sick for housework is different from a reported percentage, at a 2% significance level.
- Exercise 9.119 tests a company's claim about the proportion of good batteries, with a discussion on decision-making when the probability of a Type I error is zero.
- Exercise 9.120 tests whether a company maintains its policy of on-time deliveries, with a discussion on decision-making when the probability of a Type I error is zero 462.
9.17 Advanced exercises
This section includes advanced exercises that delve deeper into hypothesis testing, exploring concepts like significance levels, rejection regions, and the relationship between sample size and statistical power 462 463 464 465 466 467 468.
- Exercise 9.121 involves a scenario of predicting roulette wheel outcomes. It requires calculating the probability of winning multiple bets, determining the significance level of a test, and interpreting Professor Hansen's conclusion about predictive ability.
- Exercise 9.122 focuses on determining the critical number of defective parts (C) to shut down manufacturing machines, aiming for a specific significance level 462.
- Exercise 9.123 calculates the significance level for a test where the rejection region is defined by a specific number of late flights.
- Exercise 9.124 involves deciding whether to support a new therapy regime based on its effectiveness in reducing visits while maintaining a cure rate, using a.01 significance level.
- Exercise 9.125 calculates the significance level used by a consumer testing lightbulb longevity and explores the impact of changing the decision rule.
- Exercise 9.126 determines the appropriate null and alternative hypotheses for a new vaccine's effectiveness and calculates the significance level for different study designs.
- Exercise 9.127 outlines an experiment to determine if a middle tail-light is effective in reducing rear-end collisions, including defining the parameter, hypotheses, data collection, and assumptions.
- Exercise 9.128 involves testing a coin for bias by formulating hypotheses and calculating the significance level based on a decision rule.
- Exercise 9.129 tests a die for balance and examines the relationship between sample size and the difference needed to reject the null hypothesis 463.
- Exercise 9.130 involves determining pairs of p-values for different alternative hypotheses given a p-value for a two-tailed test and then matching them based on the sign of the test statistic.
- Exercise 9.131 explains why a high failure rate to reject the null hypothesis in multiple tests from the same population is not surprising 464.
9.18 Mini-projects
These mini-projects provide hands-on experience with hypothesis testing, encouraging data collection and analysis to investigate real-world phenomena 466 467 468.
- Mini-Project 9–1 involves testing for a difference in mean NBA player heights between two seasons using different sample sizes and the t distribution.
- Mini-Project 9–2 investigates the fairness of a thumbtack toss by setting up hypotheses, collecting data, and determining the sample size needed for a desired accuracy.
- Mini-Project 9–3 explores the effect of sample size on hypothesis testing by repeatedly sampling pennies and testing hypotheses about their average age 466.
- Mini-Project 9–4 examines the relationship between sample standard deviation and sample size in maintaining a specific p-value for hypothesis tests related to the cost of raising a child.
- Mini-Project 9–5 tests the concept that the side of a coin facing up before a flip is more likely to land up after the flip, using different numbers of flips and comparing results 467.
📝 Mini-Project 9–3 involves collecting 500 pennies, calculating their mean and standard deviation, and then performing hypothesis tests on random samples of 10 pennies to see if their average age differs from the population mean.
9.19 Decide for yourself: Statistical and practical significance
This section explores the distinction between statistical and practical significance, using a gasoline additive example to illustrate how sample size can influence statistical significance while practical significance depends on the magnitude of the effect and its real-world implications 468.
- Statistical significance refers to whether an observed effect is likely due to random chance or represents a real effect in the population. It is determined by hypothesis testing at a given significance level.
- Practical significance considers whether the observed effect is large enough to be meaningful or important in a real-world context, regardless of statistical significance.
- The example involves testing a gasoline additive's effect on mileage. A hypothesis test is performed with a 5% significance level to see if mileage increases.
- The test is repeated with a larger sample size (100 cars) while keeping the mean and standard deviation the same to observe the impact on statistical significance.
- The practical significance of the mileage increase is discussed, considering the cost of the additive and gas prices to determine if its use is economically beneficial 468.
9.20 TI-84 hypothesis testing technology instructions
This section provides instructions for using a TI-84 calculator to perform hypothesis tests for population means and proportions 468.
- Z-Test for population mean (μ) with known population standard deviation (σ):
- Select
STAT>TESTS>ZTest. - Choose
Data(if data is in a list) orStats(if summary statistics are available). - Enter the list name (for Data) or sample mean, sample standard deviation, and sample size (for Stats).
- Enter μ0 (hypothesized population mean) and σ.
- Select the alternative hypothesis (=, <, or >).
- Select
Calculate. - T-Test for population mean (μ) with unknown population standard deviation (σ):
- Select
STAT>TESTS>TTest. - Choose
DataorStats. - Enter μ0 (hypothesized population mean).
- Select
Calculate. - 1-PropZTest for population proportion (p):
- Select
STAT>TESTS>1-PropZTest. - Enter p0 (hypothesized population proportion).
- Enter the number of successes (
x) and the sample size (n). - Select
Calculate468.
9.21 Inferences about the difference between two population means for independent samples: σ1 and σ2 known
This section focuses on making confidence intervals and testing hypotheses about the difference between two population means (μ1−μ2) when the population standard deviations (σ1 and σ2) are known and the samples are independent. The difference between the sample means (xˉ1−xˉ2) serves as the point estimator for the difference between the population means.
9.22 Independent Versus dependent samples
Two samples are considered independent if they are drawn from two distinct populations, and the selection of one sample does not influence the selection of the other. Conversely, samples are dependent (or paired/matched) if the elements of the two samples are related, such as measurements taken from the same individuals before and after an intervention.
- Independent samples: Selection of one sample has no effect on the selection of the second sample.
- Dependent samples: Elements of the two samples are related; also called paired or matched samples 474.
9.23 Mean, standard deviation, and sampling distribution of xˉ1−xˉ2
When two independent samples are drawn from two populations, and specific conditions regarding sample size and population distribution are met, the sampling distribution of the difference between sample means (xˉ1−xˉ2) is approximately normal.
- Conditions for normal sampling distribution:
- The two samples are independent.
- The population standard deviations (σ1 and σ2) are known.
- At least one of the following is true:
- Both samples are large (n1≥30 and n2≥30).
- If either or both sample sizes are small, both populations are normally distributed.
- Properties of the sampling distribution of xˉ1−xˉ2:
- Mean: E(xˉ1−xˉ2)=μ1−μ2.
- Standard deviation (standard error): sxˉ1−xˉ2=n1σ12+n2σ22 475.
| Symbol | Definition |
|---|---|
| xˉ1 | Mean of the sample from population 1 |
| xˉ2 | Mean of the sample from population 2 |
| n1 | Size of the sample from population 1 |
| n2 | Size of the sample from population 2 |
| σ1 | Standard deviation of population 1 |
| σ2 | Standard deviation of population 2 |
| μ1 | Mean of population 1 |
| μ2 | Mean of population 2 |
9.24 Interval estimation of μ1−μ2
A confidence interval for the difference between two population means (μ1−μ2) provides a range of plausible values for this difference. The point estimate is the difference between the sample means (xˉ1−xˉ2).
- The (1−α)100% confidence interval for μ1−μ2 is given by: (xˉ1−xˉ2)±z⋅sxˉ1−xˉ2 where z is the critical value from the normal distribution for the given confidence level, and sxˉ1−xˉ2=n1σ12+n2σ22.
- Note: In practice, population standard deviations (σ1 and σ2) are rarely known, making this specific procedure less common in real-world applications 476.
📝 A survey of low- and middle-income households in 2008 indicated that consumers aged 65 and older had an average credit card debt of $10,235, while those aged 50 to 64 had an average debt of $9342. These averages were based on samples of 1200 and 1400 people, respectively, with assumed population standard deviations of $2800 and $2500.
- The point estimate of μ1−μ2 is xˉ1−xˉ2=$10,235−$9342=$893.
- A 97% confidence interval for μ1−μ2 is constructed. The standard deviation of xˉ1−xˉ2 is calculated as sxˉ1−xˉ2=120028002+140025002≈$104.87. Using z≈2.17 for a 97% confidence level, the interval is $893±2.17($104.87), which results in a confidence interval of $665.43 to $1120.57 477.
9.25 Hypothesis testing about μ1−μ2
Hypothesis tests are used to compare the means of two populations. The procedure follows the same five steps as for single-population parameters, utilizing the normal distribution when specific conditions are met.
- Conditions for using the normal distribution in hypothesis testing:
- The two samples are independent.
- Test statistic z for μ1−μ2: z=sxˉ1−xˉ2(xˉ1−xˉ2)−(μ1−μ2) where (μ1−μ2) is substituted from the null hypothesis (H0), and sxˉ1−xˉ2=n1σ12+n2σ22 478.
9.26 Inferences about the difference between two population means for independent samples: σ1 and σ2 known
This section covers making a confidence interval and testing a hypothesis about the difference between two population means when the population standard deviations (σ1 and σ2) are known. The procedures rely on the sampling distribution of the difference between two sample means, xˉ1−xˉ2.
The conditions for using these procedures are:
- The two samples are independent.
- The two populations are normally distributed, or both sample sizes are large (n1≥30 and n2≥30).
The sampling distribution of xˉ1−xˉ2 has a mean of μ1−μ2 and a standard deviation of σxˉ1−xˉ2=n1σ12+n2σ22 479.
9.27 Confidence Interval for μ1−μ2 (σ1,σ2 known)
A (1−α)100% confidence interval for the difference between two population means (μ1−μ2) is given by: (xˉ1−xˉ2)±zα/2n1σ12+n2σ22 where zα/2 is the critical value from the standard normal distribution for the given confidence level 479.
9.28 Hypothesis Testing for μ1−μ2 (σ1,σ2 known)
To test a hypothesis about the difference between two population means when σ1 and σ2 are known, the test statistic is: z=n1σ12+n2σ22(xˉ1−xˉ2)−(μ1−μ2) where (μ1−μ2) is the hypothesized difference, usually 0 479.
The decision to reject or not reject the null hypothesis is based on comparing the calculated test statistic to critical values or by comparing the p-value to the significance level (α) 479.
Exercise 10.9: Compares the mean elapsed times for two deer repellents A and B, given sample means, population standard deviations, and sample sizes. It asks for the point estimate of the difference, a confidence interval, and a hypothesis test for the difference in means 480.
Exercise 10.10: Compares the mean weekly unemployment benefits in Alabama and Mississippi, providing sample means, population standard deviations, and sample sizes. It requires calculating a point estimate, a confidence interval, and testing for a difference in means 480.
Exercise 10.11: Compares the mean amounts of ice cream dispensed by male and female students, with given sample means, population standard deviations, and sample sizes. It asks for a point estimate, a confidence interval, and a test to see if males dispense more ice cream than females 480.
Exercise 10.12: Compares the mean time doctors spent with patients in 2004 and the current year, providing sample means, population standard deviations, and sample sizes. It requires a confidence interval and a test to see if the mean time is lower this year. 480 481.
Exercise 10.13: Compares the mean repair costs for two sports car models (T-999 and XPY) over the first three years, with given sample means, standard deviations, and sample sizes. It asks for a confidence interval and a test to see if the mean repair costs are different 481.
Exercise 10.14: Compares the mean waiting times at two banks (New Century and Public Bank), providing sample means, standard deviations, and sample sizes. It requires a confidence interval and a test to verify the claim that New Century Bank's mean waiting time is less than Public Bank's.
It also asks for the p-value 481.
Exercise 10.15: Compares the mean calorie content of low-fat yogurt cups from two companies, with given sample means, population standard deviations, and sample sizes. It asks for a confidence interval and a test to verify the claim that one company's yogurt has fewer calories.
9.29 Inferences about the difference between two population means for independent samples: σ1 and σ2 unknown but equal 482
This section addresses making a confidence interval and testing a hypothesis about the difference between the means of two populations when the population standard deviations (σ1 and σ2) are unknown but assumed to be equal. The t distribution is used for these procedures 481.
The conditions for using the t distribution are:
- The two samples are independent.
- The standard deviations σ1 and σ2 are unknown but can be assumed to be equal (σ1=σ2).
- If either or both sample sizes are small, then both populations from which the samples are drawn are normally distributed. 481 482.
When σ1 and σ2 are assumed equal, a pooled sample standard deviation (sp) is calculated as an estimator for the common population standard deviation 482.
| Formula | Description |
|---|---|
| sp=n1+n2−2(n1−1)s12+(n2−1)s22 | Pooled sample standard deviation, an estimator of σ |
| sxˉ1−xˉ2=spn11+n21 | Standard deviation of the difference between sample means, using the pooled standard deviation |
9.30 Interval Estimation of μ1−μ2 (σ1,σ2 unknown but equal)
The (1−α)100% confidence interval for μ1−μ2 is: (xˉ1−xˉ2)±tα/2,n1+n2−2sxˉ1−xˉ2 where tα/2,n1+n2−2 is the critical value from the t distribution with n1+n2−2 degrees of freedom. 482 483.
Example 10–5: Estimates the difference in mean caffeine amounts between two brands of coffee. Sample sizes are small, but populations are assumed normal and standard deviations equal.
A 95% confidence interval is constructed 483.
📝 For two brands of coffee, Brand I had a sample mean caffeine of 80 mg with a standard deviation of 5 mg (n1=15), and Brand II had a sample mean of 77 mg with a standard deviation of 6 mg (n2=12). Assuming equal population standard deviations and normal distributions, a 95% confidence interval for the difference in mean caffeine amounts (μ1−μ2) is calculated to be between 1.36 and 7.36 milligrams 483.
9.31 Hypothesis Testing About μ1−μ2 (σ1,σ2 unknown but equal)
When the conditions for using the t distribution are met, the test statistic for the difference between two population means is: t=sxˉ1−xˉ2(xˉ1−xˉ2)−(μ1−μ2) where (μ1−μ2) is the hypothesized difference (usually 0), and sxˉ1−xˉ2 is calculated using the pooled standard deviation 484.
The decision to reject or not reject the null hypothesis is made by comparing the calculated t-statistic to critical t-values or by using the p-value approach. 484 485.
Example 10–6: Tests if there is a difference in the mean number of calories per can for two brands of diet soda. Sample sizes are small, populations are normally distributed, and standard deviations are assumed equal.
A 1% significance level is used 484.
Example 10–7: Tests if children in New York State spend more time watching television per week than children in California. Sample sizes are large, and standard deviations are assumed equal.
A 2.5% significance level is used 486.
Note on Large Sample Sizes: When sample sizes are very large (e.g., degrees of freedom > 75), and using the t-distribution table is problematic, one can use the last row of the t-table (approximating with z) or use the normal distribution as an approximation to the t-distribution 487.
Exercise 10.16: Explains the conditions required to use the t distribution for inferences about the difference between two population means when samples are independent and standard deviations are unknown but equal 487.
Exercise 10.17: Provides information from two independent samples from normally distributed populations with unknown but equal standard deviations. It asks for the point estimate of μ1−μ2 and a 95% confidence interval 487.
Exercise 10.18: Provides information from two independent samples with unknown but equal standard deviations. It asks for the point estimate of μ1−μ2 and a 99% confidence interval 488.
Case Study: Average Compensation for Accountants: This case uses the procedures for independent samples with unknown but equal standard deviations to analyze compensation data for different groups of accountants (CMA and CPA). It demonstrates constructing a confidence interval and testing a hypothesis for the difference in mean compensations, using a large sample size where the t-distribution table's last row is utilized for the critical value 488.
9.32 Inferences about the difference between two population means for independent samples: σ₁ and σ₂ unknown and unequal
When population standard deviations (σ1 and σ2) are unknown and unequal, but other assumptions for independent samples hold, the t-distribution is still used for inferences about the difference between two population means (μ1−μ2). The key differences lie in the calculation of the degrees of freedom (df) and the standard error of the difference between sample means (xˉ1−xˉ2) 492.
The conditions for using the t-distribution in this scenario are:
- The two samples are independent.
- The population standard deviations (σ1 and σ2) are unknown and unequal.
- If either or both sample sizes are small, both populations from which the samples are drawn are normally distributed 492.
The degrees of freedom are calculated using a complex formula and always rounded down: df=n1−1(n1s12)2+n2−1(n2s22)2(n1s12+n2s22)2 where s1 and s2 are the sample standard deviations, and n1 and n2 are the sample sizes 492.
The standard deviation of the difference between sample means (xˉ1−xˉ2) is calculated as: sxˉ1−xˉ2=n1s12+n2s22 492.
9.33 Interval estimation of μ₁ - μ₂
The point estimate for the difference between two population means (μ1−μ2) is the difference between the two sample means (xˉ1−xˉ2). The confidence interval for μ1−μ2 is given by: (xˉ1−xˉ2)±t⋅sxˉ1−xˉ2 where t is the critical t-value for the given confidence level and calculated degrees of freedom 492.
| Concept | Formula/Description |
|---|---|
| Conditions for t-distribution | 1. Independent samples; 2. Unknown and unequal population standard deviations (σ1=σ2); 3. Large samples (n1≥30,n2≥30) OR small samples with normally distributed populations |
| Degrees of Freedom (df) | Calculated using Welch-Satterthwaite equation, rounded down |
| Standard Error of the Difference (sxˉ1−xˉ2) | sxˉ1−xˉ2=n1s12+n2s22 |
| Confidence Interval for μ1−μ2 | (xˉ1−xˉ2)±t⋅sxˉ1−xˉ2 |
Example 10–8: A 95% confidence interval for the difference between the mean amounts of caffeine in two brands of coffee was constructed. Sample 1 (Brand I) had n1=15, xˉ1=80 mg, s1=5 mg.
Sample 2 (Brand II) had n2=12, xˉ2=77 mg, s2=6 mg. The populations were assumed to be normally distributed with unequal standard deviations.
The calculated standard deviation of the difference was approximately 2.16 mg. The degrees of freedom were calculated to be 21. The t-value for a 95% confidence level with df=21 is 2.080. The resulting 95% confidence interval for μ1−μ2 was found to be between 1.49 and 7.49 milligrams 493.
9.34 Hypothesis testing about μ₁ - μ₂
When population standard deviations are unknown and unequal, hypothesis testing for μ1−μ2 uses the t-distribution with the same df and standard error calculations as for interval estimation 493.
The steps for hypothesis testing are:
- State hypotheses: Define the null (H0) and alternative (H1) hypotheses.
- Select distribution: Use the t-distribution based on the conditions.
- Determine rejection region: Find critical t-values based on the significance level (α) and df.
- Calculate test statistic: Compute the t-statistic using the formula: t=sxˉ1−xˉ2(xˉ1−xˉ2)−(μ1−μ2)0 where (μ1−μ2)0 is the hypothesized difference (usually 0) 494.
- Make a decision: Compare the test statistic to the critical value(s) or use the p-value to reject or fail to reject H0 495.
Example 10–9: A test was conducted to compare the mean number of calories in two brands of diet soda. Brand I had n1=14, xˉ1=23 calories, s1=3 calories.
Brand II had n2=16, xˉ2=25 calories, s2=4 calories. The populations were assumed to be normally distributed with unequal standard deviations.
The significance level was α=0.01. The calculated standard deviation of the difference was approximately 1.28. The degrees of freedom were calculated to be 27. For a two-tailed test with α=0.01 and df=27, the critical t-values are ±2.771. The calculated test statistic was t=−1.560. Since −2.771<−1.560<2.771, the null hypothesis (H0:μ1=μ2) was not rejected. 494-495
The p-value approach can also be used. For t=−1.560 with df=27, the p-value is between 0.10 and 0.20. Since the p-value is greater than α=0.01, we fail to reject H0 495.
Exercises:
- Exercises 10.19-10.22 involve testing hypotheses about the difference between two population means using given sample data and significance levels 489.
- Exercises 10.23-10.32 present various scenarios requiring the construction of confidence intervals and hypothesis tests for the difference between two population means, assuming unknown and unequal population standard deviations. 490-491
- Exercises 10.33-10.38 focus on applying the formulas for confidence intervals and hypothesis tests when population standard deviations are unequal and unknown 496.
- Exercises 10.39-10.46 provide real-world applications where these statistical methods are used to compare means from two independent samples with unequal and unknown population standard deviations. 496-497
10. Chapter 11: Chi-square tests
10.1 Inferences about the difference between two population means for paired samples
When dealing with paired or matched samples, two data values are collected from the same source, making them dependent. This contrasts with independent samples where data values come from separate, unrelated sources.
Procedures for confidence intervals and hypothesis testing differ significantly between these two types of samples 498.
Paired or matched samples occur when each data value from one sample has a corresponding data value from the second sample, both originating from the same source. This design helps reduce variability by controlling for factors inherent to the source 498.
The difference between the two data values for each element in a pair is denoted by d. This d value is treated as a single sample for inference, applying procedures similar to those used for one-sample cases.
The sample size, n, represents the number of paired difference values, and the degrees of freedom are n−1 498.
10.2 Mean and standard deviation of the paired differences
The mean (dˉ) and standard deviation (sd) of paired differences for two samples are calculated as follows 499:
| Statistic | Formula |
|---|---|
| Mean of paired differences | dˉ=n∑d |
| Standard deviation of paired differences | sd=n−1∑d2−n(∑d)2; sd=n−1∑d2−ndˉ2; sd=n−1∑(d−dˉ)2; sd=n−1∑d2−n−1ndˉ2 |
📝 The mean of paired differences (dˉ) is calculated as n∑d, and the standard deviation (sd) is calculated using formulas like sd=n−1∑d2−ndˉ2 499.
10.3 Sampling distribution of dˉ
If the population standard deviation of paired differences (σd) is known and either the sample size is large (n≥30) or the population of paired differences is normally distributed, the sampling distribution of dˉ is approximately normal with a mean of μd and a standard deviation of σdˉ=nσd 499.
However, σd is usually unknown. In such cases, if the sample size is large (n≥30) or the population of paired differences is normally distributed, the t distribution is used for inference about μd.
The standard deviation of dˉ is estimated by sdˉ=nsd 499.
10.4 Making inferences about μd
Inferences about μd using the t distribution are appropriate when:
- The population standard deviation of paired differences (σd) is unknown.
- At least one of the following conditions is met:
- The sample size is large (n≥30).
- The population of paired differences is normally distributed 499.
The standard error of dˉ is estimated by sdˉ=nsd 499.
📝 To make inferences about μd when σd is unknown and the sample size is large (n≥30) or the population of paired differences is normally distributed, the t distribution is used, with the standard error estimated by sdˉ=nsd 499.
10.5 Interval estimation of μd
The sample mean of paired differences, dˉ, serves as the point estimator for μd. A confidence interval for μd is constructed using the t distribution 499.
The (1−α)100% confidence interval for μd is given by: dˉ±t⋅sdˉ where t is the critical value from the t distribution for the given confidence level and n−1 degrees of freedom, and sdˉ is calculated as nsd 500.
Example 10–10: A researcher wants to assess the effect of a special diet on systolic blood pressure. Seven adults were monitored before and after a 3-month dietary plan.
The systolic blood pressures were recorded, and the mean reduction (μd) was to be estimated with a 95% confidence interval, assuming the population of paired differences is approximately normally distributed 500.
The differences (d) and squared differences (d2) were calculated for each adult. The sample mean difference (dˉ) was found to be 5.00 mm Hg, and the sample standard deviation of the differences (sd) was approximately 10.7858. The standard error of the mean difference (sdˉ) was calculated as 710.7858≈4.0766. For a 95% confidence interval with df=7−1=6, the critical t-value is 2.447. The 95% confidence interval for μd is 5.00±2.447⋅4.0766, resulting in an interval from 4.98 to 14.98 mm Hg 500 501.
📝 A 95% confidence interval for μd is constructed as dˉ±t⋅sdˉ, where for seven adults, dˉ=5.00 mm Hg, sdˉ≈4.0766, and the critical t-value for df=6 is 2.447, resulting in an interval of 5.00±2.447⋅4.0766, or 4.98 to 14.98 mm Hg 500 501.
10.6 Hypothesis testing about μd
Hypothesis tests about μd are conducted using the sample statistic dˉ. The t distribution is used under the same conditions as for interval estimation 501.
The test statistic t for μd is calculated as: t=sdˉdˉ−μd0 where μd0 is the hypothesized population mean difference (often 0). The critical value of t is determined from the t distribution table for the given significance level and n−1 degrees of freedom 501.
Example 10–11: A company investigates whether a sales course increases average weekly sales. Six salespersons' sales before and after the course were recorded.
A 1% significance level was used to test if the mean weekly sales increased. The population of paired differences was assumed to be normally distributed 501 502.
The null hypothesis is H0:μd=0 (mean weekly sales do not increase), and the alternative hypothesis is H1:μd<0 (mean weekly sales increase, as d is defined as sales before minus sales after). The sample mean difference (dˉ) is 4.17, and the sample standard deviation (sd) is 2.6394. The standard error of the mean difference (sdˉ) is calculated as 62.6394≈1.0775. With df=6−1=5 and α=0.01 for a left-tailed test, the critical t-value is -3.365. The calculated test statistic is t=1.07754.17−0≈3.870. Since the calculated t-value (3.870) does not fall in the rejection region (t < -3.365), the null hypothesis is not rejected.
Using the p-value approach, the p-value is between 0.005 and 0.01 502 503.
Example 10–12: Using the data from Example 10–10 on systolic blood pressures before and after a special diet, a 5% significance level is used to test if the mean of the paired differences (μd) is different from zero. The population of paired differences is assumed to be approximately normal 503.
The null hypothesis is H0:μd=0, and the alternative hypothesis is H1:μd=0. The sample mean difference (dˉ) is 5.00 mm Hg, and the sample standard deviation (sd) is approximately 10.7858. The standard error of the mean difference (sdˉ) is approximately 4.0766. For a two-tailed test with df=6 and α=0.05, the critical t-values are -2.447 and 2.447. The calculated test statistic is t=4.07665.00−0≈1.226. Since the calculated test statistic t=1.226 falls in the nonrejection region, the null hypothesis is not rejected.
The p-value is greater than 0.20 503 504.
10.7 Concepts and procedures
- 10.47 Explain when you would use the paired-samples procedure to make confidence intervals and test hypotheses.
- 10.48 Find the following confidence intervals for μd, assuming that the populations of paired differences are normally distributed.
- a. n=11, dˉ=25.4, sd=13.5, confidence level = 99%
- b. n=23, dˉ=13.2, sd=4.8, confidence level = 95%
- c. n=18, dˉ=34.6, sd=11.7, confidence level = 90%
- 10.49 Find the following confidence intervals for μd, assuming that the populations of paired differences are normally distributed.
- a. n=12, dˉ=17.5, sd=6.3, confidence level = 99%
- b. n=27, dˉ=55.9, sd=14.7, confidence level = 95%
- c. n=16, dˉ=29.3, sd=8.3, confidence level = 90%
- 10.50 Perform the following tests of hypotheses, assuming that the populations of paired differences are normally distributed.
- a. H0:μd=0, H1:μd=0, n=9, dˉ=6.7, sd=2.5, α=0.10
- b. H0:μd=0, H1:μd>0, n=22, dˉ=14.8, sd=6.4, α=0.05
- c. H0:μd=0, H1:μd<0, n=17, dˉ=9.3, sd=4.8, α=0.01
- 10.51 Conduct the following tests of hypotheses, assuming that the populations of paired differences are normally distributed 505.
- a. H0:μd=0, H1:μd=0, n=26, dˉ=9.6, sd=3.9, α=0.05
- b. H0:μd=0, H1:μd>0, n=15, dˉ=8.8, sd=4.7, α=0.01
- c. H0:μd=0, H1:μd<0, n=20, dˉ=7.4, sd=2.3, α=0.10
10.8 Applications
- 10.52 A company sent seven employees to a self-confidence course. Scores before and after were recorded.
- a. Construct a 95% confidence interval for the mean difference (μd) in scores, where d = score before - score after.
- b. Test at the 1% significance level whether attending the course increases the mean score. Assume the population of paired differences is normally distributed 505.
- 10.53 Seven bicycle racers completed a time trial, took a dietary supplement for 4 weeks, and then completed another time trial. Times (in minutes) before and after are given.
- a. Construct a 99% confidence interval for the mean difference (μd), where d = time before - time after.
- b. Test at the 2.5% significance level whether the supplement results in faster times. Assume the population of paired differences is normally distributed.
- 10.54 An exercise physiologist measured the maximum weight (in pounds) pressed by the dominant and nondominant arms of 18 fifteen-year-old girls. Assume the differences are approximately normally distributed.
- a. Construct a 99% confidence interval for the mean of the paired differences, where d = weight (dominant arm) - weight (nondominant arm).
- b. Using the 2% significance level, can you conclude that the average paired difference is positive?
- 10.55 Thirteen contestants ate the first and ninth Whoopie Pies in a contest. Times (in seconds) are recorded 506.
- a. Construct a 95% confidence interval for the mean of the population paired differences, where d = time (ninth pie) - time (first pie).
- b. Using the 10% significance level, can you conclude that the average time for the ninth pie is at least 15 seconds more than for the first pie? Assume the population of paired differences is normally distributed.
- 10.56 A gasoline additive's effect on mileage was tested on six cars. Miles per gallon were recorded with and without the additive.
- a. Construct a 99% confidence interval for the mean difference (μd), where d = MPG without additive - MPG with additive.
- b. Using the 2.5% significance level, can you conclude that the additive increases mileage? Assume the population of paired differences is normally distributed.
- 10.57 A factory tested two brands of filters for smokestacks, measuring pollutant concentrations (in parts per million) at 20 different times. Assume the differences in concentration levels are approximately normally distributed.
- a. Construct a 95% confidence interval for the mean of the population paired differences, where d = concentration (Filter I) - concentration (Filter II).
- b. Using the 5% significance level, can you conclude that the average paired difference for concentration levels is different from zero 507?
10.9 Inferences about the difference between two population proportions for large and independent samples
This section addresses constructing confidence intervals and testing hypotheses about the difference between two population proportions (p1−p2) when dealing with two large and independent samples. This is relevant when comparing proportions of a characteristic in two distinct groups, such as the proportion of defective items from two machines 507.
The sample statistic used for inferences about p1−p2 is p^1−p^2, where p^1 and p^2 are the sample proportions. A sample proportion is calculated by dividing the number of elements with a specific attribute by the sample size 508.
10.10 Mean, standard deviation, and sampling distribution of p^1−p^2
For large samples, the sample proportion (p^) is approximately normally distributed with mean p and standard deviation npq. For two large and independent samples, their sample proportions (p^1 and p^2) are approximately normally distributed with means p1 and p2, and standard deviations n1p1q1 and \sqrt{\frac{p_2q_2}{n_2}, respectively 508.
The sampling distribution of p^1−p^2 is approximately normal with its mean and standard deviation given as 508:
| Parameter | Value |
|---|---|
| Mean | μp^1−p^2=p1−p2 |
| Standard Deviation | σp^1−p^2=n1p1q1+n2p2q2; (where q1=1−p1 and q2=1−p2) |
A sample is considered large if np and nq are both greater than 5. For two samples, both are large if n1p1,n1q1,n2p2, and n2q2 are all greater than 5. In these cases, the normal distribution is used for inference 508.
10.11 Interval estimation of p1−p2
The difference between two sample proportions, p^1−p^2, is the point estimator for the difference between two population proportions, p1−p2. Since p1 and p2 are unknown, the standard error σp^1−p^2 is estimated using sample proportions 508.
The (1−α)100% confidence interval for p1−p2 is: (p^1−p^2)±z⋅sp^1−p^2 where z is the critical value from the normal distribution table for the given confidence level, and the standard error sp^1−p^2 is calculated as n1p^1q^1+n2p^2q^2 508.
10.12 Inferences about the difference between two population proportions for large and independent samples
This section details how to construct confidence intervals and perform hypothesis tests for the difference between two population proportions when dealing with large, independent samples. The procedures rely on the normal distribution due to the sample sizes 509 510.
10.13 Constructing a confidence interval for p1−p2
A confidence interval for the difference between two population proportions (p1−p2) provides a range of plausible values for this difference. The calculation involves the sample proportions, sample sizes, and a critical z-value corresponding to the desired confidence level 509.
- Point estimate of p1−p2: This is simply the difference between the two sample proportions, p^1−p^2.
- Standard deviation of p^1−p^2: This is calculated using the formula n1p^1q^1+n2p^2q^2, where q^=1−p^.
- Margin of error: This is the product of the z-value for the confidence level and the standard deviation of p^1−p^2.
- Confidence interval: The interval is formed by subtracting and adding the margin of error to the point estimate: (p^1−p^2)±margin of error 509.
10.14 Hypothesis Testing About p1−p2
Hypothesis testing for the difference between two population proportions involves determining if there is a statistically significant difference between them. This is typically done using a z-test, assuming large and independent samples 510.
- Null Hypothesis (H0): Usually states that there is no difference between the population proportions (p1−p2=0).
- Alternative Hypothesis (H1): States that there is a difference (e.g., p1−p2=0, p1−p2>0, or p1−p2<0).
- Pooled Sample Proportion (pˉ): When H0 is true (p1=p2), a common proportion is calculated as pˉ=n1+n2x1+x2.
- Estimate of the Standard Deviation of p^1−p^2: Under the null hypothesis, this is calculated as pˉqˉ(n11+n21), where qˉ=1−pˉ.
- Test Statistic (z): Calculated as z=pˉqˉ(n11+n21)(p^1−p^2)−(p1−p2). The value from H0 (usually 0) is substituted for (p1−p2) 510.
10.15 Case Study: Vacation Importance
This case study applies the procedures for confidence intervals and hypothesis testing to data on the importance of vacations across different age groups 512.
10.16 Confidence interval for p1−p2
A 97% confidence interval is constructed for the difference in proportions of adults who consider vacation important between two age groups 512.
- Group 1 (18-34 years): n1=400, p^1=0.74.
- Group 2 (35-54 years): n2=320, p^2=0.66.
- Point estimate of p1−p2: 0.74−0.66=0.08.
- Standard deviation of p^1−p^2: 4000.74(0.26)+3200.66(0.34)≈0.03438.
- For a 97% confidence interval, z=2.17. Margin of error = 2.17×0.03438≈0.075.
- The 97% confidence interval is 0.08±0.075, which is 0.005 to 0.155. Thus, with 97% confidence, the difference in proportions is between 0.5% and 15.5% 512 513.
10.17 Test of hypothesis about p1−p2
A right-tailed hypothesis test is conducted to determine if the proportion of adults aged 18-34 who consider vacation important is greater than that for adults aged 35-54 513.
- H0:p1−p2=0, H1:p1−p2>0.
- Pooled proportion pˉ=(400×0.74+320×0.66)/(400+320)=468.8/720≈0.704.
- Estimate of standard deviation: 0.704(0.296)(4001+3201)≈0.03424.
- Test statistic z=0.03424(0.74−0.66)−0≈2.34.
- For a right-tailed test at α=0.01, the critical z-value is 2.33. Since 2.34>2.33, we reject H0. The proportion of adults aged 18-34 who say vacation is very important is greater than that for adults aged 35-54 513.
10.18 Example 10–15: Government Responsibility for Healthcare
This example tests whether the proportions of adults who believe it is the government's responsibility to ensure adequate healthcare differ between two age groups 513.
- Group 1 (18-34 years): n1=683, p^1=0.62.
- Group 2 (35 years and older): n2=2380, p^2=0.50.
- Significance level α=0.01.
- H0:p1−p2=0, H1:p1−p2=0.
- Pooled proportion pˉ=(683×0.62+2380×0.50)/(683+2380)≈0.527.
- Estimate of standard deviation: 0.527(0.473)(6831+23801)≈0.02167.
- Test statistic z=0.02167(0.62−0.50)−0≈5.54.
- For a two-tailed test at α=0.01, the critical z-values are ±2.58. Since 5.54>2.58, we reject H0. The proportions of adults in the two age groups who believe it is the government's responsibility to ensure adequate healthcare are different 513 514.
10.19 Exercises
The exercises cover constructing confidence intervals and performing hypothesis tests for the difference between two population proportions, including scenarios with different significance levels and sample sizes 515 516 517 518 519.
- Concepts and Procedures: These exercises focus on understanding the properties of the sampling distribution of p^1−p^2, determining sample size requirements, and applying confidence interval and hypothesis testing procedures.
- Applications: These exercises present real-world scenarios, such as job security in different regions, 401(k) participation rates, public opinion on vaccination, and emission test station failure rates, requiring the application of the learned statistical methods 515 516.
- Supplementary Exercises: These exercises extend the concepts to include inferences about the difference between two population means (assuming normal distributions and known/unknown population standard deviations) and paired samples, as well as more complex applications 517 518 519.
10.20 Exercises on confidence intervals and hypothesis tests for two populations
This section presents exercises that apply confidence intervals and hypothesis tests to compare two populations. These exercises cover scenarios involving proportions and means, requiring the application of various statistical methods.
- Exercise 10.89: This exercise involves comparing proportions of political affiliations regarding economic news. It requires constructing a 95% confidence interval for the difference between proportions and testing for significant differences at a 2% significance level using both critical value and p-value approaches.
- Exercise 10.90: This problem focuses on comparing the influence of advertisements on purchasing decisions across two age groups. It asks for a 98% confidence interval for the difference in population proportions and a one-sided hypothesis test at a 1% significance level to determine if the proportion is greater for the younger group.
- Exercise 10.91: This exercise examines trust in doctors' opinions regarding healthcare reform between Democrats and Republicans. It requires a 90% confidence interval for the difference in population proportions and a two-sided hypothesis test at a 5% significance level.
- Exercise 10.92: This advanced exercise deals with comparing the mean fuel consumption of two automobile models. It asks for the sample size required to estimate the difference in means with a specified margin of error and confidence level, and to calculate the probability of a certain difference in sample means given specific population parameters 520.
- Exercise 10.93: This problem involves comparing the throwing distances of two javelin athletes. It asks for the probability that one athlete's throw is longer than the other's, assuming normally distributed distances with given means and standard deviations.
- Exercise 10.94: This exercise compares the effectiveness of a new sleeping pill against a standard one using mean times to fall asleep. It requires finding the p-value for a hypothesis test, determining statistical significance at a.025 level, constructing a 95% confidence interval for the difference in means, and discussing practical significance.
- Exercise 10.95: This problem involves determining the sample size needed to estimate the mean difference in fuel consumption with governors installed on cars, given a desired margin of error and confidence level, and an estimated standard deviation.
- Exercise 10.96: This exercise requires a statistical analysis and interpretation of data on fuel consumption and number of contacts before and after installing governors. It involves using 90% confidence intervals and.05 significance levels for hypothesis tests to make recommendations.
- Exercise 10.97: This problem compares the proportion of late flights for two competing airlines. It asks for the sample size needed to estimate the difference in proportions with a specified margin of error and confidence level, and to calculate the probability of a certain difference in sample proportions.
- Exercise 10.98: This exercise revisits a gasoline additive study but with a different experimental design (independent samples instead of paired). It asks whether a paired sample test is appropriate and, if not, to perform a suitable independent samples test and compare the conclusion to a previous result 521.
- Exercise 10.99: This exercise poses a question about conducting an experiment to determine if cell phone use increases brain tumor risk. It requires describing the experimental design, sample size, data analysis, null and alternative hypotheses, and the appropriate significance level.
- Exercise 10.100: This problem involves estimating the difference between mean scores on a standardized test for students taught by two instructors. It asks for the sample size needed for a specific margin of error and confidence level, the required difference in sample means for statistical significance, and an explanation of why a paired-samples design is inappropriate.
- Exercise 10.101: This exercise compares the weekly weight losses of dieters on two different diets. It asks for the probability that the difference between sample means falls within a certain range, the probability that one sample mean is greater than the other, and conditional probabilities based on observed sample means.
- Exercise 10.102: This problem involves comparing the proportion of male and female voters who favor a particular candidate. It asks for the probability that at least 10 more male voters than female voters will favor the candidate in a given sample size 522.
📝 In Exercise 10.90, a poll found that 45% of people aged 18-34 and 37% of people aged 35-44 view advertisements as influential. With sample sizes of 655 and 420 respectively, you can find a 98% confidence interval for the difference in population proportions and test if the proportion is greater for the younger group at a 1% significance level.
10.21 Self-Review Test
This section provides a self-review test to assess understanding of concepts related to hypothesis testing and sample types. It includes multiple-choice questions, definitions, and problems requiring the application of confidence intervals and hypothesis tests.
- Question 1: Asks to identify the appropriate test for comparing the mean blood pressure of university professors to company executives, specifically whether a left-tailed, two-tailed, or right-tailed test should be used 522.
- Question 2: Requires a brief explanation of independent and dependent samples, along with an example for each.
- Question 3: Involves comparing job-related stress scores between company executives and university professors. It asks for a 99% confidence interval for the difference in mean scores and a hypothesis test at the 2.5% significance level to determine if executives have higher scores.
- Question 4: Compares the time alcoholic and nonalcoholic fathers spend playing with their children. It requires constructing a 95% confidence interval for the difference in mean times and performing a hypothesis test at the 1% significance level to see if alcoholic fathers spend less time. This assumes normally distributed times with equal but unknown standard deviations.
- Question 5: Repeats Problem 4 but assumes normally distributed times with unequal and unknown standard deviations, requiring the appropriate test for this condition.
- Question 6: Compares repair cost estimates from two auto body shops for the same damaged cars. It asks for a 99% confidence interval for the mean of the paired differences and a hypothesis test at the 5% significance level to determine if the mean difference is different from zero, assuming normally distributed paired differences.
- Question 7: Compares the voting proportions of male and female registered voters. It requires constructing a 97% confidence interval for the difference between population proportions and a hypothesis test at the 1% significance level to check for a difference 523.
10.22 Mini-Projects
The mini-projects offer opportunities to apply statistical concepts to real-world scenarios, encouraging independent research and data analysis.
- MINI-PROJECT 10–1: This project focuses on a cold-prevention drug experiment. It requires explaining how to construct a 95% confidence interval for the difference in population proportions and describing a hypothesis test to evaluate the drug's effectiveness using provided data. It also prompts finding a similar real-world article and performing the analysis 523.
- MINI-PROJECT 10–2: This project investigates the relationship between state population and the cost of doctor's visits. It involves selecting random samples of cities from more populous and less populous states, constructing a 95% confidence interval for the difference in mean costs, and performing a hypothesis test at the 5% significance level to see if costs are higher in more populous states. It assumes normally distributed costs with unequal and unknown standard deviations.
- MINI-PROJECT 10–3: This project involves comparing average salaries of professional athletes in two different sports. It requires taking independent random samples of 35 players from two chosen sports, calculating weekly and annual salaries, and performing hypothesis tests at a 5% significance level to determine if average salaries are different. The project also asks to justify the choice between pooled and unpooled variance assumptions and explain potential differences in results between weekly and annual salary analyses.
- MINI-PROJECT 10–4: This project examines seat preferences on airplanes between male and female college students. It requires obtaining random samples of 60 male and 60 female students, asking about window versus non-window seat preference, and performing a hypothesis test at the 5% significance level to determine if the proportion of females preferring a window seat differs from that of males.
- MINI-PROJECT 10–5: This project uses data on the cost of raising a child across different income levels. It asks to assume the equal variance assumption is reasonable for lower and middle-income groups and to determine the largest possible value of the pooled standard deviation that would lead to rejecting the null hypothesis in favor of an alternative hypothesis at the 5% significance level, for various sample sizes 524 525.
10.23 Technology Instruction
This section provides guidance on using statistical software and calculators for performing confidence intervals and hypothesis tests related to two populations.
- TI-84: Instructions are given for performing hypothesis tests and confidence intervals for the difference between two means (independent samples, pooled and unpooled variances) and two proportions using the TI-84 calculator 525.
- Minitab: Instructions are provided for conducting confidence intervals and hypothesis tests for the difference between two means (independent samples, pooled and unpooled variances) and for paired data. It also covers confidence intervals and hypothesis tests for the difference between two proportions 526 527.
- Excel: Instructions detail how to use the Data Analysis ToolPak in Excel for paired t-tests and two-sample t-tests (assuming equal or unequal variances). It explains how to interpret the output, particularly the p-value for one-tailed and two-tailed tests 528 529.
10.24 Technology Assignments
These assignments require the use of statistical software or calculators to solve problems involving two-population comparisons.
- TA10.1: This assignment involves comparing interest rates on 30-year and 20-year fixed-rate mortgages. It asks to construct a 99% confidence interval for the difference between mean rates, assuming equal population standard deviations, and to test if the average rate for 30-year mortgages is higher than for 20-year mortgages at a 5% significance level 529.
- TA10.2: This assignment compares daily sales for two supermarkets. It requires constructing a 99% confidence interval for the difference between mean daily sales and testing if the means are different at a 1% significance level, assuming normally distributed sales with equal but unknown standard deviations.
- TA10.3: This assignment is a follow-up to TA10.1, requiring the same analysis but without assuming equal population standard deviations.
- TA10.4: This assignment is a follow-up to TA10.2, requiring the same analysis but assuming unequal and unknown standard deviations for daily sales.
- TA10.5: This assignment involves analyzing times taken to eat Whoopie Pies in a contest. It asks to create a 95% confidence interval for the mean of paired differences (time for the last pie minus time for the first pie) and to test if it takes at least 15 more seconds on average to eat the ninth pie than the first, using a 10% significance level. It assumes normally distributed paired differences.
- TA10.6: This assignment compares the time taken to assemble a product using two different types of machines. It provides data for eight workers and requires analysis, likely involving confidence intervals or hypothesis tests for paired data 530.
10.25 The chi-square distribution
The chi-square distribution is a continuous probability distribution used in hypothesis testing, particularly for categorical data. It is characterized by a single parameter: the degrees of freedom (df).
The random variable χ2 can only take non-negative values, meaning the distribution curve starts at zero and lies entirely to the right of the vertical axis.
The shape of the chi-square distribution is skewed to the right for small degrees of freedom and becomes more symmetric as the degrees of freedom increase. The peak of the curve occurs at zero for df = 1 or 2, and at df - 2 for df ≥ 3. The total area under any chi-square distribution curve is 1.0.
To find specific χ2 values, a chi-square distribution table is used, which typically provides values based on the degrees of freedom and the area in the right tail.
- Parameter: The chi-square distribution has one parameter, degrees of freedom (df), which determines its shape.
- Range: The random variable χ2 assumes nonnegative values only.
- Shape: The curve is skewed to the right for small df and becomes more symmetric for large df.
- Peak (Mode): Occurs at 0 for df = 1 or 2, and at df - 2 for df ≥ 3.
- Total Area: The total area under the curve is always 1.0 533.
10.26 Reading the chi-square distribution table
The chi-square distribution table (Table VI in Appendix C) is used to find χ2 values given the degrees of freedom and a specified area in the tail of the distribution.
- Area in the right tail known: Locate the degrees of freedom in the 'df' column and the specified area in the top row. The intersection provides the corresponding χ2 value 533.
- For 7 degrees of freedom and an area of.10 in the right tail, the χ2 value is 12.017.
- Area in the left tail known: First, calculate the area in the right tail by subtracting the left-tail area from 1. Then, use the table as described above.
- For 12 degrees of freedom and an area of.05 in the left tail, the area in the right tail is 1−.05=.95. The corresponding χ2 value is 5.226 534.
10.27 Exercises
- Find the χ2 value for 12 df and.025 area in the right tail.
- Find the χ2 value for 28 df and.05 area in the right tail.
- Determine the χ2 value for 14 df and.10 area in the left tail.
- Determine the χ2 value for 23 df and.990 area in the left tail.
- Find the χ2 value for 4 degrees of freedom and.005 area in the right tail.
- Find the χ2 value for 4 degrees of freedom and.05 area in the left tail.
- Determine the χ2 value for 13 degrees of freedom and.025 area in the left tail.
- Determine the χ2 value for 13 degrees of freedom and.995 area in the right tail 535.
10.28 A goodness-of-fit test
A goodness-of-fit test is used to determine if observed frequencies from an experiment align with a hypothesized distribution or pattern. This test is applicable to multinomial experiments, which are characterized by a fixed number of independent trials, each resulting in one of several possible outcomes with constant probabilities.
A binomial experiment is a special case of a multinomial experiment.
The test compares observed frequencies (O), which are the actual counts from the experiment, with expected frequencies (E), which are the counts predicted by the null hypothesis. The chi-square distribution is used to assess whether the differences between observed and expected frequencies are statistically significant.
📝 A bank investigates if the number of ATM transactions is the same for each of the 5 weekdays. The null hypothesis is p1=p2=p3=p4=p5=0.20, and the alternative is that they are not all equal. With 1200 transactions, the expected frequency for each day is 1200×0.20=240 538.
10.29 Multinomial experiment characteristics
An experiment is considered multinomial if it meets the following criteria:
- It consists of n identical trials.
- Each trial results in one of k possible outcomes (categories), where k ≥ 2.
- The trials are independent.
- The probabilities of the outcomes remain constant for each trial 536.
10.30 Observed and expected frequencies
- Observed frequencies (O): The actual frequencies obtained from performing an experiment.
- Expected frequencies (E): The frequencies expected if the null hypothesis is true. Calculated as E=np, where n is the sample size and p is the probability for that category under the null hypothesis 537.
10.31 Degrees of freedom for a goodness-of-fit test
The degrees of freedom for a goodness-of-fit test are calculated as: df=k−1 where k is the number of possible outcomes (categories) for the experiment 537.
10.32 Test statistic for a goodness-of-fit test
The test statistic is χ2, calculated as: χ2=∑E(O−E)2 This formula sums the squared differences between observed and expected frequencies, weighted by the reciprocal of the expected frequencies 537.
10.33 Conditions for the test
The sample size should be large enough so that the expected frequency for each category is at least 5. If any expected frequency is less than 5, the sample size should be increased, or categories should be combined 538.
10.34 Procedure for a goodness-of-fit test
The goodness-of-fit test is always a right-tailed test. The procedure involves five steps:
- State hypotheses: Define the null (H0) and alternative (H1) hypotheses. H0 typically states that the observed frequencies follow a specific pattern or distribution.
- Select distribution: Use the chi-square distribution.
- Determine rejection region: Find the critical value of χ2 based on the significance level (α) and degrees of freedom 538.
- Calculate test statistic: Compute the χ2 value using the formula ∑E(O−E)2 539.
- Make decision: Compare the calculated χ2 value to the critical value. If the calculated value falls in the rejection region, reject H0 540.
10.35 Example 11–3: ATM transactions
A bank investigates if the number of ATM transactions is the same for each of the 5 weekdays.
- Null Hypothesis (H0): The number of people using the ATM is the same for all 5 days of the week (p1=p2=p3=p4=p5=0.20).
- Alternative Hypothesis (H1): The number of people using the ATM is not the same for all 5 days of the week.
- Significance Level: α=0.01.
- Degrees of Freedom: df=5−1=4.
- Critical Value: χ0.01,42=13.277.
- Observed Frequencies: Monday Tuesday Wednesday Thursday Friday. Total n=1200 197 204 253 267 279 538.
- Expected Frequencies: For each day, E=1200×0.20=240 539.
- Calculated Test Statistic: χ2=23.184.
- Decision: Since 23.184>13.277, reject H0. Conclude that the number of ATM users is not the same for the 5 days of the week 540.
📝 A bank investigates if the number of ATM transactions is the same for each of the 5 weekdays. The observed frequencies were 253, 197, 204, 279, and 267. The calculated test statistic is χ2=23.184 540.
10.36 Example 11–4: Advertiser opinions on Twitter
A survey tests if the current distribution of advertisers' opinions on Twitter differs from a 2009 distribution.
- Null Hypothesis (H0): The current percentage distribution of opinions is the same as for 2009.
- Alternative Hypothesis (H1): The current percentage distribution of opinions is different from that for 2009.
- Significance Level: α=0.025.
- 2009 Percentages: A (45%), B (21%), C (17%), D (17%).
- Observed Frequencies (n=800): A B C D 116 127 183 374 540.
- Expected Frequencies:
- A: 800×0.45=360
- B: 800×0.21=168
- C: 800×0.17=136
- D: 800×0.17=136
- Degrees of Freedom: df=4−1=3.
- Calculated Test Statistic: χ2=∑E(O−E)2=360(374−360)2+168(183−168)2+136(127−136)2+136(116−136)2=5.444
- Critical Value: χ0.025,32=9.348.
- Decision: Since 5.444<9.348, do not reject H0. The current distribution of opinions is not significantly different from the 2009 distribution.
11. WHAT IS YOUR favorite season?
11.1 A goodness-of-fit test
A goodness-of-fit test is used to determine if a sample distribution matches a known population distribution. This test is applied when dealing with categorical data and is particularly useful for multinomial experiments, which involve multiple categories and independent trials.
The chi-square distribution is the statistical tool employed for this test 541 543.
The core of the goodness-of-fit test involves comparing observed frequencies (what you actually counted in your sample) with expected frequencies (what you would expect based on the known population distribution). The formula for calculating the chi-square test statistic is:
χ2=∑E(O−E)2
where:
- O is the observed frequency for a category.
- E is the expected frequency for a category.
The degrees of freedom for a goodness-of-fit test are calculated as df=k−1, where k is the number of categories. The test is always right-tailed, meaning we reject the null hypothesis if the calculated test statistic is greater than the critical value from the chi-square distribution 541.
A crucial condition for using the chi-square test is that the expected frequency for each category should be at least 5. If this condition is not met, categories may need to be combined, or the sample size increased 543.
11.2 Exercise 11.8: Characteristics of a multinomial experiment
A multinomial experiment is characterized by the following:
- The experiment consists of a fixed number of trials.
- Each trial has more than two possible outcomes.
- The probabilities of the outcomes remain constant for each trial.
- The trials are independent 543.
📝 A multinomial experiment involves a fixed number of trials, where each trial has more than two possible outcomes, the probabilities of these outcomes remain constant, and the trials are independent.
11.3 Exercise 11.9: Goodness-of-fit test explained
A goodness-of-fit test is a statistical procedure used to determine whether a sample distribution conforms to a hypothesized population distribution. It is applied when you want to assess if the observed frequencies of categories in a sample are consistent with the expected frequencies derived from a known or theoretical distribution 543.
11.4 Exercise 11.10: Observed vs. expected frequencies
- Observed frequencies (O): These are the actual counts or frequencies recorded in a sample for each category. They represent what has been observed in the data.
- Expected frequencies (E): These are the frequencies that would be expected in each category if the sample distribution perfectly matched the hypothesized population distribution. They are calculated based on the known probabilities or proportions of the population 543.
11.5 Exercise 11.11: Calculating expected frequency and degrees of freedom
The expected frequency of a category is calculated by multiplying the total sample size (n) by the probability of that category: E=n×p. The degrees of freedom for a goodness-of-fit test are df=k−1, where k is the number of categories 543.
11.6 Exercise 11.12: Minimum expected frequency
The minimum expected frequency for each category in a goodness-of-fit test should be at least 5. If this condition is not satisfied, alternative approaches include increasing the sample size or combining adjacent categories to ensure the expected frequencies meet the minimum requirement 543.
11.7 Exercise 11.13: Testing a fair die
This exercise involves testing if a die is fair using a goodness-of-fit test. The observed frequencies for each outcome (1-spot to 6-spot) are given for 60 rolls.
The expected frequency for a fair die would be 60/6=10 for each outcome. The test would compare these observed frequencies to the expected frequencies using the chi-square statistic at a 5% significance level 543.
📝 To test if a die is fair, you would compare the observed frequencies of each face (1-spot to 6-spot) from 60 rolls to the expected frequency of 10 for each face, using a goodness-of-fit test at a 5% significance level.
11.8 Exercise 11.14: Exercise frequency distribution
This problem tests whether the current distribution of exercise frequency among Americans differs from a known distribution reported in June 2009. The known percentages for "2 or fewer days," "3 or 4 days," and "5 or more days" are provided. A sample of 458 Americans yielded observed frequencies for these categories.
A goodness-of-fit test at the 10% significance level is used to compare the observed and expected distributions 543.
11.9 Exercise 11.15: Wedding food preferences
This exercise tests if the current distribution of preferences for wedding food (champagne and caviar, wine and chicken breasts, beer and pigs in a blanket, not sure) differs from percentages reported in May 2009. A recent poll of 600 Americans provided observed frequencies. A goodness-of-fit test at the 5% significance level is used to assess this difference 543.
11.10 Exercise 11.16: Genetic trait inheritance
This problem examines the inheritance of thumb-crossing genes based on Mendelian genetics. The predicted probabilities for children's genes (LL, Lr, rr) are given when both parents have Lr genes.
A sample of 65 children provided observed frequencies for these gene types. A goodness-of-fit test at the 5% significance level is used to determine if the observed gene distribution significantly differs from the predicted Mendelian probabilities 544.
11.11 Exercise 11.17: Impact of packaging color on sales
This exercise tests whether the number of boxes sold for five different packaging colors (blue, green, orange, red, yellow) is the same. The observed sales figures for each color are provided.
The null hypothesis is that sales are equal across all colors. A goodness-of-fit test at the 1% significance level is used to determine if there is a significant difference in sales based on box color 544.
11.12 Exercise 11.18: Modes of payment at a supermarket
This problem tests if the distribution of payment modes (cash, check, credit/debit card, other) in express checkout lines has changed after a discount for cash payment was introduced. Historical percentages for each payment mode are given.
A recent sample of 500 customers provided observed frequencies. A goodness-of-fit test at the 1% significance level is used to compare the current distribution to the historical one 544.
11.13 Exercise 11.19: Order distribution by day of the week
This exercise tests whether the number of orders received at Home Mail Corporation is the same for each of the 5 days of the week (Monday to Friday). A sample of 400 orders over a 4-week period provided observed frequencies for each day.
The null hypothesis is that orders are evenly distributed. A goodness-of-fit test at the 5% significance level is used to assess this 544.
11.14 Exercise 11.20: Random sample of university students
This problem tests if a sample of 200 university students is a random sample based on their class standing (seniors, juniors, sophomores, freshmen). The expected percentages for each class standing in the university population are given.
The sample provided observed frequencies for each class. A goodness-of-fit test at the 10% significance level is used to determine if the sample distribution approximates the population distribution 544.
11.15 Exercise 11.21: User opinions on a redesigned product
This exercise tests if the percentage distribution of user opinions (excellent, satisfactory, unsatisfactory, no opinion) for a redesigned product differs from the distribution before the redesign. The original percentages are provided.
A recent survey of 800 users of the redesigned product yielded observed frequencies. A goodness-of-fit test at the 2.5% significance level is used to compare these distributions 544 545.
11.16 Exercise 11.22: Metal sheet defects
This problem tests if the distribution of defects (none, one, two or more) in metal sheets produced by a process is significantly different from a standard distribution. The standard percentages for each defect category are given.
A recent sample of 300 sheets provided observed frequencies. A goodness-of-fit test at the 1% significance level is used to determine if the process needs adjustment 545.
11.17 Contingency tables
Contingency tables, also known as two-way classification tables or cross-tabulations, are used to summarize and present information on two or more variables for each element in a dataset. These tables organize data by classifying elements based on two or more characteristics, creating cells that represent the joint frequencies of those characteristics 545.
A contingency table can be of various sizes, denoted as R x C, where R is the number of rows and C is the number of columns. The total number of cells in a contingency table is R * C. Each cell represents a unique combination of the categories of the variables being analyzed 545.
| Table Type | Description |
|---|---|
| R x C table | Contains R rows and C columns |
| Cell | A box within the table representing a joint frequency |
| Joint frequency | The number of subjects possessing two specific characteristics |
11.18 A test of independence or homogeneity
Tests of independence and homogeneity are statistical procedures performed using contingency tables to examine relationships between categorical variables. While both tests utilize the chi-square distribution, they differ in their hypotheses and the nature of the data collected 545.
11.19 A test of independence
A test of independence is conducted to determine if there is a statistically significant relationship between two categorical variables in a population. The null hypothesis (H0) states that the two attributes are independent (not related), while the alternative hypothesis (H1) states that they are dependent (related) 546.
The degrees of freedom for a test of independence are calculated as df=(R−1)(C−1), where R is the number of rows and C is the number of columns in the contingency table. The test statistic is calculated using the same formula as the goodness-of-fit test:
χ2=∑E(O−E)2
The expected frequency (E) for each cell in a test of independence is calculated by multiplying the row total by the column total and dividing by the sample size:
E=Sample size(Row total)×(Column total)
A key assumption is that the expected frequency for each cell should be at least 5. If not, categories may need to be combined. The test is right-tailed 546 547 548.
11.20 Example 11–5: Calculating expected frequencies
This example demonstrates how to calculate expected frequencies for a test of independence. Given a contingency table of observed frequencies for gender and opinions on school discipline, the expected frequencies are calculated by multiplying the respective row and column totals and dividing by the total sample size 546 547.
11.21 Example 11–6: Test of independence for gender and opinions
This example applies the test of independence to determine if gender and opinions on school discipline are dependent. The observed and expected frequencies are used to calculate the chi-square test statistic.
With a 1% significance level and 2 degrees of freedom, the critical value is 9.210. If the calculated test statistic is less than the critical value, the null hypothesis of independence is not rejected 548 549.
📝 In a test of independence for gender and opinions on school discipline, if the calculated chi-square statistic (8.252) is less than the critical value (9.210) at a 1% significance level with 2 degrees of freedom, you fail to reject the null hypothesis of independence.
11.22 Example 11–7: Test of independence for gender and cell phone ownership
This example tests the relationship between gender and owning a cell phone using a 5% significance level. A sample of 2000 adults provided observed frequencies.
The degrees of freedom are calculated as (2−1)(2−1)=1. The critical value for χ2 with 1 degree of freedom at α=0.05 is 3.841. The calculated test statistic is compared to this critical value to make a decision about the relationship 549 550.
11.23 A test of homogeneity
A test of homogeneity is used to determine if the proportions of a characteristic are the same across two or more different populations. The null hypothesis (H0) states that the proportions are the same (homogeneous), while the alternative hypothesis (H1) states that they are not the same 551.
The calculation of the test statistic and degrees of freedom is similar to a test of independence. The degrees of freedom are df=(R−1)(C−1), where R is the number of categories of the characteristic and C is the number of populations being compared.
The expected frequencies are calculated using the same formula: E=Total of all samples(Row total)×(Column total) 551 552 553.
A key distinction from a test of independence is that in a homogeneity test, either the row totals or the column totals are fixed in advance (e.g., a predetermined sample size from each population). The test is also right-tailed 552.
11.24 Example 11–8: Income distribution in California and Wisconsin
This example tests the homogeneity of income distributions between California and Wisconsin. Three income groups (high, medium, low) are considered.
Samples of 250 households from California and 150 from Wisconsin were taken. The null hypothesis is that the proportions of households in each income group are the same in both states.
Using a 2.5% significance level, the chi-square test statistic is calculated and compared to the critical value for df=(3−1)(2−1)=2 552 553.
11.25 A test of independence or homogeneity
Tests of independence and homogeneity are used to analyze categorical data presented in contingency tables. These tests help determine if there is a statistically significant association between two categorical variables.
The core idea is to compare observed frequencies in the table with expected frequencies calculated under the assumption of independence.
- Test of independence: This test is used when you have a single sample and want to determine if two categorical variables are independent. For example, checking if there's a relationship between gender and preference for store brands.
- Test of homogeneity: This test is used when you have multiple samples from different populations and want to determine if the distribution of a categorical variable is the same across these populations. For instance, comparing the distribution of opinions on a company issue across blue-collar and white-collar workers.
11.26 Calculating Expected Frequencies and Degrees of Freedom
The calculation of expected frequencies is crucial for both tests. It assumes that the null hypothesis (no association or homogeneity) is true.
- Expected frequency for a cell: Calculated as
(Row Total * Column Total) / Grand Total. This formula applies to both tests of independence and homogeneity. - Minimum expected frequency: For the chi-square approximation to be valid, each cell in the contingency table should have an expected frequency of at least 5. If this condition is not met, alternative methods like combining categories or using Fisher's exact test might be necessary.
- Degrees of freedom: For a test of independence or homogeneity with
rrows andccolumns, the degrees of freedom are calculated as(r - 1) * (c - 1).
📝 For a test of independence with 3 rows and 4 columns, the degrees of freedom are (3−1)×(4−1)=6.
11.27 Exercises
- 11.23: Describe in your own words a test of independence and a test of homogeneity, providing an example for each.
- 11.24: Explain how to calculate expected frequencies for a contingency table in a test of independence or homogeneity and how to find the degrees of freedom.
- 11.25: State the minimum expected frequency required for each cell in a chi-square test and discuss alternatives if this condition is not met.
- 11.26: Given a contingency table, write the null and alternative hypotheses for a test of independence, calculate expected frequencies, find the critical chi-square value for a 0.01 significance level, determine the test statistic, and make a decision.
- 11.27: Given a contingency table for four samples from four populations, write the null and alternative hypotheses for a test of homogeneity, calculate expected frequencies, find the critical chi-square value for a 0.025 significance level, determine the test statistic, and make a decision.
- 11.28: Using a 1% significance level, test for independence between gender and buying habits (name brand vs. store brand) based on survey data.
- 11.29: Test at the 2.5% significance level whether gender and wearing a seat belt are related, using survey data.
- 11.30: Test at the 1% significance level whether gender and response to marrying someone in debt are related, using survey data.
- 11.31: Test at the 1% significance level whether approval ratings are related to party affiliation for President's Own Party voters and for Opposition Party voters, using provided data for Obama and Bush.
- 11.32: Test at the 5% significance level whether the decision to accept a game show offer (Deal or No Deal) and age group are dependent, using survey data.
- 11.33: Test at the 5% significance level whether the causes of forest fires and the regions (A and B) are related, using provided data.
- 11.34: Using the 5% significance level, test the null hypothesis that the distributions of good and defective parts are the same for two subsidiaries.
- 11.35: Test at the 1% significance level whether two drugs are similar in their effectiveness (cured vs. not cured), using patient data.
- 11.36: Determine if the distributions of favorite camping forms are different for at least two of the four geographic regions, using a 0.01 significance level.
- 11.37: Test at the 5% significance level whether the distributions of responses to a gun control question are significantly different between May 2009 and March 2000.
- 11.38: Using the 2.5% significance level, test the null hypothesis that the grade distributions are homogeneous for three professors.
- 11.39: Test the null hypothesis that the distributions of opinions are homogeneous for blue-collar and white-collar workers at the 2.5% significance level 554 555 556 557 558 559 560 561 562 563.
11.28 Inferences About the Population Variance
Inferences about the population variance (σ2) are important when the variability of a process or data is of interest, not just the central tendency. This section covers constructing confidence intervals and performing hypothesis tests for the population variance, assuming the population is approximately normally distributed.
11.29 Sampling Distribution of σ2(n−1)s2
When a sample of size n is taken from a normally distributed population, the quantity σ2(n−1)s2 follows a chi-square distribution with n−1 degrees of freedom. This distribution is the basis for making inferences about the population variance.
- Chi-square distribution: This is a right-skewed distribution that depends on its degrees of freedom. It is used for constructing confidence intervals and testing hypotheses about population variance.
11.30 Estimation of the Population Variance
A confidence interval provides a range of plausible values for the population variance.
- Confidence Interval for σ2: The (1−α)100% confidence interval for the population variance σ2 is given by: χα/22(n−1)s2toχ1−α/22(n−1)s2 where s2 is the sample variance, n is the sample size, and χα/22 and χ1−α/22 are the critical values from the chi-square distribution with n−1 degrees of freedom, corresponding to areas of α/2 and 1−α/2 in the right tail, respectively.
- Confidence Interval for σ: The confidence interval for the population standard deviation σ is obtained by taking the positive square roots of the limits of the confidence interval for σ2.
11.31 Example 11–9: Estimating Population Variance
A Haddad Food Company quality control inspector samples 25 packages of Cocoa Cookies, finding a sample variance (s2) of.029 square ounce. The acceptable variance range is.008 to.030 square ounce.
- Steps:
- Identify sample size (n=25) and sample variance (s2=.029).
- Determine critical chi-square values for a 95% confidence level (α=.05) with n−1=24 degrees of freedom: χ.0252=39.364 and χ.9752=12.401.
- Calculate the 95% confidence interval for σ2: 39.364(25−1).029to12.401(25−1).029 39.3640.696to12.4010.696 .0177to.0561
- Conclusion: The 95% confidence interval for the variance is.0177 to.0561 square ounce. Since the upper limit (.0561) exceeds the acceptable limit of.030, the machine needs adjustment. The 95% confidence interval for the standard deviation is.133 to.237 ounce 557 558 559.
📝 A sample of 25 packages of Cocoa Cookies yielded a sample variance (s2) of .029 square ounces. The 95% confidence interval for the population variance is .0177 to .0561 square ounce.
11.32 Hypothesis Tests About the Population Variance
Hypothesis tests allow us to make decisions about the population variance based on sample data.
- Test Statistic for σ2: The test statistic used is: χ2=σ02(n−1)s2 where σ02 is the hypothesized population variance.
- Procedure: The five standard steps of hypothesis testing are followed:
- State the null (H0) and alternative (H1) hypotheses.
- Select the appropriate distribution (chi-square).
- Determine the rejection and nonrejection regions based on the significance level and type of test (one-tailed or two-tailed).
- Calculate the value of the test statistic.
- Make a decision to reject or fail to reject H0.
11.33 Example 11–10: Testing for Acceptable Variance
Haddad Food Company wants to ensure the variance of Cocoa Cookies packages does not exceed.015 square ounce. A sample of 25 packages yields a variance of.029 square ounce.
The significance level is α=.01.
- Hypotheses:
- H0:σ2≤.015 (Variance is within the acceptable limit)
- H1:σ2>.015 (Variance exceeds the acceptable limit)
- Test: This is a right-tailed test with n=25, s2=.029, and α=.01. Degrees of freedom are n−1=24.
- Critical Value: From the chi-square table, the critical value for 24 df and.01 area in the right tail is χ2=42.980.
- Test Statistic: χ2=.015(25−1).029=.0150.696=46.400
- Decision: Since 46.400>42.980, we reject H0. The population variance is not within the acceptable limit, and the machine needs adjustment 560.
📝 Haddad Food Company wants to ensure the variance of Cocoa Cookies packages does not exceed .015 square ounce. A sample of 25 packages yielded a variance of .029 square ounce. At α=.01, the test statistic is 46.400, leading to the rejection of the null hypothesis that the variance is within the acceptable limit.
11.34 Example 11–11: Testing for Difference in Variance
The variance of scores on a standardized math test was 150 in 2009. A sample of 20 seniors this year shows a variance of 170. Test at the 5% significance level if the current variance differs from 150.
- Hypotheses:
- H0:σ2=150 (Variance is not different from 150)
- H1:σ2=150 (Variance is different from 150)
- Test: This is a two-tailed test with n=20, s2=170, and α=.05. Degrees of freedom are n−1=19.
- Critical Values: For a two-tailed test with α=.05, the critical values are χ.0252=32.852 and χ.9752=8.907.
- Test Statistic: χ2=150(20−1)170=15019×170=1503230=21.533
- Decision: Since 8.907<21.533<32.852, the test statistic falls in the nonrejection region. We fail to reject H0. The variance of current scores does not appear to be different from 150 561 562.
11.35 Exercises
- 11.40: Construct 95% confidence intervals for σ2 for sample sizes n=12,16,25, given s2=46, and comment on the effect of increasing sample size.
- 11.41: Construct confidence intervals for σ2 for confidence levels 99%, 95%, and 90%, given n=25 and s2=35, and comment on the effect of decreasing the confidence level.
- 11.42: Given n=22 and s2=18, test if σ2 is different from 14 at α=.05. a. State hypotheses. b. Find critical values and show regions. c. Calculate the test statistic. d. Make a decision.
- 11.43: Given n=21 and s2=1.97, test if σ2 is greater than 1.75 at α=.025. a. State hypotheses. b. Find the critical value and show regions. c. Calculate the test statistic. d. Make a decision.
- 11.44: Given n=30 and s2=5.8, test if σ2 is different from 6.0 at α=.05.
- 11.45: Given n=18 and s2=4.6, test if σ2 is different from 2.2 at α=.05.
- 11.46: For sandpaper particles, n=51 and s2=2.13 micrometers. Assume particle diameter is approximately normal. a. Construct 95% confidence intervals for σ2 and σ. b. Test at the 2.5% significance level if σ2>2.0 micrometers.
- 11.47: For pancake mix sugar content, n=24 and s2=1.47 grams. Assume sugar content is approximately normal. a. Construct 98% confidence intervals for σ2 and σ. b. Test at the 1% significance level if σ2>1.0 gram.
- 11.48: For auto miles per gallon, n=22 and s2=.62. Assume miles per gallon are approximately normal. a. Construct 95% confidence intervals for σ2 and σ. b. Test at the 1% significance level if σ2 is different from.30.
- 11.49: For lightbulb lives, n=25 and s2=5200 square hours. Assume bulb lives are approximately normal. a. Construct 99% confidence intervals for σ2 and σ. b. Test at the 5% significance level if σ2 is different from 4200 square hours 562 563.
12. Chapter 13: Simple linear regression
12.1 Introduction to simple linear regression
This section introduces the concept of simple linear regression, which is used to model the relationship between two quantitative variables. The goal is to understand how one variable (the independent variable) influences another variable (the dependent variable) 564.
The core idea is to find a linear equation that best describes the relationship between the variables. This equation can then be used to predict the value of the dependent variable based on the value of the independent variable 564.
12.2 The regression model
The simple linear regression model is expressed as: Y=β0+β1X+ϵ
Where:
- Y is the dependent variable.
- X is the independent variable.
- β0 is the y-intercept, representing the value of Y when X is 0.
- β1 is the slope, representing the change in Y for a one-unit increase in X.
- ϵ is the random error term, accounting for variability in Y not explained by X 564.
12.3 Analysis of the regression model
The analysis of the regression model involves estimating the parameters β0 and β1 from sample data. This is typically done using the method of least squares, which minimizes the sum of the squared differences between the observed values of Y and the values predicted by the regression line 564.
The estimated regression equation is given by: Y^=b0+b1X
Where:
- Y^ is the predicted value of the dependent variable.
- b0 is the estimated y-intercept.
- b1 is the estimated slope 564.
12.4 Standard deviation of the errors
The standard deviation of the errors, denoted by se, measures the typical distance between the observed values of Y and the regression line. It quantifies the variability of the data points around the regression line.
A smaller se indicates a better fit of the model to the data 564.
The formula for the standard deviation of the errors is: se=n−2∑(Yi−Y^i)2
Where:
- Yi is the observed value of the dependent variable for the i-th observation.
- Y^i is the predicted value of the dependent variable for the i-th observation.
- n is the number of observations 564.
12.5 Coefficient of determination
The coefficient of determination, denoted by R2, represents the proportion of the total variation in the dependent variable (Y) that is explained by the independent variable (X) in the regression model. It ranges from 0 to 1 564.
A higher R2 value indicates that the regression model explains a larger portion of the variability in Y 564.
The formula for the coefficient of determination is: R2=SSTSSR=1−SSTSSE
Where:
- SSR is the sum of squares due to regression.
- SST is the total sum of squares.
- SSE is the sum of squares due to error 564.
12.6 Inferences about the slope
Inferences about the slope (β1) are crucial for determining the statistical significance of the relationship between the independent and dependent variables. Hypothesis tests and confidence intervals are used for this purpose 564.
A common hypothesis test for the slope is: H0:β1=0 (no linear relationship) Ha:β1=0 (a linear relationship exists) 564.
The test statistic used is a t-statistic: t=sb1b1−β1,0
Where:
- b1 is the estimated slope.
- β1,0 is the hypothesized value of the slope (usually 0).
- sb1 is the standard error of the slope 564.
📝 To test if a linear relationship exists, we can use the hypothesis test H0:β1=0 versus Ha:β1=0, with the test statistic t=sb1b1−β1,0 564.
12.7 Linear correlation
Linear correlation measures the strength and direction of the linear relationship between two quantitative variables. The correlation coefficient, denoted by r, ranges from -1 to +1 564.
- r=+1 indicates a perfect positive linear relationship.
- r=−1 indicates a perfect negative linear relationship.
- r=0 indicates no linear relationship 564.
The sample correlation coefficient r is related to the coefficient of determination R2 by r2=R2 564.
12.8 Cautions in using regression
When using simple linear regression, it is important to be aware of potential pitfalls:
- Extrapolation: Avoid predicting values outside the range of the observed data for the independent variable.
- Correlation vs. Causation: A strong correlation does not imply causation. There may be other factors influencing the relationship.
- Outliers: Extreme values can disproportionately influence the regression line.
- Assumptions: The validity of the inferences depends on the assumptions of the regression model being met (e.g., linearity, independence of errors, constant variance of errors, normality of errors) 564.
12.9 The F distribution
The F distribution is a probability distribution used in statistical tests, particularly in analysis of variance (ANOVA). It is characterized by two sets of degrees of freedom: one for the numerator and one for the denominator.
The shape of the F distribution depends on these degrees of freedom, and it is always right-skewed.
- F distribution characteristics:
- It is a continuous probability distribution.
- It is defined for positive values only.
- Its shape is determined by two parameters: degrees of freedom for the numerator (df1) and degrees of freedom for the denominator (df2).
- The distribution is right-skewed.
- It is used in hypothesis testing, especially for comparing variances and in ANOVA 577.
12.10 Reading the F distribution table
To find critical F values, we use tables that provide these values for specific areas in the right tail of the F distribution. These tables require the degrees of freedom for the numerator and the denominator, as well as the desired area in the right tail (significance level).
-
Example 12–1: Find the F value for 8 degrees of freedom for the numerator, 14 degrees of freedom for the denominator, and.05 area in the right tail.
-
Locate 8 in the row for degrees of freedom for the numerator.
-
Locate 14 in the column for degrees of freedom for the denominator.
-
The intersection of this row and column gives the critical F value, which is 2.70 577.
-
Exercises:
-
Find the critical value of F for the following.
-
df (3, 3) and area in the right tail.05.
-
df (3, 10) and area in the right tail.05.
-
df (3, 30) and area in the right tail.05 577.
-
df (2, 6) and area in the right tail.025.
-
df (6, 6) and area in the right tail.025.
-
df (15, 6) and area in the right tail.025.
-
Determine the critical value of F for the following.
-
df (6, 12) and area in the right tail.01.
-
df (6, 40) and area in the right tail.01.
-
df (6, 100) and area in the right tail.01.
-
df (2, 2) and area in the right tail.10.
-
df (8, 8) and area in the right tail.10.
-
df (20, 20) and area in the right tail.10.
-
Find the critical value of F for an F distribution with df (3, 12) and:
-
area in the right tail.05.
-
area in the right tail.10.
-
Find the critical value of F for an F distribution with df (11, 5) and:
-
area in the right tail.01.
-
area in the right tail.025.
-
Find the critical value of F for an F distribution with.025 area in the right tail and:
-
df (4, 11).
-
df (15, 3).
-
Find the critical value of F for an F distribution with.01 area in the right tail and:
-
df (10, 10).
-
df (9, 25) 578.
📝 To find the F value for 8 degrees of freedom for the numerator, 14 degrees of freedom for the denominator, and a .05 area in the right tail, locate 8 in the row for the numerator's degrees of freedom and 14 in the column for the denominator's degrees of freedom. The intersection gives the critical F value of 2.70 577.
12.11 One-way analysis of variance
One-way analysis of variance (ANOVA) is a statistical procedure used to test the null hypothesis that the means of three or more populations are equal. It is particularly useful when comparing means across multiple groups, as it provides a single test to determine if there are any significant differences among them.
- Purpose of ANOVA:
- Tests the null hypothesis that the means of three or more populations are equal (H0:μ1=μ2=⋯=μk).
- Tests the alternative hypothesis that not all population means are equal (H1: At least one mean is different).
- Comparison to t-tests:
- While multiple t-tests can compare pairs of means, ANOVA performs a single test for all means simultaneously.
- Using multiple t-tests increases the overall Type I error rate.
- Factor: ANOVA analyzes the effect of one factor or variable (e.g., teaching method) on a response variable (e.g., student scores) 578.
- Assumptions of One-Way ANOVA:
- Normality: Populations from which samples are drawn are approximately normally distributed.
- Homogeneity of variances: Populations have the same variance (σ2).
- Independence: Samples are random and independent 579.
12.12 Calculating the value of the test statistic
The one-way ANOVA test statistic, F, is calculated as the ratio of the variance between samples (MSB) to the variance within samples (MSW). These variances are derived from sums of squares, which measure the total variation in the data.
- Test Statistic F:
- F=Variance within samplesVariance between samples=MSWMSB.
- Components of F:
- Mean Square Between (MSB): An estimate of population variance based on the variation among sample means.
- Mean Square Within (MSW): An estimate of population variance based on the variation within each sample 579.
- Sums of Squares:
- Total Sum of Squares (SST): Measures the total variation in the data. SST=SSB+SSW.
- Between-Samples Sum of Squares (SSB): Measures the variation between the sample means. SSB=∑i=1kniTi2−n(∑Ti)2.
- Within-Samples Sum of Squares (SSW): Measures the variation within each sample. SSW=∑x2−∑i=1kniTi2 580.
- Degrees of Freedom:
- Numerator df: k−1, where k is the number of groups (treatments).
- Denominator df: n−k, where n is the total number of observations 581.
12.13 Example 12–2: Calculating the value of the test statistic 582
This example demonstrates the calculation of SSB, SSW, MSB, MSW, and the F statistic using sample data from three teaching methods.
-
Data: Scores of 15 students randomly assigned to three teaching methods 580.
-
Calculations:
-
Sum of scores for each method (Ti): T1=324, T2=369, T3=388.
-
Sample sizes (ni): n1=5, n2=5, n3=5. Total observations (n) = 15.
-
Sum of all scores (∑x): 1081.
-
Sum of squared scores (∑x2): 80,709.
-
SSB=432.1333.
-
SSW=2372.8000.
-
SST=2804.9333.
-
MSB=k−1SSB=3−1432.1333=216.0667.
-
MSW=n−kSSW=15−32372.8000=197.7333 581.
-
F=MSWMSB=197.7333216.0667≈1.09 582.
-
ANOVA Table: A summary of the ANOVA calculations 582.
| Source of Variation | Degrees of Freedom | Sum of Squares | Mean Square | Value of the Test Statistic |
|---|---|---|---|---|
| Between | 2 | 432.1333 | 216.0667 | 1.09 |
| Within | 12 | 2372.8000 | 197.7333 | — |
| Total | 14 | 2804.9333 | — | — |
12.14 One-way ANOVA test
The one-way ANOVA test follows the standard five-step hypothesis testing procedure to determine if there is a statistically significant difference among the means of three or more groups. The test statistic is the F-ratio, and the rejection region is in the right tail of the F distribution.
- Hypotheses:
- H0:μ1=μ2=⋯=μk (All population means are equal).
- H1: Not all population means are equal (At least one mean is different).
- Test Statistic: F-ratio calculated as MSB/MSW 582.
- Distribution: F distribution with k−1 numerator degrees of freedom and n−k denominator degrees of freedom.
- Rejection Region: Located in the right tail of the F distribution 583.
12.15 Example 12–3: Performing a one-way ANOVA test (equal sample sizes)
This example tests the null hypothesis that the mean arithmetic scores are the same for three teaching methods at a 1% significance level.
- Significance Level: α=0.01.
- Degrees of Freedom:
- Numerator df (k−1): 3−1=2.
- Denominator df (n−k): 15−3=12.
- Critical Value: From the F distribution table, for df (2, 12) and α=0.01, the critical F value is 6.93.
- Test Statistic Value: F=1.09 (calculated in Example 12–2).
- Decision: Since F=1.09<6.93, we fail to reject H0.
- Conclusion: There is no statistically significant evidence to conclude that the mean arithmetic scores differ among the three teaching methods 583.
📝 For a significance level of α=0.01 and degrees of freedom of 2 for the numerator and 12 for the denominator, the critical F value is 6.93. If the calculated test statistic F is 1.09, which is less than 6.93, we fail to reject the null hypothesis 583.
12.16 Example 12–4: Performing a one-way ANOVA test (unequal sample sizes) 585
This example tests the null hypothesis that the mean number of customers served per hour by four tellers is the same at a 5% significance level.
-
Significance Level: α=0.05.
-
Hypotheses:
-
H0:μ1=μ2=μ3=μ4 (Mean customers served per hour is the same for all tellers).
-
H1: Not all four population means are equal.
-
Data: Number of customers served by four tellers over several hours.
-
Calculations:
-
Number of groups (k): 4.
-
Total observations (n): 22.
-
Sum of scores for each teller (Ti): T1=108, T2=87, T3=93, T4=110.
-
Sample sizes (ni): n1=5, n2=6, n3=6, n4=5.
-
Sum of all scores (∑x): 398.
-
Sum of squared scores (∑x2): 7614.
-
SSB=255.6182.
-
SSW=158.2000.
-
MSB=k−1SSB=4−1255.6182=85.2061.
-
MSW=n−kSSW=22−4158.2000=8.7889.
-
F=MSWMSB=8.788985.2061≈9.69 585.
-
Degrees of Freedom:
-
Numerator df: 4−1=3.
-
Denominator df: 22−4=18.
-
Critical Value: From the F distribution table, for df (3, 18) and α=0.05, the critical F value is 3.16 584.
-
Decision: Since F=9.69>3.16, we reject H0.
-
Conclusion: There is statistically significant evidence to conclude that the mean number of customers served per hour is not the same for all four tellers 586.
-
ANOVA Table for Example 12–4:
| Source of Variation | Degrees of Freedom | Sum of Squares | Mean Square | Value of the Test Statistic |
|---|---|---|---|---|
| Between | 3 | 255.6182 | 85.2061 | 9.69 |
| Within | 18 | 158.2000 | 8.7889 | — |
| Total | 21 | 413.8182 | — | — |
- Exercises:
- Briefly explain when a one-way ANOVA procedure is used to make a test of hypothesis.
- Describe the assumptions that must hold true to apply the one-way analysis of variance procedure to test hypotheses.
- Consider the following data obtained for two samples selected at random from two populations that are independent and normally distributed with equal variances.
- Calculate the means and standard deviations for these samples using the formulas from Chapter 3.
- Using the procedure learned in Section 10.2 of Chapter 10, test at the 1% significance level whether the means of the populations from which these samples are drawn are equal.
- Using the one-way ANOVA procedure, test at the 1% significance level whether the means of the populations from which these samples are drawn are equal.
- Are the conclusions reached in parts b and c the same?
- Using the procedure learned in Section 10.2 of Chapter 10, test at the 5% significance level whether the means of the populations from which these samples are drawn are equal.
- Using the one-way ANOVA procedure, test at the 5% significance level whether the means of the populations from which these samples are drawn are equal.
- Are the conclusions reached in parts b and c the same 586?
- The following ANOVA table, based on information obtained for three samples selected from three independent populations that are normally distributed with equal variances, has a few missing values.
- Find the missing values and complete the ANOVA table.
- Using α=.01, what is your conclusion for the test with the null hypothesis that the means of the three populations are all equal against the alternative hypothesis that the means of the three populations are not all equal?
- The following ANOVA table, based on information obtained for four samples selected from four independent populations that are normally distributed with equal variances, has a few missing values.
- Using α=.05, what is your conclusion for the test with the null hypothesis that the means of the four populations are all equal against the alternative hypothesis that the means of the four populations are not all equal?
- The recommended acidity levels for sweet white wines (e.g., certain Rieslings, Port, Eiswein, Muscat) is.70% to.85%. A vintner takes three random samples of Riesling from casks that are 15, 20, and 25 years old, respectively, and measures the acidity of each sample. The sample results are given in the table.
- We are to test whether the mean acidity levels for all casks of Riesling are the same for the three different ages. Write the null and alternative hypotheses 587.
- Show the rejection and nonrejection regions on the F distribution curve for α=.025.
- Calculate SSB, SSW, and SST.
- What are the degrees of freedom for the numerator and the denominator?
- Calculate the between-samples and within-samples variances.
- What is the critical value of F for α=.025?
- What is the calculated value of the test statistic F?
- Write the ANOVA table for this exercise.
- Will you reject the null hypothesis stated in part a at a significance level of 2.5%?
- A local “pick-your-own” farmer decided to grow blueberries. The farmer purchased and planted eight plants of each of the four different varieties of highbush blueberries. The yield (in pounds) of each plant was measured in the upcoming year to determine whether the average yields were different for at least two of the four plant varieties. The yields of these plants of the four varieties are given in the following table.
- We are to test whether the mean yields for all such bushes of the four varieties are the same. Write the null and alternative hypotheses.
- Calculate SSB, SSW, and SST.
- Show the rejection and nonrejection regions on the F distribution curve for α=.01.
- What is the critical value of F for α=.01?
- Will you reject the null hypothesis stated in part a at a significance level of 1%?
- Surfer Dude swimsuit company plans to produce a new line of quick-dry swimsuits. Three textile companies are competing for the company’s quick-dry fabric contract. To check the fabrics of the three companies, Surfer Dude selected 10 random swatches of fabric from each company, soaked them with water, and then measured the amount of time (in seconds) each swatch took to dry when exposed to sun and a temperature of 80 F. The following table contains the amount of time (in seconds) each of these swatches took to dry. Using the 5% significance level, test the null hypothesis that the mean drying times for all such fabric produced by the three companies are the same.
- A university employment office wants to compare the time taken by graduates with three different majors to find their first full-time job after graduation. The following table lists the time (in days) taken to find their first full-time job after graduation for a random sample of eight business majors, seven computer science majors, and six engineering majors who graduated in May 2009. At the 5% significance level, can you conclude that the mean time taken to find their first full-time job for all May 2009 graduates in these fields is the same 588?
- A consumer agency wanted to find out if the mean time taken by each of three brands of medicines to provide relief from a headache is the same. The first drug was administered to six randomly selected patients, the second to four randomly selected patients, and the third to five randomly selected patients. The following table gives the time (in minutes) taken by each patient to get relief from a headache after taking the medicine. At
12.17 Simple linear regression model
This chapter focuses on simple linear regression, a statistical method used to evaluate the magnitude of change in one variable due to a change in another. It also covers the computation of the correlation coefficient.
Regression analysis helps estimate how much a dependent variable changes in response to a specific change in an independent variable, and it can predict the dependent variable's value for a given independent variable value. The correlation coefficient, conversely, only indicates the strength of the relationship between two variables without quantifying the change 598.
12.18 Simple regression
Simple regression involves studying the effect of a single independent variable on a dependent variable. In contrast, multiple regression examines the influence of two or more independent variables on a dependent variable.
A simple regression model thus includes exactly two variables: one independent and one dependent 599.
12.19 Linear regression
A regression model is a mathematical equation that describes the relationship between variables. When this relationship forms a straight line when plotted, it is called a linear regression model.
If the relationship is not a straight line, it is a nonlinear regression model. This chapter exclusively discusses linear regression models 599.
A linear relationship between two variables, x (independent) and y (dependent), is represented by the equation y=a+bx. In this equation, 'a' is the y-intercept, representing the value of y when x is zero, and 'b' is the slope, indicating the amount of change in y for a one-unit change in x 600.
| Equation Component | Description |
|---|---|
| y = a + bx | Equation of a linear relationship |
| a | y-intercept (constant term) |
| b | Slope (coefficient of x) |
For example, in the equation y=50+5x:
- When x=0, y=50. This is the y-intercept.
- When x=10, y=50+5(10)=100.
- If x increases by 1 unit (from 10 to 11), y increases by 5 units (from 100 to 105). This demonstrates the slope's effect 600.
📝 In the equation y=50+5x, when x=0, y=50 (the y-intercept), and if x increases by 1 unit, y increases by 5 units (the slope) 600.
12.20 Simple linear regression analysis
In a regression model, the independent variable is typically denoted by x, and the dependent variable by y. The model is expressed as y=A+Bx+ϵ, where:
- y is the dependent variable.
- x is the independent variable.
- A is the y-intercept or constant term.
- B is the slope or coefficient of the x variable.
- ϵ is the random error term 601.
This equation represents a probabilistic or statistical relationship. The random error term, ϵ, accounts for two phenomena:
- Missing variables: Effects of other variables not included in the model that influence the dependent variable.
- Random variation: Unpredictable fluctuations in behavior or circumstances that affect the dependent variable 602.
In this model, A and B are population parameters. The regression line derived from population data is the population regression line, with A and B as its true values.
However, population data are rarely available. Therefore, sample data are used to estimate A and B.
The estimated values are denoted by a and b, respectively, leading to the estimated regression model: y^=a+bx. Here, y^ represents the estimated or predicted value of y for a given x 602.
| Model Component | Description |
|---|---|
| y = A + Bx + \epsilon | Probabilistic regression model |
| A | True y-intercept (population parameter) |
| B | True slope (population parameter) |
| \epsilon | Random error term |
| \hat{y} = a + bx | Estimated regression model |
| a | Estimated y-intercept (from sample data) |
| b | Estimated slope (from sample data) |
12.21 Scatter diagram
A scatter diagram is used to visualize the relationship between two variables, x and y, by plotting pairs of data points. For instance, collecting data on incomes (x) and food expenditures (y) for several households allows for the creation of a scatter diagram to observe their relationship 602.
| Income (hundreds of dollars) | Food Expenditure (hundreds of dollars) |
|---|---|
| 55 | 14 |
| 83 | 24 |
| 38 | 13 |
| 61 | 16 |
| 33 | 9 |
| 49 | 15 |
| 67 | 17 |
12.22 Scatter diagram
A scatter diagram is a plot of paired observations used to visualize the relationship between two variables. It helps in detecting if a linear relationship exists between the dependent and independent variables.
Each point on the diagram represents a single observation 603.
- A scatter diagram is created by plotting paired data points, with the independent variable typically on the horizontal axis and the dependent variable on the vertical axis.
- Observing the pattern of points can reveal the nature of the relationship, such as linear, curvilinear, or no relationship 603.
12.23 Least squares line
The least squares method is used to find the line that best fits the data points in a scatter diagram. This line minimizes the sum of the squared differences between the actual observed values and the values predicted by the regression line.
These differences are known as residuals or random errors 604.
- Observed value: The actual value of the dependent variable (y) for a given observation.
- Predicted value: The value of the dependent variable (y^) estimated by the regression line for a given value of the independent variable (x).
- Residual (e): The difference between the observed value and the predicted value (e=y−y^). It represents the error in prediction for a sample.
- The sum of residuals for a sample regression line is always zero.
- Error Sum of Squares (SSE): The sum of the squares of the residuals (SSE=∑e2=∑(y−y^)2). The least squares method aims to minimize SSE 604.
12.24 Least squares regression line formulas
The least squares regression line is represented by the equation y^=a+bx, where a is the y-intercept and b is the slope. The values of a and b are calculated using the following formulas 604:
| Parameter | Formula |
|---|---|
| Slope (b) | SSxxSSxy |
| Y-intercept (a) | y−bx |
Where:
- SSxy=∑xy−n(∑x)(∑y)
- SSxx=∑x2−n(∑x)2
- n is the number of observations 604.
12.25 Example 13–1: Estimating the least squares regression line
This example demonstrates how to calculate the least squares regression line for a given set of data on incomes and food expenditures. The goal is to find the equation that best describes the relationship between these two variables 605.
The calculations involve summing the values of x, y, xy, and x2 from the data. These sums are then used to compute SSxy and SSxx, which in turn are used to find the values of a and b 605 606.
The calculated regression line is y^=1.5050+0.2525x. This equation predicts that a household with a monthly income of $6100 (x=61) is expected to spend $1690.75 on food 606.
The error of prediction for a household with an actual food expenditure of $1600 and a predicted expenditure of $1690.75 is e=16−16.9075=−0.9075 hundred dollars, or -$90.75. A negative error indicates that the predicted value overestimated the actual value 606.
12.26 Interpretation of a and b
The coefficients a (y-intercept) and b (slope) in a regression equation have specific interpretations related to the dependent and independent variables 607.
12.27 Interpretation of a
The y-intercept (a) represents the predicted value of the dependent variable (y) when the independent variable (x) is zero. However, this interpretation is only valid if x=0 is within the range of the observed data 607.
- The intercept (a) represents the predicted value of the dependent variable (y) when the independent variable (x) is zero. For example, a household with zero income is predicted to spend $150.50 on food.
- Caution is advised when interpreting the intercept if the value x=0 falls outside the range of the sample data, as predictions may not be reliable 607.
12.28 Interpretation of b
The slope (b) indicates the average change in the dependent variable (y) for a one-unit increase in the independent variable (x) 607.
- The value of b quantifies the average change in y for a one-unit change in x.
- In the income and food expenditure example, a $100 increase in income is associated with an average increase of $25.25 in food expenditure.
- A positive slope (b>0) indicates a positive linear relationship, where y increases as x increases.
- A negative slope (b<0) indicates a negative linear relationship, where y decreases as x increases 607.
12.29 Case Study 13–1: Regression of heights and weights of NBA players
This case study compares the population regression line with a sample regression line. The population regression line is derived from the entire population of data, while the sample regression line is estimated from a subset of the population 608.
This case study compares the population regression line for NBA player heights and weights (y=281+6.32x) with a sample regression line estimated from 50 players (y^=267+6.13x) 609.
12.30 Assumptions of the regression model
Linear regression analysis relies on several key assumptions about the random error term (ϵ) in the population regression model (y=A+Bx+ϵ). These assumptions are crucial for the validity of the statistical inferences made from the model 608.
- Mean of errors is zero: For any given value of x, the mean of the random errors is zero (E(ϵ)=0). This implies that the population regression line represents the average value of y for a given x 608.
- Independence of errors: The errors associated with different observations are independent of each other. This means that the error for one observation does not influence the error for another 609.
- Normality of errors: For any given value of x, the distribution of errors is normal. This implies that the values of y for a fixed x are normally distributed.
- Constant standard deviation of errors: The distribution of errors for each x has the same standard deviation, denoted by σ. This assumption is known as homoscedasticity, meaning the spread of errors around the regression line is constant across all values of x 610.
12.31 A note on the use of simple linear regression
Simple linear regression should be applied with caution, as it assumes a linear relationship between variables 610.
- Before applying linear regression, it is advisable to construct a scatter diagram to visually assess if a linear relationship exists 610.
- If the scatter diagram indicates a nonlinear relationship, fitting a linear regression model may lead to inaccurate conclusions 611.
12.32 Standard deviation of random errors
The standard deviation of random errors (σ) measures the spread of the actual values of the dependent variable (y) around the population regression line for a given value of the independent variable (x) 615.
- It quantifies the typical deviation of individual data points from the regression line.
- When σ is unknown, it is estimated by se, the standard deviation of errors for the sample data 615.
12.33 Standard deviation of errors formula
The standard deviation of errors (se) for a sample is calculated using the following formula 615:
| Statistic | Formula |
|---|---|
| Standard deviation of errors (se) | n−2SSE |
- SSE is the Error Sum of Squares (∑(y−y^)2).
- n−2 represents the degrees of freedom for a simple linear regression model, as two parameters (the intercept a and the slope b) are estimated from the data 615.
12.34 Standard deviation of errors
The standard deviation of errors, denoted by se, quantifies the typical deviation of the observed values from the regression line. It is calculated using the formula: se=n−2SSyy−bSSxy where SSyy is the total sum of squares, b is the slope of the regression line, SSxy is the sum of squares of the cross-products, and n is the number of observations 616.
- Calculation of SSyy: This involves summing the squares of the dependent variable (y) and subtracting the square of the sum of y divided by the number of observations (n).
- For the given data: ∑y=108, ∑y2=1792, n=7.
- SSyy=∑y2−n(∑y)2=1792−71082=1792−125.7143=125.7143.
- Calculation of se: Using the previously calculated values for SSyy, SSxy, b, and n.
- Given SSxy=447.5714 and b=0.2525.
- se=7−2125.7143−(0.2525)(447.5714)=5125.7143−113.1199=512.5944=2.5189≈1.5939 616.
12.35 Coefficient of determination
The coefficient of determination, denoted by r2, measures how well the independent variable explains the variation in the dependent variable within the regression model. It represents the proportion of the total sum of squares that is explained by the regression 617.
- Total Sum of Squares (SST): This represents the total variation in the dependent variable (y) when no regression model is used, essentially the variation around the mean of y. It is equivalent to SSyy.
- SST=SSyy=∑(y−yˉ)2=∑y2−n(∑y)2.
- For the example data, SST=125.7143 617.
- Error Sum of Squares (SSE): This is the sum of the squared differences between the actual y values and the predicted y^ values from the regression line. It represents the unexplained variation.
- SSE=∑(y−y^)2.
- For the example data, SSE=12.7215.
- Regression Sum of Squares (SSR): This is the portion of the total variation in y that is explained by the regression model. It is the difference between the total sum of squares and the error sum of squares.
- SSR=SST−SSE.
- For the example data, SSR=125.7143−12.7215=112.9928.
- Calculation of r2: The coefficient of determination is the ratio of the regression sum of squares to the total sum of squares.
- r2=SSTSSR=125.7143112.9928≈0.90. 618.
- This indicates that approximately 90% of the variation in food expenditures is explained by the variation in income 619.
The coefficient of determination, denoted by r2, represents the proportion of SST that is explained by the use of the regression model. The computational formula for r2 is: r2=SSTSSRorr2=SSyybSSxy and 0≤r2≤1 619.
| Term | Definition |
|---|---|
| Total Sum of Squares (SST) | Measures the total variation in the dependent variable (y). |
| Regression Sum of Squares (SSR) | Measures the variation in y explained by the regression model. |
| Error Sum of Squares (SSE) | Measures the variation in y not explained by the regression model. |
📝 For the example data, the coefficient of determination r2=SSTSSR=125.7143112.9928≈0.90, indicating that 90% of the variation in food expenditures is explained by income 618.
12.36 Exercises
This section contains exercises related to the concepts of standard deviation of errors and the coefficient of determination. 619 620 621 622 623.
- Concepts and Procedures: Exercises 13.31-13.37 focus on understanding the definitions and calculations of degrees of freedom, coefficient of determination, SST, SSR, and standard deviation of errors, often requiring calculations based on provided summary statistics. 619.
- Applications: Exercises 13.38-13.45 involve applying the concepts of standard deviation of errors and coefficient of determination to real-world data sets, such as measurements of eggs, digital cameras, car prices, cereal calorie counts, blood sugar levels, and magazine prices. These exercises typically require calculating SSxx, SSyy, SSxy, standard deviation of errors, SST, SSE, SSR, and the coefficient of determination, followed by an interpretation of the results. 620 621 622 623.
12.37 Inferences about B
This section focuses on making inferences about the population regression slope, β. This includes constructing confidence intervals and performing hypothesis tests for β 621.
📝 To test if the slope is positive, we set H0:β=0 and H1:β>0. With b=0.2525 and sb=0.0379, the test statistic is t=0.03790.2525−0≈6.662, which is greater than the critical value of 3.365 for a 1% significance level with 5 degrees of freedom, leading to rejection of the null hypothesis 623.
12.38 Sampling distribution of b
The slope b of a sample regression line is a point estimator for the population slope β. Since different samples will yield different values of b, b is a random variable with a sampling distribution 621.
- Distribution Shape: Due to the assumption of normally distributed random errors, the sampling distribution of b is normal.
- Mean and Standard Deviation:
- If the population error standard deviation σ is known:
- Mean: E(b)=μb=β.
- Standard Deviation: SD(b)=σb=SSxxσ 621.
- If the population error standard deviation σ is unknown (which is more common):
- The sample standard deviation of errors, se, is used to estimate σ.
- Estimated Standard Deviation: sb=SSxxse.
- Distribution for Inference: When σ is unknown, the t distribution is used for inferences about β 622.
12.39 Estimation of B
The value of b from a sample regression line provides a point estimate for β. When σ is unknown, a confidence interval for β is constructed using the t distribution 622.
- Confidence Interval for B: A (1−α)100% confidence interval for β is given by: b±tsb where t is the critical value from the t distribution with n−2 degrees of freedom and α/2 area in the right tail.
- Example 13–4: Constructs a 95% confidence interval for β using sample data.
- Given: n=7, b=0.2525, SSxx=1772.8571, se=1.5939.
- sb=1772.85711.5939≈0.0379.
- For a 95% confidence level (α=0.05), t with 5 degrees of freedom and α/2=0.025 in the tail is 2.571.
- Confidence Interval: 0.2525±(2.571)(0.0379)=0.2525±0.0974, resulting in an interval of 0.155 to 0.350 622.
12.40 Hypothesis testing about B
Hypothesis testing about β is used to determine if there is a significant linear relationship between the independent and dependent variables. The common null hypothesis is H0:β=0, which suggests no linear relationship. 622 623.
- Test Statistic: The test statistic for b is a t-statistic: t=sbb−B0 where B0 is the value of β under the null hypothesis.
- Example 13–5: Tests at the 1% significance level whether the slope of the regression line is positive.
- Hypotheses: H0:β=0 (slope is zero or negative), H1:β>0 (slope is positive). This is a right-tailed test.
- Distribution: t distribution with n−2=7−2=5 degrees of freedom, as σ is unknown.
- Rejection Region: For α=0.01 and 5 df, the critical t value is 3.365.
- Test Statistic Calculation: t=0.03790.2525−0≈6.662.
- Conclusion: Since the calculated t-statistic (6.662) is greater than the critical value (3.365), the null hypothesis is rejected, indicating that the slope is significantly positive 623.
13. Chapter 14: Multiple regression
13.1 Inferences about B
The slope coefficient, B, in a simple linear regression model represents the change in the dependent variable (y) for a one-unit increase in the independent variable (x). Inferences about B are crucial for understanding the relationship between the variables.
These inferences involve constructing confidence intervals and performing hypothesis tests 624.
A confidence interval for B provides a range of plausible values for the true population slope. A hypothesis test for B allows us to determine if there is statistically significant evidence to conclude that B is different from a specific value, often zero 624.
13.2 Confidence Interval for B
A confidence interval for B is constructed using the sample slope (b^), the standard error of the slope (sb), and a critical t-value from the t-distribution. The formula for the confidence interval is: b^±tα/2,n−2sb where tα/2,n−2 is the critical t-value for a given confidence level and n−2 degrees of freedom 624.
13.3 Hypothesis Testing for B
Hypothesis tests for B are used to assess the significance of the relationship between x and y. The null hypothesis is typically H0:B=B0, where B0 is a hypothesized value (often 0). The alternative hypothesis can be one-sided (H1:B>B0 or H1:B<B0) or two-sided (H1:B=B0) 624.
The test statistic used is: t=sbb^−B0 This t-statistic follows a t-distribution with n−2 degrees of freedom. The decision to reject or fail to reject the null hypothesis is based on comparing the test statistic to a critical value or by examining the p-value 624.
13.4 Using the p-Value
The p-value represents the probability of observing a test statistic as extreme as, or more extreme than, the one calculated, assuming the null hypothesis is true. A small p-value (typically less than the significance level α) leads to the rejection of the null hypothesis. 624 630.
13.5 Linear Correlation
The linear correlation coefficient measures the strength and direction of the linear association between two variables. It is distinct from regression analysis in that it does not distinguish between independent and dependent variables. 626 627.
13.6 Linear Correlation Coefficient (r)
The sample linear correlation coefficient, denoted by r, quantifies the linear relationship between two variables. Its value ranges from -1 to +1 627.
The formula for the linear correlation coefficient is: r=SSxxSSyySSxy where SSxy is the sum of the cross-products of x and y, SSxx is the sum of the squared deviations of x from its mean, and SSyy is the sum of the squared deviations of y from its mean 628.
The sign of r is always the same as the sign of the slope coefficient b^ calculated from the same data 628.
13.7 Interpretation of the Correlation Coefficient
- r = 1: Perfect positive linear correlation. All points lie on an upward-sloping straight line.
- r = -1: Perfect negative linear correlation. All points lie on a downward-sloping straight line.
- r ≈ 0: No linear correlation. Points are scattered randomly.
- 0 < r < 1: Positive linear correlation. The closer r is to 1, the stronger the positive linear relationship.
- -1 < r < 0: Negative linear correlation. The closer r is to -1, the stronger the negative linear relationship 627.
A strong correlation indicates that the points are close to the regression line, while a weak correlation indicates they are widely spread 627.
It is important to note that a strong correlation does not imply causation. A causal relationship should be supported by theory or common sense 628.
13.8 Hypothesis Testing About the Linear Correlation Coefficient
A hypothesis test can be conducted to determine if there is a statistically significant linear correlation between two variables in the population. The null hypothesis is typically H0:ρ=0, where ρ is the population correlation coefficient.
The alternative hypothesis can be H1:ρ>0, H1:ρ<0, or H1:ρ=0 629.
The test statistic used is: t=r1−r2n−2 This statistic follows a t-distribution with n−2 degrees of freedom 629.
13.9 Regression Analysis: A Complete Example
This section integrates various concepts of simple linear regression and correlation into a comprehensive example 633.
13.10 Example: Auto Insurance Premiums and Driving Experience 634 635
The example involves analyzing the relationship between driving experience (in years) and monthly auto insurance premiums (in dollars) for a sample of eight drivers 633.
Steps and Findings:
- Variable Identification: Insurance premium is the dependent variable (y), and driving experience is the independent variable (x). A negative relationship is expected, meaning premiums decrease as experience increases 633.
- Calculation of SS values: SSxx, SSyy, and SSxy are calculated from the sample data.
- Least Squares Regression Line: The estimated regression line y^=a+bx is determined. The intercept (a) represents the predicted premium for a driver with zero experience (though this may not be practically meaningful if the data range does not include zero experience). The slope (b) indicates the average change in premium per additional year of experience.
- Interpretation of Coefficients: The value of a and b are interpreted in the context of the problem. For instance, a negative b signifies a decrease in premium with increased experience.
- Scatter Diagram and Regression Line: A plot of the data points and the regression line visually represents the relationship. A downward-sloping line confirms the expected negative relationship. 634.
- Correlation and Coefficient of Determination: The correlation coefficient (r) and coefficient of determination (r2) are calculated. r indicates the strength and direction of the linear relationship, while r2 shows the proportion of variation in the dependent variable explained by the independent variable.
- Prediction: The regression equation is used to predict the premium for a driver with a specific number of years of experience.
- Standard Deviation of Errors: The standard deviation of the errors (se) measures the typical deviation of the observed values from the regression line.
- Confidence Interval for B: A confidence interval for the population slope (B) is constructed to estimate the range of plausible values for the true average change in premium per year of experience.
- Hypothesis Test for B: A hypothesis test is performed to determine if the population slope (B) is significantly negative.
- Hypothesis Test for ρ: A hypothesis test is conducted to assess if the population correlation coefficient (ρ) is significantly different from zero 635.
| Variable | Calculation | Result |
|---|---|---|
| x (Driving Experience) | Sum of x | 90 |
| y (Monthly Premium) | Sum of y | 474 |
| xy | Sum of xy | 4739 |
| x^2 | Sum of x^2 | 1396 |
| y^2 | Sum of y^2 | 29642 |
| Parameter | Formula | Value |
|---|---|---|
| Intercept (a) | yˉ−bxˉ | 76.6605 |
| Slope (b) | SSxxSSxy | 1.5476 |
| Standard Error of Slope (sb) | SSxxse | 1.0240 |
| Standard Error of Errors (se) | n−2SSyy−bSSxy | 10.3199 |
| Statistic | Formula | Value |
|---|---|---|
| Correlation Coefficient (r) | SSxxSSyySSxy | -0.77 |
| Coefficient of Determination (r2) | SSyybSSxy | 0.59 |
| Hypothesis Test | Null Hypothesis (H0) | Alternative Hypothesis (H1) | Test Statistic | Decision |
|---|---|---|---|---|
| Test for B | B=0 | B<0 | t=−1.51 | Fail to reject H0 |
| Test for ρ | ρ=0 | ρ=0 | t=−2.45 | Reject H0 |
📝 For a driver with 10 years of driving experience, the predicted monthly auto insurance premium is $61.18 635.
13.11 Hypothesis testing for the slope coefficient B
Hypothesis testing for the slope coefficient B in a simple linear regression model follows a structured five-step process. This process allows us to determine if there is a statistically significant linear relationship between the independent variable x and the dependent variable y.
The test is typically conducted using the t distribution when the population standard deviation is unknown 636.
- Step 1: State hypotheses. The null hypothesis (H0) typically states that there is no linear relationship (B=0), while the alternative hypothesis (H1) states that there is a linear relationship (B=0, B<0, or B>0).
- Step 2: Select the distribution. The t distribution is used because the population standard deviation is unknown and estimated by the sample standard deviation of errors.
- Step 3: Determine rejection and nonrejection regions. Based on the significance level (α) and the alternative hypothesis (left-tailed, right-tailed, or two-tailed test), critical values are identified from the t distribution table.
- Step 4: Calculate the test statistic. The test statistic t is calculated using the formula t=sbb−B0, where b is the sample slope, B0 is the hypothesized value of B (usually 0), and sb is the standard error of the slope.
- Step 5: Make a decision. If the calculated test statistic falls within the rejection region, the null hypothesis is rejected. Otherwise, it is not rejected 636.
13.12 Using the p-value to make a decision
The p-value provides an alternative method for hypothesis testing. It represents the probability of observing a test statistic as extreme as, or more extreme than, the one calculated, assuming the null hypothesis is true.
- The p-value is compared to the significance level (α). If the p-value is less than or equal to α, the null hypothesis is rejected.
- For a left-tailed test with t=−2.937 and 6 degrees of freedom, the p-value is between.01 and.025 636.
13.13 Hypothesis testing for the linear correlation coefficient r
Testing the significance of the linear correlation coefficient (r) assesses whether there is a statistically significant linear association between two variables. This test is crucial for validating the strength and direction of the linear relationship observed in the data.
- Step 1: State hypotheses. The null hypothesis (H0) is r=0, indicating no linear correlation. The alternative hypothesis (H1) is r=0, indicating a significant linear correlation.
- Step 2: Select the distribution. Assuming the variables are normally distributed, the t distribution is used for this test.
- Step 3: Determine rejection and nonrejection regions. For a two-tailed test with a significance level of 5% and 6 degrees of freedom (n−2), the critical t values are ±2.447.
- Step 4: Calculate the test statistic. The test statistic t for r is calculated using the formula t=r1−r2n−2.
- Step 5: Make a decision. If the calculated test statistic falls into the rejection region, H0 is rejected 637.
13.14 Using the p-value to make a decision
Similar to hypothesis testing for the slope, the p-value can be used to determine the significance of the correlation coefficient.
- For a two-tailed test with t=2.956 and 6 degrees of freedom, the p-value is between.02 and.05 637.
13.15 Exercises
This section presents a series of exercises designed to apply the concepts of simple linear regression, including hypothesis testing and calculation of regression parameters.
- Exercise 13.80: Investigates the relationship between temperature and glove production, requiring calculation of regression components, interpretation of coefficients, plotting, and hypothesis testing.
- Exercise 13.81: Examines the relationship between tire warranty length and price, involving calculation of regression statistics, interpretation, plotting, and hypothesis testing.
- Exercise 13.82: Analyzes the relationship between basketball inflation pressure and bounce height, requiring calculation of regression parameters, interpretation, and hypothesis testing 638.
- Exercise 13.83: Explores the link between household income and charitable contributions, involving calculation of regression statistics, interpretation, and hypothesis testing.
- Exercise 13.84: Studies the relationship between ticket price and football team attendance, requiring calculation of regression parameters, interpretation, and hypothesis testing.
- Exercise 13.85: Investigates the relationship between GPA and starting salaries of college graduates, involving calculation of regression statistics, interpretation, and hypothesis testing 639.
13.16 Using the regression model for estimating the mean value of y
A key application of a regression model is to estimate the mean value of the dependent variable (y) for a specific value of the independent variable (x). This estimation provides a measure of the average response of y across the population for a given x.
- The population regression model is y=A+Bx+ϵ. The mean value of y for a given x is denoted by μy∣x=E(y∣x)=A+Bx.
- The point estimate for μy∣x is obtained from the sample regression line, y^=a+bx, by substituting the specific value of x (denoted as x0).
- A confidence interval provides a more reliable estimate than a point estimate because it accounts for the variability in sample estimates 640.
13.17 Confidence Interval for μy∣x
A confidence interval for the mean value of y at a specific x0 is constructed to provide a range of plausible values for the true mean response.
- The (1−α)100% confidence interval for μy∣x at x=x0 is given by: y^±tα/2,n−2⋅sy^m where sy^m=sen1+SSxx(x0−xˉ)2.
- The value of t is obtained from the t distribution table for α/2 area in the right tail and df=n−2.
- The standard deviation of the point estimator y^ is sy^m 641.
- For Example 13–9, a 99% confidence interval for the mean food expenditure for households with a monthly income of 5500(x=55) is $1296.32 to $1782.18 hundred dollars 642.
13.18 Using the regression model for predicting a particular value of y
Beyond estimating the mean response, regression models can be used to predict a specific value of the dependent variable (y) for a given value of the independent variable (x). This prediction is for a single observation, not an average.
- The point estimate for a particular value of y (denoted as yp) at x=x0 is also given by the value of y^ calculated from the sample regression line.
- A prediction interval is used to provide a range for this single predicted value, acknowledging greater uncertainty compared to estimating a mean 642.
13.19 Prediction Interval for yp
A prediction interval provides a range within which a future individual observation of y is likely to fall for a given x.
- The (1−α)100% prediction interval for yp at x=x0 is given by: y^±tα/2,n−2⋅sy^p where sy^p=se1+n1+SSxx(x0−xˉ)2.
- The standard deviation of the predicted value sy^p is larger than sy^m because it includes the variability of individual observations.
- For Example 13–10, a 99% prediction interval for the food expenditure of a household with a monthly income of 5500(x=55) is $852.20 to $2226.30 hundred dollars. This interval is wider than the confidence interval for the mean 643.
13.20 Cautions in using regression
While regression analysis is a powerful tool, its application requires careful consideration to avoid misleading results. Two primary areas of caution are extrapolation and the interpretation of causality.
- Extrapolation: The regression line is reliable only within the range of x values observed in the sample. Using the line for x values outside this range (extrapolation) should be done cautiously, as the linear relationship may not hold 643.
- Causality: A significant relationship indicated by regression analysis does not prove that a change in x causes a change in y. Causality is determined by theory or common sense; regression analysis only confirms the statistical significance of the relationship 644.
13.21 Exercises
This section provides exercises that focus on constructing confidence intervals for the mean value of y and prediction intervals for a particular value of y.
- Exercise 13.86: Requires a brief explanation of the difference between estimating the mean value of y and predicting a particular value of y.
- Exercise 13.87: Involves constructing both a confidence interval for the mean value of y and a prediction interval for a particular value of y.
- Exercise 13.89: Asks to construct a 90% confidence interval and a 90% prediction interval for monthly salary based on years of experience.
- Exercise 13.90: Requires constructing a 99% confidence interval and a 99% prediction interval for glove production based on temperature.
- Exercise 13.91: Involves constructing a 95% confidence interval and a 95% prediction interval for tire price based on warranty length.
- Exercise 13.92: Asks to construct a 99% confidence interval and a 99% prediction interval for basketball bounce height based on inflation pressure.
- Exercise 13.93: Requires constructing a 95% confidence interval and a 95% prediction interval for charitable contributions based on household income.
- Exercise 13.94: Involves constructing a 98% confidence interval and a 98% prediction interval for starting salary based on GPA 644.
13.22 Processing errors and outliers
The error term (ϵ) in a regression model represents factors beyond the independent variable that influence the dependent variable. Analyzing these errors can help refine the model and guide data collection.
Outliers, extreme values in the data, can significantly distort regression results, including correlation coefficients.
- The error term accounts for random variations and unmeasured factors. Its distribution can provide insights into the model's fit and suggest areas for improvement.
- Outliers can disproportionately influence regression statistics. Visualizing data through scatterplots is crucial for identifying outliers and understanding their impact on the relationship between variables.
- Anscombe's quartet demonstrates how four datasets with the same correlation coefficient can exhibit vastly different scatterplot patterns, highlighting the importance of graphical analysis beyond summary statistics 645.
13.23 Supplementary exercises
These exercises provide further practice in applying regression concepts to various real-world scenarios.
- Exercise 13.95: Analyzes the relationship between machine age and breakdowns, requiring hypothesis testing and calculation of regression parameters 646.
- Exercise 13.96: Examines the relationship between an air pollution index and emergency admissions, involving hypothesis testing and calculation of regression parameters.
- Exercise 13.97: Investigates the relationship between product promotions and units sold, requiring hypothesis testing, prediction, and calculation of regression parameters.
- Exercise 13.98: Presents data on high temperature and crime rates, likely for regression analysis and hypothesis testing 647.
13.24 Multiple regression analysis
Multiple regression analysis extends simple linear regression by allowing for more than one independent variable. This allows for a more comprehensive understanding of how multiple factors influence a dependent variable 658.
The chapter on multiple regression analysis is available online and covers topics such as the assumptions of the multiple regression model, the standard deviation of errors, and the coefficient of multiple determination 658.
📝 Multiple regression analysis allows for a more comprehensive understanding of how multiple factors influence a dependent variable by extending simple linear regression to include more than one independent variable 658.
13.25 Assumptions of the multiple regression model
The multiple regression model relies on several key assumptions to ensure the validity and reliability of its results. These assumptions are crucial for accurate interpretation and prediction 658.
13.26 Standard deviation of errors
The standard deviation of errors, often denoted as se, quantifies the typical deviation of the observed values of the dependent variable from the values predicted by the regression model. A smaller standard deviation indicates a better fit of the model to the data 658.
13.27 Coefficient of multiple determination
The coefficient of multiple determination, denoted as R2, measures the proportion of the total variation in the dependent variable that is explained by the independent variables included in the multiple regression model. A higher R2 value indicates that the model explains a larger portion of the variability in the dependent variable 658.
13.28 Computer solution of multiple regression
Statistical software packages are commonly used to perform multiple regression analysis. These tools efficiently compute regression coefficients, standard errors, test statistics, and confidence intervals, facilitating the interpretation of the model's results 658.
14. Appendix A: Sample surveys, sampling techniques, and design of experiments
14.1 Sources of data
Data are crucial for making informed decisions, and their quality directly impacts the reliability of results. Data can originate from internal company records, external sources, or through dedicated surveys and experiments.
14.2 Internal sources
Internal sources are data that a company or organization already possesses, such as personnel files or accounting records. These are often used for forecasting or analyzing trends within the organization 661.
14.3 External sources
When internal data are insufficient, external sources are consulted. These can be primary, meaning the data were originally collected by the source organization, or secondary, meaning the data were collected by one entity and then obtained from another 662.
14.4 Surveys and experiments
If data are not available from internal or external sources, researchers may conduct their own surveys or experiments.
-
Surveys: In a survey, data are collected without controlling the factors that might influence the results 662.
-
Experiments: In an experiment, researchers actively control certain factors while collecting data 663.
-
Case Study A–1: The phrasing of questions in a survey is critical, as it can significantly affect the results. Factors like who is answering, what "own" means (e.g., lease), and what constitutes a "car" (e.g., van) can lead to diverse interpretations and affect survey outcomes 663.
-
Case Study A–2: The current American fear of germs is evident in the booming sales of antibacterial soaps. They now represent a large share of the liquid soap market, in spite of a lack of evidence that they are any better than regular soaps 661.
14.5 Sample surveys and sampling techniques
Sample surveys are often preferred over censuses due to practical constraints, and various techniques ensure the sample is representative of the population. Errors can arise from sampling or other factors, and specific random sampling methods are employed to mitigate these issues.
14.6 Why sample?
Conducting a sample survey instead of a census is often necessary for practical reasons, primarily related to time, cost, and feasibility.
- Time: Censuses are time-consuming, especially for large populations, and results may become outdated by the time they are compiled.
- Cost: Collecting data from every member of a population is typically very expensive, making sample surveys a more budget-friendly option.
- Impossibility of conducting a census: In some cases, it is impossible to identify or access every member of a population (e.g., surveying homeless individuals). Additionally, some surveys inherently destroy the items being studied (e.g., testing the lifespan of lightbulbs) 664.
14.7 Random and nonrandom samples 665 667
The method used to draw a sample determines whether it is random or nonrandom.
- Random sample: A sample where each member of the population has some chance of being selected.
- Nonrandom sample: A sample where some members of the population may have no chance of being selected 664.
| Sample Type | Description | Examples |
|---|---|---|
| Convenience sample | Most accessible members are selected for quick results. | Opinion poll at a single shopping mall. |
| Judgment sample | Members are selected based on an expert's judgment and prior knowledge. | May happen to be representative, but chances are small. |
| Quota sample | Population is divided into subpopulations, and a subsample is taken from each to match population proportions. | Selecting 48% men and 52% women for a sample of 1000 from a city with that demographic split. Historically used but abandoned after 1948 US presidential election due to bias. |
| Voluntary response sample | Questionnaires are published, and people are invited to respond. | Magazine polls, TV station polls with separate phone numbers for yes/no votes. |
14.8 Sampling and nonsampling errors667 668
Errors in sample surveys can be categorized into sampling errors (chance errors) and nonsampling errors (systematic errors).
- Sampling error: The difference between a sample result and the result that would have been obtained from a census. This error occurs due to chance and is inherent in sample surveys 665.
- Nonsampling errors: Errors that occur during the collection, recording, or tabulation of data, often due to human mistakes. These can be minimized with careful planning and execution 666.
| Error Type | Description | Causes/Notes |
|---|---|---|
| Selection error | Occurs because the sampling frame (list used to draw the sample) is not representative of the population. | Telephone directories miss unlisted or non-phone owners; nonrandom samples are inherently unrepresentative. |
| Nonresponse error | Occurs when individuals selected for the sample do not respond to the survey. | Common in mail surveys; people not home during interviews; can overrepresent middle-income families. |
| Response error | Occurs when respondents provide incorrect answers. | Misunderstanding questions, intentional misrepresentation (e.g., income), interviewer's race influencing answers. |
| Voluntary response error | Occurs in surveys where participation is voluntary, leading to biased samples. | Only those with strong opinions respond; cost of participation deters others. |
14.9 Random sampling techniques
Several methods exist for selecting a random sample, each with its own approach to ensuring randomness and representativeness.
- Simple random sampling: Every sample of the same size has an equal probability of being selected. This can be done using a lottery method or random number generators.
- Systematic random sampling: A random starting point is chosen, and then every kth element is selected. This is more convenient for large populations than simple random sampling 668.
- Stratified random sampling: The population is divided into subgroups (strata) based on a characteristic, and then a sample is drawn from each stratum, often proportionally to the stratum's size in the population. This ensures representation of diverse subgroups.
- Cluster sampling: The population is divided into geographical groups (clusters), a random sample of clusters is selected, and then a random sample of elements is drawn from within each selected cluster. This is useful when the population is geographically dispersed 669.
14.10 Design of experiments
Experiments involve imposing controlled conditions (treatments) on subjects to observe their effects, distinguishing them from observational studies where no such control is exercised. Randomization is a key technique in experiments to ensure groups are comparable.
14.11 Treatments and observational studies
In an experiment, a treatment is a condition or set of conditions imposed by the experimenter on a group of elements. In an observational study, the investigator does not impose treatments; instead, they collect data from subjects who have already been exposed to certain conditions.
This can lead to confounding variables, where the effects of the treatment are mixed with other factors 670.
14.12 Randomization
Randomization is the procedure of assigning elements to different groups at random. This helps to ensure that the groups are similar with respect to various factors, minimizing the impact of confounding variables and allowing for more valid conclusions about the effectiveness of treatments 670.
📝 For example, testing a new drug involves dividing patients into a treatment group (receiving the drug) and a control group (receiving a placebo). This is often done as a double-blind experiment, where neither the doctors nor the patients know who is in which group, to ensure objectivity 663.
14.13 Design of experiments
A designed experiment involves the experimenter controlling the random assignment of elements to different treatment groups. In contrast, an observational study involves voluntary assignment to treatments, with the experimenter merely observing the outcomes 671.
- Designed experiment: The experimenter controls the random assignment of elements to different treatment groups.
- Observational study: The assignment of elements to different treatments is voluntary, and the experimenter simply observes the results 671.
14.14 Treatments and control groups
In an experiment, the group of elements that receives a treatment is called the treatment group, while the group that does not receive a treatment is the control group 671.
- Treatment group: The group of elements that receives a treatment.
- Control group: The group of elements that does not receive a treatment 671.
14.15 Example: Pharmaceutical testing
A pharmaceutical company developing a new medicine must test it rigorously. If patients voluntarily decide to take the medicine, it's an observational study, potentially confounded by other variables 671.
📝 A study where 50 patients with a disease voluntarily take a new medicine, and 50 do not, is an observational study. This is because the patients were not randomly selected, and differences between the groups (e.g., disease severity, age) could affect the results 671.
If patients are randomly assigned to receive either the medicine or a placebo, it becomes a designed experiment 672.
📝 If 100 patients with a disease are randomly divided into two groups, with one group receiving the medicine and the other a placebo, this is a designed experiment. Random assignment helps ensure the groups are similar, isolating the medicine's effect 672.
- Double-blind experiment: An experiment where neither the patients nor the experimenters know who is receiving the real treatment and who is receiving the placebo. This is crucial for unbiased and valid results.
- Placebo effect: The phenomenon where patients respond to a treatment simply because they believe it will work, even if it's a dummy medicine 672.
14.16 Observational studies vs. designed experiments
While designed experiments are preferred for establishing cause-and-effect relationships, observational studies are sometimes necessary when experiments are not feasible 672.
- Observational studies: Used when it's impossible to conduct a designed experiment, such as comparing starting salaries of business and psychology majors.
- Confounding variables: In observational studies, the effects of variables of interest can be mixed with the effects of other variables, making it difficult to establish a clear cause-and-effect relationship 672.
14.17 Case study: Antibacterial soaps
A randomized, double-blind, controlled study surveyed homemakers using either ordinary or antibacterial soaps for a year. Hand cultures showed no significant difference in bacteria levels between the groups at the end of the study 673.
- Study findings: Participants using both types of soap significantly reduced bacteria on their hands, not due to the soap's antibacterial properties, but because they washed more thoroughly.
- Triclosan effectiveness: The antimicrobial agent triclosan requires several minutes of contact to be effective, longer than most people spend washing their hands.
- Potential risks: Residues of antimicrobial soaps may contribute to the development of drug-resistant bacteria.
- Alternative recommendation: Alcohol-based gels are recommended as a more effective alternative for killing germs by drying them out 673.
14.18 Exercises and case studies
The appendix includes numerous exercises and case studies that apply the concepts of sampling techniques and experimental design 674 675 676.
- Exercise A.8: A statistics professor using her own class as a sample to find the average GPA is a convenience sample, likely to be biased.
- Exercise A.12: A company selecting 29 men and 21 women from a workforce of 58% men and 42% women, with interviewers free to choose, is a quota sample.
- Exercise A.13: A magazine questionnaire mailed to readers, with responses from self-selected participants, is a voluntary response sample, subject to significant bias.
- Exercise A.17: A 10-year clinical trial of low-dose aspirin therapy for women, where half received aspirin and half a placebo, with random assignment, is a designed experiment 674.
- Exercise A.20: Investigating a job training program by offering it to 5000 volunteer welfare families and not to another 5000 volunteer families is an observational study.
- Exercise A.21: Randomly selecting 5000 families from 10,000 welfare families to receive job training, and comparing them to the remaining 5000, is a designed experiment.
- Exercise A.24: A researcher advertising for volunteers to study meat consumption and cholesterol levels, and concluding a strong association, is an observational study. This does not prove causation.
- Exercise A.25: A pharmaceutical company assigning patients to treatment or control groups based on physician judgment is a flawed study, not a double-blind experiment 675.
- Exercise A.29: A psychologist selecting the first 10 pigs she can catch from a pen is a convenience sample, not a random sample, and may not be representative.
- Exercise A.30: A newspaper poll where readers pay to call in opinions is not a random sample and is subject to bias.
- Exercise A.32: A college using stratified random sampling to poll students about a fee, with sample sizes proportional to class levels, is a well-designed survey 676.
- Exercise A.34: Testing a new canine vaccine by randomly selecting 100 dogs to receive it and comparing them to unvaccinated dogs is a designed experiment 677.
14.19 Glossary of terms
This section provides definitions for key terms related to data collection and experimental design 677.
| Term | Definition |
|---|---|
| Census | A survey conducted by including every element of the population. |
| Cluster | A subgroup (usually geographical) of the population that is representative of the population. |
| Cluster sampling | A sampling technique in which the population is divided into clusters and a sample is chosen from one or a few clusters. |
| Control group | The group on which no condition is imposed. |
| Convenience sample | A sample that includes the most accessible members of the population. |
| Designed experiment | A study in which the experimenter controls the assignment of elements to different treatment groups. |
| Double-blind experiment | An experiment in which neither the doctors (or researchers) nor the patients (or members) know to which group a patient (or member) belongs. |
| Experiment | A method of collecting data by controlling some or all factors. |
| Judgment sample | A sample that includes the elements of the population selected based on the judgment and prior knowledge of an expert. |
| Nonresponse error | The error that occurs because many of the people included in the sample do not respond. |
| Nonsampling or systematic errors | The errors that occur in the collection, recording, and tabulation of data. |
| Observational study | A study in which the assignment of elements to different treatments is voluntary, and the researcher simply observes the results of the study. |
| Quota sample | A sample selected in such a way that each group or subpopulation is represented in the sample in exactly the same proportion as in the target population. |
| Random sample | A sample that assigns some chance of being selected in the sample to each member of the population. |
| Randomization | The procedure in which elements are assigned to different (treatment and control) groups at random. |
| Representative sample | A sample that contains the characteristics of the population as closely as possible. |
| Response error | The error that occurs because people included in the survey do not provide correct answers. |
| Sample | A portion of the population of interest. |
| Sample survey | A survey that includes elements of a sample. |
| Sampling frame | The list of elements of the target population that is used to select a sample. |
| Sampling or chance error | The difference between the result obtained from a sample survey and the result that would be obtained from the census. |
| Selection error | The error that occurs because the sampling frame is not representative of the population. |
| Simple random sampling | If all samples of the same size selected from a population have the same chance of being selected, it is called simple random sampling. Such a sample is called a simple random sample. |
15. Appendix B: Explanation of data sets
15.1 Data Set I: City Data
This data set provides prices in dollars for selected products in various cities across the United States. It is derived from the ACCRA Cost of Living Index Survey for the second quarter of 2009, with permission from the American Chamber of Commerce Researchers Association.
The data set includes 25 columns detailing different variables.
- C1: Name of the city.
- C2: Price of T-bone steak per pound 679.
16. Appendix C: Statistical tables
16.1 Table I: Binomial probabilities
This table provides binomial probabilities, denoted as P(X=x), for various values of n (number of trials), p (probability of success), and x (number of successes). The probabilities are presented for different combinations of n and p, allowing for the calculation of specific outcomes in binomial distributions 689 690 691 692 693 694.
The table is structured with columns representing different probabilities of success (p) and rows indicating the number of successes (x) for a given number of trials (n). For example, to find the probability of getting exactly 2 successes in 5 trials with a probability of success of 0.3, one would locate the intersection of the row for x=2 and the column for p=0.30 under the section for n=5 689 690 691 692 693 694.
{"header": ["n", "x", "p=0.05", "p=0.10", "p=0.20", "p=0.30", "p=0.40", "p=0.50", "p=0.60", "p=0.70", "p=0.80", "p=0.90", "p=0.95", "rows": [["11", "0", "0.0000", ["11", "1", "0.0000", ["11", "2", "0.0000", ["11", "3", "0.0000", ["11", "4", "0.0000", ["11", "5", "0.0000", ["11", "6", "0.0000", ["11", "7", "0.0000", ["11", "8", "0.0000", ["11", "9", "0.0000", ["11", "10", "0.0000", ["11", "11", "0.0000", ["12", "0", "0.0000", ["12", "1", "0.0000", ["12", "2", "0.0000", ["12", "3", "0.0000", ["12", "4", "0.0000", ["12", "5", "0.0000", ["12", "6", "0.0000", ["12", "7", "0.0000", ["12", "8", "0.0000", ["12", "9", "0.0000", ["12", "10", "0.0000", ["12", "11", "0.0000", ["12", "12", "0.0000", ["13", "0", "0.0000", ["13", "1", "0.0000", ["13", "2", "0.0000", ["13", "3", "0.0000", ["13", "4", "0.0000", ["13", "5", "0.0000", ["13", "6", "0.0000", ["13", "7", "0.0000", ["13", "8", "0.0000", ["13", "9", "0.0000", ["13", "10", "0.0000", ["13", "11", "0.0000", ["13", "12", "0.0000", ["13", "13", "0.0000", ["14", "0", "0.0000", ["14", "1", "0.0000", ["14", "2", "0.0000", ["14", "3", "0.0000", ["14", "4", "0.0000", ["14", "5", "0.0000", ["14", "6", "0.0000", ["14", "7", "0.0000", ["14", "8", "0.0000", ["14", "9", "0.0000", ["14", "10", "0.0000", ["14", "11", "0.0000", ["14", "12", "0.0000", ["14", "13", "0.0000", ["14", "14", "0.0000", ["15", "0", "0.0000", ["15", "1", "0.0000", ["15", "2", "0.0000", ["15", "3", "0.0000", ["15", "4", "0.0000", "0.
16.2 Poisson probabilities
This section presents a table of Poisson probabilities, which are used to model the number of events occurring in a fixed interval of time or space. The table provides probabilities for various values of x (the number of events) and different mean values (λ) 702.
16.3 Standard normal distribution table
The standard normal distribution table provides cumulative areas under the standard normal curve. It is used to find probabilities associated with a standard normal random variable (z).
The table is divided into two parts: one for negative z-values and one for positive z-values. Each entry represents the area to the left of a given z-score 703 704.
16.4 The t distribution table
The t distribution table provides critical values of t for various degrees of freedom (df) and specified areas in the right tail. This table is essential for hypothesis testing and constructing confidence intervals when the population standard deviation is unknown 705 706.
📝 For 30 degrees of freedom and an area in the right tail of 0.05, the critical value of t is 1.697 705.
16.5 Chi-square distribution table
The chi-square (χ2) distribution table lists critical values for the chi-square distribution based on degrees of freedom and the area in the right tail. This table is commonly used in hypothesis testing for goodness-of-fit tests and tests of independence 707.
16.6 The F distribution table
The F distribution table provides critical values of F for different degrees of freedom for the numerator and denominator, corresponding to specified areas in the right tail. This table is crucial for analysis of variance (ANOVA) and testing the equality of variances between two or more groups 708 709 710 711.
16.7 Statistical tables on the website
In addition to the tables provided within the appendix, several other statistical tables are available on the text's website. These include critical values for the sign test, Wilcoxon signed-rank test, Wilcoxon rank sum test, Spearman Rho rank correlation coefficient test, and a two-tailed runs test 712.
16.8 Answers to selected odd-numbered exercises and self-review tests
This section provides answers to selected odd-numbered exercises and self-review tests from Chapters 4 through 13. The answers cover a wide range of statistical concepts, including probability, distributions, hypothesis testing, confidence intervals, regression, and ANOVA.
16.9 Chapter 4: Probability
The answers for Chapter 4 address concepts such as:
- Mutually exclusive and dependent events: Determining if events can occur simultaneously or if one influences the other.
- Probability calculations: Finding probabilities for various scenarios, including conditional probabilities 715.
📝 For Chapter 4, Exercise 4.55, the probability of event "male" and event "in favor" are not mutually exclusive, and events "in favor" and "against" are mutually exclusive 715.
16.10 Chapter 5: Discrete Probability Distributions
Answers for Chapter 5 focus on:
- Discrete vs. continuous random variables: Identifying the type of random variable based on its possible outcomes.
- Valid probability distributions: Checking if a set of probabilities meets the criteria for a valid distribution.
- Binomial and other distributions: Calculating probabilities, means, and standard deviations for various discrete distributions716.
- Combinations and permutations: Calculating the number of ways to arrange or select items 715.
16.11 Chapter 6: The Normal Probability Distribution
Chapter 6 answers relate to the normal distribution and its applications:
- Z-scores: Calculating and interpreting z-scores to standardize values.
- Probabilities from the normal distribution: Finding probabilities associated with specific ranges of values717.
- Normal approximation to the binomial distribution: Using the normal distribution to approximate binomial probabilities 716.
16.12 Chapter 7: Sampling Distributions
Answers for Chapter 7 cover:
- Sampling error: Calculating the difference between a sample statistic and a population parameter 716.
- Central Limit Theorem: Understanding how sample means tend toward a normal distribution as sample size increases.
- Sampling distributions of the mean and proportion: Calculating means and standard deviations for sampling distributions 717.
📝 For Chapter 5, Exercise 5.39, the number of ways to arrange 3 items is 3!=6, and the number of combinations of 5 items taken 3 at a time is 5C3=10 715.
16.13 Chapter 8: Confidence Intervals
Chapter 8 answers focus on constructing and interpreting confidence intervals:
- Confidence intervals for the mean: Calculating intervals for population means with known and unknown standard deviations.
- Confidence intervals for the proportion: Determining intervals for population proportions.
- Sample size determination: Calculating the required sample size for a desired margin of error 717 718.
16.14 Chapter 9: Hypothesis Testing
Answers for Chapter 9 relate to hypothesis testing procedures:
- Types of errors: Identifying Type I and Type II errors.
- Hypothesis formulation: Stating null and alternative hypotheses for various scenarios.
- Critical values and test statistics: Determining critical values and calculating test statistics for z-tests and t-tests.
- P-values: Calculating and interpreting p-values to make decisions about hypotheses 718 719.
16.15 Chapter 10: Inference for Two Samples
Chapter 10 answers cover hypothesis testing and confidence intervals for two samples:
- Inference for means: Comparing means of two independent or dependent samples using z-tests, t-tests, and confidence intervals 719.
- Inference for proportions: Comparing proportions of two independent samples using z-tests and confidence intervals 720.
📝 For Chapter 8, Exercise 8.19, to achieve a desired margin of error, a sample size of n=167 is required for a confidence level of 95% and a proportion of 0.5, and a sample size of n=65 is required for a confidence level of 99% 717.
16.16 Chapter 11: Chi-Square Tests
Answers for Chapter 11 focus on chi-square tests:
- Goodness-of-fit tests: Testing if sample data fits a hypothesized distribution.
- Tests of independence and homogeneity: Examining relationships between categorical variables.
- Chi-square distribution: Using critical values from the chi-square distribution 720 721.
16.17 Chapter 12: Analysis of Variance (ANOVA)
Chapter 12 answers relate to ANOVA:
- One-way ANOVA: Comparing means of three or more independent groups.
- F-distribution: Using critical values from the F-distribution.
- Test statistic F: Calculating the F-statistic for ANOVA 722.
16.18 Chapter 13: Linear Regression and Correlation
Answers for Chapter 13 cover linear regression and correlation:
- Regression equation: Determining the equation of the least-squares regression line.
- Correlation coefficient (r) and coefficient of determination (r²): Measuring the strength and direction of linear relationships.
- Hypothesis testing for slope and correlation: Testing the significance of linear relationships.
- Confidence intervals for slope and prediction intervals: Estimating population parameters and predicting values 722 723.
16.19 Appendix A: Sampling and Experimental Design
This appendix provides answers related to sampling methods and experimental design principles.
- Sampling methods: Identifying different types of samples, including simple random samples, nonrandom samples, judgment samples, and convenience samples.
- Errors in sampling: Recognizing sources of error such as selection error, voluntary response error, nonresponse error, and response error.
- Experimental design: Distinguishing between observational studies and designed experiments, and identifying concepts like double-blind studies 723.
16.20 Binomial probabilities
The binomial probability distribution table provides the cumulative probabilities for various values of n (number of trials) and p (probability of success). It allows for the calculation of probabilities for a range of successes.
C-2 C-3 C-4 C-5 C-6 C-7 C-8 C-9 C-10
16.21 Values of e^x
This table lists the values of ex for various values of x. This is useful for calculations involving exponential functions, particularly in probability distributions like the Poisson distribution.
16.22 Poisson probabilities
The Poisson probability distribution table provides cumulative probabilities for different values of λ (average number of occurrences) and x (number of occurrences). This table facilitates the calculation of probabilities for events occurring within a fixed interval of time or space.
16.23 Standard normal distribution table
The standard normal distribution table, also known as the z-table, provides the area under the standard normal curve for specific z-scores. This table is crucial for calculating probabilities and finding critical values related to the normal distribution.
16.24 t distribution table
The t distribution table provides critical values for the t-distribution, which is used in hypothesis testing and confidence interval estimation when the population standard deviation is unknown and the sample size is small. The table is organized by degrees of freedom and significance level.
16.25 Chi-square distribution table
The chi-square distribution table lists critical values for the chi-square distribution. This distribution is used in hypothesis testing for population variance and in chi-square tests for independence and goodness-of-fit.
The table is indexed by degrees of freedom and the area in the right tail. C-23
16.26 F distribution table
The F distribution table provides critical values for the F-distribution, which is used in analysis of variance (ANOVA) and in hypothesis testing for the equality of variances. The table is organized by degrees of freedom for the numerator and denominator, and the significance level.
16.27 Standard normal distribution table
The standard normal distribution table provides cumulative areas under the standard normal curve. It is used to find probabilities associated with z-scores.
The table is divided into two parts: one for negative z-values and one for positive z-values. Each entry represents the area to the left of a given z-score.
The table lists z-scores with increments of 0.01. For negative z-scores, the table shows the area to the left of z, where z is 0 or negative. For positive z-scores, the table shows the area to the left of z, where z is 0 or positive.
The table entries are cumulative probabilities. For example, for a z-score of -1.96, the cumulative area to the left is approximately 0.025. For a z-score of 1.96, the cumulative area to the left is approximately 0.975 747 748.
16.28 t distribution table
The t distribution table provides critical values of t for various degrees of freedom (df) and specified areas in the right tail. This table is essential for hypothesis testing and constructing confidence intervals when the population standard deviation is unknown and the sample size is small.
The table lists degrees of freedom from 1 up to 75, and then a general row for larger degrees of freedom where the t-distribution approximates the normal distribution. The columns represent different areas in the right tail, such as 0.10, 0.05, 0.025, 0.01, 0.005, and 0.001.
For a given number of degrees of freedom and a specified tail area, the table provides the corresponding critical t-value. For instance, with 20 degrees of freedom and an area of 0.05 in the right tail, the critical t-value is 1.725 749 750.
© 2026 Maeve. All rights reserved. This content is protected by copyright.