Probability Statistics

Cover

Chapter 2.2 - Descriptive Statistics (Part2).pdf

Table of contents

  1. Descriptive Statistics
  2. Measures of central tendency
  3. Measures of Dispersion
  4. Measures of Position

1. Descriptive Statistics

1.1 Ungrouped data

Ungrouped data, also known as raw data or arrayed data, is numerical data in its original, authentic form. It consists of a collection of individual observations gathered during research or from a specified source.

This data is often presented as a jumble of values, which can be monotonous and time-consuming to analyze when the number of observations is large. To facilitate understanding, ungrouped data is typically presented in a tabular form, such as a frequency distribution table, or arranged in ascending or descending order if the observations are numerical 4.

This diagram displays the ages of 20 senior citizens, represented by numbers and corresponding cartoon figures.

The ages of 20 senior citizens are provided as an example of ungrouped data: 59, 59, 61, 61, 68, 68, 65, 60, 65 5.

1.2 Grouped data 7

Grouped data is created when raw data is assembled into a number of classes, resulting in a more condensed form. This method is employed when dealing with a large number of observations where arranging data individually is impractical due to time constraints.

Data is organized into class intervals, and a grouped frequency distribution indicates the frequency of occurrence for different values within these classes. This arrangement preserves all information while making the data more manageable 6.

A grouped frequency distribution for scores is presented as follows:

ScoresFrequency
5-94
10-1410
15-1919
20-2426
25-2921
30-3412
35-398

📝 The ages of 20 senior citizens are provided as an example of ungrouped data: 59, 59, 61, 61, 68, 68, 65, 60, 65 5.

1.3 Numerical measures

Numerical measures are used to describe and analyze data. These measures can be broadly categorized into several types:

  • Measures of central tendency: These describe the center or typical value of a dataset.
  • Measures of variation: These quantify the spread or dispersion of the data.
  • Measures of position: These indicate the relative standing of a particular data point within a dataset.
  • Measures of skewness: These describe the asymmetry of the data distribution 8.

Descriptive statistics are particularly useful for understanding ungrouped data 9.

2. Measures of central tendency

2.1 Introduction to measures of central tendency

Measures of central tendency are single summary values that represent the middle or typical point of a data distribution. They are used to:

  • Summarize large amounts of data.
  • Describe typical group performance.
  • Support data-driven decision-making 10.

The three main measures of central tendency are the mean, median, and mode 11.

2.2 Mean

The mean, also known as the mathematical average, is calculated by dividing the sum of all values by the total number of values. It is the most common measure of central tendency 12.

There are two types of mean:

  • Population mean: Calculated when considering the entire population, where NN is the population size.
  • Sample mean: Calculated when considering a sample from a population, where nn is the sample size 12.

The mean is highly sensitive to outliers, meaning extreme high or low values can significantly affect its value 11 12.

📝 The mean vacation days taken by employees across 8 branches is calculated as xˉ=2238=27.875\bar{x} = \frac{223}{8} = 27.875 days 16.

2.3 Median

The median is the midpoint of an ordered data set, with 50% of the values falling below it and 50% falling above it. It is not affected by extreme values, making it a better measure than the mean for data sets with outliers or skewed distributions 11 13.

To find the median:

  1. Arrange the data in ascending order.
  2. Calculate the position of the median using the formula (n+1)2\frac{(n+1)}{2}.
  • If the number of values (nn) is odd, the median is the middle number.
  • If the number of values (nn) is even, the median is the average of the two middle numbers.
  1. Locate the median value in the ordered data 13.

![This diagram illustrates the process of finding the median of a dataset, including arranging the numbers in ascending order and identifying the middle value.](https://ixscdoswnqhohheqmami.supabase.co/storage/v1/object/public/documents/c1c57259-83d1-43ee-9187-8fe3938da28c/courses/727ce30d-b5d7-4b5a-9584-fd0068370763/figures/d890c4ad-42db-4b

Cover

CHAPTER 2 DESCRIPTIVE STATISTICS.pdf

📚 CHAPTER 2 DESCRIPTIVE STATISTICS.pdf

Brief overview

This document introduces fundamental techniques for summarizing and visualizing quantitative data. Understanding these descriptive statistics is crucial for interpreting data sets and identifying potential biases in their presentation.

Key points

  • Organizing data into frequency distributions and their graphical representation.
  • Calculating and interpreting measures of central tendency: mean, median, and mode.
  • Understanding relative positions of values within a dataset using quartiles and percentiles.
  • Describing data spread through standard deviation.
  • Analyzing the shape of distributions using moments like variance, skewness, and kurtosis.

1. Frequency distributions and their visual representation

1.1 Frequency distributions

  • A frequency distribution is a table that organizes data by showing how often each value or class appears.
  • It helps summarize large datasets and makes patterns easier to identify.

1.1.1 Constructing frequency distributions

  • This involves grouping data into classes and counting observations in each class.
  • It makes large datasets easier to analyze and interpret.

1.1.1.1 Steps for construction

  • Step 1: Determine the range. Calculate the difference between the highest and lowest scores. For example, a range of 90 - 45 = 45.
  • Step 2: Decide the number of classes. Choose a suitable number of groups for the data. Using 6 classes is one option.
  • Step 3: Set up the classes. Define the intervals for each class, often with a calculated class width. A class width of 8 can be used.

1.1.1.2 Example frequency distribution table

Class Interval (Scores)TallyFrequency (f)
45-52=2
77-84IIIII6
85-92=2
  • Summarizes large data sets.
  • Easy to read and understand.
  • Helps identify patterns and trends.
  • Useful for further analysis and decision-making 2.

1.2 Cross tabulations

  • A cross tabulation (or contingency table) compares two or more variables by organizing data into rows and columns.
  • It helps identify relationships between variables.

1.2.1 Example: Gender and transportation preference

  • This survey examined the relationship between gender and preferred transport mode among 200 students.

1.2.1.1 Preferred mode of transportation by gender

GenderCarBusMotorcycleBicycleTotal
Male45352515120
Female2530151080
Total70654025200
  • Car is the most preferred mode overall.

  • 45 males prefer cars.

  • Males prefer motorcycles more than females.

  • Females prefer buses more than males.

  • Why it's useful:

  • Shows relationships between categorical variables.

  • Helps in comparison and decision-making.

  • Easy to understand and interpret.

  • Highlights patterns and differences 3.

1.3 Cumulative frequency distributions

  • A cumulative frequency distribution shows the running total of frequencies from the first class to the last.
  • It helps determine how many observations fall below or above a certain value.

1.3.1 Absolute cumulative frequency

  • This is the running total of actual frequencies.
  • Example: A cumulative frequency of 17 means 17 students scored less than 70.
Class Interval (Scores)Frequency (f)Cumulative Frequency (CF)
40 - 4933
50 - 5969
60 - 69817
70 - 79724
80 - 89428
90 - 99230
TOTAL3030
  • This distribution shows the proportion or percentage of observations in each class, not the actual frequency.
  • Relative Frequency Formula:
Cover

Chapter 2- Organizing data ( Tables and Graphs) Fall 2026-2027.pptx

Table of contents

  1. Objectives
  2. Organizing data
  3. Presenting data
  4. Other type of graphs

1. Objectives

1.1 Objectives

After completing this chapter, you should be able to:

  • Organize data using frequency distributions.
  • Represent data in frequency distributions graphically using histograms, frequency polygons, and ogives.
  • Represent data using Pareto charts, time series graphs, and pie graphs.

2. Introduction

1.2 Introduction

This chapter focuses on organizing raw data into a more manageable format and then constructing appropriate graphs to visually represent this data. The goal is to present information concisely and in an easily understandable manner.

The process involves two main stages: organizing data and presenting data.

3. Organizing data (frequency distributions)

1.3 Organizing data

Organizing data involves grouping it into frequency distributions. This method helps to summarize a large set of data by showing how often each value or range of values occurs.

1.4 Frequency distributions

A frequency distribution is a table that shows the number of data points that fall into specific categories or intervals, called classes. This allows for a clear overview of the data's distribution.

A frequency table showing the distribution of data into classes and their corresponding frequencies.

1.5 Class limits and class boundaries

Class limits are the lowest and highest values that can be included in a class. Class boundaries are used to separate classes without any gaps, ensuring that each data point falls into exactly one class.

They are typically halfway between the upper limit of one class and the lower limit of the next class.

Table showing class limits and corresponding class boundaries for statistical data grouping.

4. Presenting data (graphs)

1.6 Presenting data

Once data is organized into frequency distributions, it can be presented graphically. Graphs provide a visual representation of the data, making it easier to identify patterns, trends, and relationships.

1.7 Types of graphs

This chapter covers several types of graphs used to represent data, including histograms, frequency polygons, ogives, Pareto charts, time series graphs, and pie graphs. Each type of graph is suitable for different kinds of data and analytical purposes.

2. Organizing data

2.1 Introduction to organizing data

When data are collected in their original form, they are called raw data. This unorganized data provides little insight into the distribution's features.

Therefore, techniques are needed to organize collected data into a meaningful form. A frequency distribution is the organization of raw data into mutually exclusive (non-overlapping) and exhaustive categories or classes, showing the number of observations in each class or category.

The most common types of frequency distributions are:

  • Categorical distributions (for qualitative variables)
  • Ungrouped distributions (for quantitative variables with few values)
  • Grouped distributions (for quantitative variables with a large dataset)

2.2 Categorical frequency distribution for qualitative variables

Categorical frequency distributions are used for data that can be placed into specific categories, such as nominal or ordinal level data. Examples include gender, blood type, or nationality.

To construct a categorical frequency distribution:

  • Write the categories in the first column of a table.
  • Count the tallies for each category and place the results in a second column, labeled "Frequency." The frequency represents the number of observations in each class.

2.3 Ungrouped frequency distributions for quantitative variables with few values

Ungrouped frequency distributions are used when there are few distinct numerical data values to organize. This method is suitable when the range of data values (highest value - lowest value) is relatively small, typically less than 15. For such data, you simply count how many times each distinct value has occurred.

For example, if the raw data represents the number of incoming calls per day over 20 days, you would count the occurrences of each specific number of calls (e.g., how many days had 0 calls, how many had 1 call, etc.).

2.4 Grouped frequency distributions for quantitative data with a large amount of values

Grouped frequency distributions are used when the range of values in a dataset is very large. In this method, the data must be grouped into classes that

Cover

Chapter 3 Data Description Summarizing data Fall 2026-2027.pptx

Table of contents

  1. Chapter Three: Descriptive Measures of the Data
  2. Measures of Central Tendency
  3. Measures of Variation
  4. Measures of Position
  5. Exploratory Data Analysis (EDA)

1. Chapter Three: Descriptive Measures of the Data

1.1 Introduction

This chapter focuses on summarizing data using descriptive measures. These measures help in understanding the characteristics of a data set.

The key areas covered include central tendency, variation, position, and exploratory data analysis techniques.

1.2 Measures of central tendency

Measures of central tendency describe the center or typical value of a data set. They provide a single value that represents the data.

  • Mean: The sum of the data values divided by the number of values.
  • Median: The middle value of a data set when it is ordered from least to greatest.
  • Mode: The value that appears most frequently in a data set.
  • Midrange: The average of the lowest and highest values in a data set.

1.3 Measures of variation

Measures of variation quantify the spread or dispersion of data values. They indicate how much the data points differ from each other and from the center.

  • Range: The difference between the highest and lowest values in a data set.
  • Variance: The average of the squared differences from the mean.
  • Standard deviation: The square root of the variance, providing a measure of spread in the original units of the data.

1.4 Measures of position

Measures of position describe the location of a specific data value within a data set relative to other values.

  • Percentiles: Values that divide a data set into 100 equal parts. The kkth percentile is a value such that kk percent of the data values are less than or equal to it.
  • Quartiles: Values that divide a data set into four equal parts.
  • Q1 (First Quartile): The median of the lower half of the data.
  • Q2 (Second Quartile): The median of the entire data set.
  • Q3 (Third Quartile): The median of the upper half of the data.

1.5 Exploratory data analysis

Exploratory Data Analysis (EDA) uses graphical and numerical methods to summarize data and discover patterns.

  • Stem and leaf plots: A method to display quantitative data in a graphical format, similar to a histogram, with numerical values.
  • Box plots: A graphical representation of the five-number summary, showing the distribution of data through quartiles.
  • Five-number summary: A set of five values that describe the distribution of a data set: minimum, Q1, median, Q3, and maximum.

2. Measures of Central Tendency

2.1 The Mean

The mean, often called the average, is a measure of central tendency calculated by summing all values in a dataset and dividing by the number of values. It is sensitive to extreme values, which can pull the mean away from the typical data point.

  • Sample mean: Represented by the symbol xˉ\bar{x}, it is calculated for a sample of data.
  • Population mean: Represented by the symbol μ\mu, it is calculated for an entire population of data.

The mean has several key properties:

  • Every set of interval or ratio data has a mean.
  • All data values are used in its calculation.
  • A dataset has only one mean, making it a unique value.
  • It is useful for comparing two or more populations.
  • The sum of the deviations of each value from the mean is always zero.

📝 The ages of a random sample of seven students are 11, 10, 12, 13, 7, 9, and 15. The sample mean age is calculated as (11+10+12+13+7+9+15)/7=77/7=11(11+10+12+13+7+9+15) / 7 = 77 / 7 = 11.

2.2 The Median

The median is the middle value in a dataset that has been ordered from least to greatest. It divides the data into two equal halves, with 50% of the observations above it and 50% below it.

  • Odd number of values: The median is the single middle value.
  • Even number of values: The median is the average of the two middle values.

The median is a valuable measure of central tendency because it is not influenced by extremely large or small values. It can be computed for ratio, interval, and ordinal-level data.

📝 For the weights of seven army recruits (180, 201, 220, 191, 219, 209, 186), the ordered data is 180, 186, 191, 201, 209, 219, 220. The median is the middle value, 201 pounds.

2.3 The Mode

The mode is the value that appears most frequently in a dataset. It is denoted by M.

  • A dataset can have no mode if all values occur with the same frequency.
  • A dataset can have more than one mode (bimodal, trimodal, etc.).

The mode can be found for all levels of data (nominal, ordinal, interval, and ratio) and is not affected by extreme values.

Cover

Chapter 3 - The Role of Statistics.pptx

Table of contents

  1. The role of statistics
  2. Epidemiology
  3. Lean six-sigma
  4. Three kinds of lies
  5. What is Statistics?
  6. Knowledge
  7. Dr. Don O’Donoghue World Famous Orthopedic Surgeon 1950-1980
  8. Finally
  9. Isaac Newton – Gave us the method of data analysis
  10. Causation and Correlation
  11. Types of Statistics
  12. What is Sampling?
  13. Types of Samples
  14. When collecting data, it is grouped into four types:
  15. Probability
  16. Probability Distributions
  17. Summary

1. The role of statistics

1.1 Introduction

Healthcare professionals gather vast amounts of data, exceeding that of most other industries. Statistics provides the essential tools to organize this data, identify meaningful relationships between variables, and move beyond raw numbers to understand their implications.

This analytical process is crucial for improving healthcare outcomes.

1.2 Organizing data and identifying relationships

The primary role of statistics is to help us understand how the world operates. It achieves this by providing methods for organizing collected data and identifying relationships between different variables.

This allows for a more structured and insightful interpretation of information.

1.3 Climate change example

Statistics can be used to interpret complex phenomena, such as climate change. For instance, by analyzing historical temperature data, it can be statistically determined that a particular summer was the hottest recorded since a specific past event, like the 1932 dust bowl.

This conclusion is reached by processing raw data through statistical analysis.

1.4 Moving beyond data for improved outcomes

Healthcare workers are tasked with not only collecting data but also understanding its deeper meaning. Statistics enables them to move beyond the raw numbers to interpret what the data represents.

This interpretation is vital for using the information effectively to improve patient care and overall healthcare outcomes.

2. Epidemiology

2.1 Definition

Epidemiology is a field that studies the distribution and determinants of health-related states or events in specified populations. It often employs statistical methods to analyze patterns of disease and health outcomes.

3. Lean six-sigma

3.1 Enhancing healthcare resource effectiveness

Lean Six Sigma is a methodology aimed at increasing the effectiveness of healthcare resources. It focuses on improving processes and reducing waste to achieve better outcomes.

3.2 Key questions for healthcare practice

To enhance healthcare resource effectiveness, Lean Six Sigma seeks answers to several critical questions about healthcare practices. These questions guide the analysis and improvement efforts.

  • Treatment effectiveness: Which treatments are most effective for specific conditions and patients?
  • Provider effectiveness: Which providers are more effective, and what factors contribute to their success?
  • Efficiency: Which treatment plans and providers operate most efficiently?
  • Timeliness of care: Which treatment plans and providers deliver care more promptly?
  • Patient satisfaction: Which providers achieve the highest patient satisfaction, and what are the underlying reasons?
  • Employee morale: Which employees exhibit the highest morale, and what are the contributing factors?

4. Three kinds of lies

4.1 The adage "Lies, damned lies, and statistics"

The common adage "Lies, damned lies, and statistics" suggests that statistical information can be misleading or intentionally manipulated. This highlights the potential for statistics to be used to support false claims.

4.2 Ways statistics can be confusing

Statistical information can be confusing due to several factors that can obscure the truth or lead to misinterpretation. These issues require careful consideration when evaluating statistical claims.

  • Bias: Who is presenting the information, and do they have a vested interest?
  • Sampling: How was the data collected, and is the sample representative of the population?
  • Missing information: What is the margin of error, and what is the sample size?
  • Change in measure: Has the way data is measured changed over time?
  • Reasonableness: Does the conclusion logically follow from the data presented?

4.3 Impact of sample size and data

The size of the sample and the specific data collected can significantly influence the conclusions drawn from a statistical analysis. A small or unrepresentative sample can lead to inaccurate or misleading results.

Cover

Chapter 4 (part 3) - Measures of Skewness and Relative Position-4.pdf

Table of contents

  1. Normal distribution
  2. Positively skewed
  3. Negatively skewed
  4. Measures of relative position percentile rank

1. Normal distribution

1.1 Normal distribution

  • The normal distribution is a special type of symmetric distribution characterized by a bell shape.
  • It is symmetrical around the mean, meaning the mean, median, and mode are all equal.
  • The distribution has a single peak, making it unimodal 2 3.

2. Positively skewed

2.1 Positively skewed

  • A positively skewed distribution, also known as right-skewed, has a thin tail extending to the right of the curve 5.
  • In this type of distribution, most scores fall below the mean, indicating poorer performance 6.
  • The relationship between the measures of central tendency is typically: mean > median > mode 7 8.

This chart illustrates a positively skewed distribution, also known as right-skewed, showing the relative positions of the mode, median, and mean.

2.2 Possibilities for positive skewness

  • Several factors can contribute to a positively skewed distribution in test scores:
  • Ineffective teaching methods or instruction.
  • Students being unprepared for the test.
  • Test items being too difficult, suggesting the test might be a pre-test.
  • Insufficient time allocated to answer the test items 9.

3. Negatively skewed

3.1 Negatively skewed

  • A negatively skewed distribution, also known as left-skewed, has a thin tail extending to the left of the curve 10.
  • In this distribution, most scores are above the mean, suggesting good performance by the test-takers 11.
  • The typical relationship among the measures of central tendency is: mode > median > mean 12 13.

A chart illustrating a negatively skewed distribution, showing the relationship between mean, median, and mode.

3.2 Possibilities for negative skewness

  • Several factors can lead to a negatively skewed distribution in test scores:
  • Effective teaching methods and instruction.
  • Students being well-prepared for the test.
  • Test items being relatively easy, possibly indicating a post-test.
  • Ample time provided to answer the test items 14.

4. Measures of relative position percentile rank

4.1 Percentile rank

  • Percentile rank indicates the percentage of scores in a frequency distribution that are lower than a specific score.
  • It represents the percentage of examinees who achieved a score below the score of interest 16.

4.2 Example: Maria's score

  • Maria's raw score in English class was 82, which corresponds to the 90th percentile 17.
  • This means that 90% of Maria's classmates scored lower than 82 18.

📝 Maria's raw score of 82 in English class corresponds to the 90th percentile, meaning 90% of her classmates scored lower than 82 17 18.

4.3 Example: Jose's score

  • Jose's raw score in English class was 54, which corresponds to the 75th percentile.
  • This indicates that 75% of Jose's classmates scored lower than 54 16 17 18 19 20.
Cover

Chapter 4.pdf

Table of contents

  1. Objectives
  2. Basic Concepts: Random Experiments
  3. Event Operations and Venn Diagrams
  4. Probability
  5. Elementary Probability Rules
  6. Conditional Probability
  7. Independence

1. Objectives

This chapter aims to equip students with a foundational understanding of probability. Key learning objectives include grasping basic probability concepts and mastering the calculation and interpretation of conditional probabilities 3.

2. Basic Concepts: Random Experiments

A random experiment is a process with an uncertain outcome, where each repetition yields exactly one of the possible results. These results are known as experimental outcomes 5.

2.1 Sample Space

The sample space (S) is the collection of all possible experimental outcomes 6.

  • Fuse defect: S = {N, D} (N for Normal, D for Defective).
  • Student grade: S = {A, A−, B+, B, B−, C+, C, C−, D+, D, F}.
  • Customers served: S = {0, 1, 2, 3,...} 6.

2.2 Tree Diagram

A tree diagram visually represents multi-step experiments, helping to define the sample space and ensure all outcomes are accounted for without omission or repetition 7.

📝 For a fuse defect, the sample space is S = {N, D}, where N denotes Normal and D denotes Defective 6.

2.3 Events

An event is a subset of the sample space, comprising one or more sample space outcomes 8.

  • Rolling two dice:
  • Event A (sum is 2): A = {(1, 1)}.
  • Event B (same number on both dice): B = {(1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6)}.
  • Event C (absolute difference is 7): C = {} = ϕ 8.

2.4 Exercises

Describe the sample space for the following experiments:

  • The gender of the members of a committee of three members.
  • The number of people entering a store on a particular day.
  • The education level of a selected employee.
  • Two customers choose an ice cream flavor from vanilla, chocolate, or strawberry.
  • A student is randomly selected from a university with three colleges (Science, Business, Medicine), and their gender and college are recorded. Develop a tree diagram and describe the sample space 9.

3. Event Operations and Venn Diagrams

Event operations allow us to combine or modify events to describe new outcomes. These operations are often visualized using Venn diagrams 10.

3.1 Union

The union of two events A and B (denoted A∪B) is the event that includes all outcomes present in A, in B, or in both. It represents outcomes occurring in at least one of the events 10.

3.2 Intersection

The intersection of two events A and B (denoted A ∩B) is the event that includes only the outcomes common to both A and B 11.

📝 Event B (Both calls are inquiries): {II}. Ā (The first call is not a complaint): {CI, II} 14.

3.3 Complement

The complement of an event A (denoted Ā, A^c, or A') includes all outcomes in the sample space S that are not in A 12.

3.4 Mutually Exclusive Events

Two events, A and B, are mutually exclusive (or disjoint) if they share no common outcomes, meaning their intersection is the empty set (A ∩B = ϕ) 13.

3.5 Example: Customer Service Calls

A customer service center receives two calls, each categorized as a complaint (C) or an inquiry (I).

  • Sample Space: {CC, CI, IC, II}.
  • Event A (First call is a complaint): {CC, CI}.
  • Event B (Both calls are inquiries): {II}.
  • A ∩B: ϕ (The first call cannot be a complaint if both are inquiries).
  • A ∪B: {CC, CI, II} (The first call is a complaint, or both calls are inquiries).
  • Ā: {CI, II} (The first call is not a complaint) 14.

📝 Event A (First call is a complaint): {CC, CI}. A ∪B: {CC, CI, II} (The first call is a complaint, or both calls are inquiries) 14.

3.6 Exercises: Mutually Exclusive Events

Determine if the following events are mutually exclusive:

  • A survey asks if a ZU student owns a car, a bike, or both.
  • A package is delivered on Monday or Tuesday.
  • A product was classified as local or imported.
  • A product is rated as good, average, or poor 15.

4. Probability

Probability quantifies the likelihood of an experimental outcome occurring. It is a measure of chance 16.

4.1 Probability Axioms

For any experimental outcome E, its probability P(E) must satisfy:

  • Range: 0 ≤ P(E) ≤ 1.
  • Impossible Event: If E can never occur, P(E) = 0.
  • Certain Event: If E is certain to occur, P(E) = 1.
  • Total Probability: The sum of probabilities for all outcomes in the sample space equals 1 16.

4.2 Assigning Probabilities

There are three primary methods for assigning probabilities:

Cover

Chapter 4.pdf

📚 Chapter 4.pdf

Brief overview

This chapter introduces the fundamental concepts of random variables, essential for understanding probability and statistical modeling. It details the distinction between discrete and continuous variables, their respective probability functions, and methods for calculating key statistical measures like expected value and variance. Mastering these concepts is crucial for analyzing and interpreting data in various fields.

Key points

  • Overview of discrete random variables and their probability mass functions.
  • Calculation of expected value and variance for discrete variables.
  • Introduction to continuous random variables and essential integration rules.
  • Understanding probability density functions and calculating probabilities for continuous variables.
  • Determining the expected value and variance for continuous probability distributions.

1. Introduction to random variables

1.1 What is a random variable?

  • A random variable assigns a single numerical value to each outcome of a random experiment.
  • These values are numbers, not descriptions.
  • There are two main types: discrete and continuous.

📝 Example: Tossing a coin twice. Let X be the number of heads. X can be 0, 1, or 2.

1.2 Discrete random variables

  • A discrete random variable can only take on a countable number of values.
  • These variables usually come from counting things.

📝 Example: The number of seizures a patient has in a week (0, 1, 2, ...). 📝 Example: The number of voters favoring a policy in a sample of 500 (0, 1, ..., 500).

1.2.1 Probability distribution

  • A probability distribution lists all possible values of a discrete random variable.
  • It also shows the probability for each of these values.
Number of vehicles (X)Frequency
012
158
230

📝 Example: For 100 families, X=0 (0 vehicles) has a probability of 12/100 = 0.12.

1.2.2 Probability mass function (PMF)

  • The Probability Mass Function (PMF) is denoted as P(X=x)P(X=x).
  • It gives the exact probability that the random variable X equals a specific value xx.

📝 Example: If X is the number of red balls drawn, P(X=1)P(X=1) is the probability of drawing exactly one red ball.

1.2.3 Properties of discrete probability distributions

  • Probability range: Each probability P(X=x)P(X=x) must be between 0 and 1 (0≤P(X=x)≤10 \le P(X=x) \le 1).
  • Total probability: The sum of all probabilities for all possible values of X must equal 1 (∑P(X=x)=1\sum P(X=x) = 1).

🔑 Important: Probabilities cannot be negative or greater than 1. The sum of all possible outcomes must be 1.

1.3 Constructing probability distribution tables

  • Probability distributions summarize possible values and their chances.
  • They are often shown in tables for clarity.

📝 Example: Two balls drawn without replacement from a bag with 4 red and 3 white balls. Let X be the number of red balls. Possible values for X are 0, 1, or 2.

Number of red balls (X)P(X=x)P(X=x)
01/7
14/7
22/7

Quick check: 1/7+4/7+2/7=7/7=11/7 + 4/7 + 2/7 = 7/7 = 1. The probabilities sum to 1.

1.4 Using the PMF for events

  • The PMF helps calculate probabilities for various events.
  • These events are often described using inequalities.

Inequality terms:

  • <: Less than, fewer than, smaller than, below
  • ≤≤: Less than or equal, no more than, at most, maximum, not greater than
  • >: More than, exceeds, larger than, above
  • ≥≥: More than or equal, no less than, at least, minimum, not smaller than

📝 Example: X has a PMF where P(X=x)=0.1P(X=x) = 0.1 for x∈{2,4,6,8}x \in \{2, 4, 6, 8\} and P(X=x)=0.2P(X=x) = 0.2 for x∈{1,3,5}x \in \{1, 3, 5\}. Otherwise, P(X=x)=0P(X=x) = 0.

  • P(X=4)P(X=4) is 0.10.1.
  • P(X<4)=P(X=1)+P(X=2)+P(X=3)=0.2+0.1+0.2=0.5P(X < 4) = P(X=1) + P(X=2) + P(X=3) = 0.2 + 0.1 + 0.2 = 0.5.
  • P(3≤X<6)=P(X=3)+P(X=4)+P(X=5)=0.2+0.1+0.2=0.5P(3 \le X < 6) = P(X=3) + P(X=4) + P(X=5) = 0.2 + 0.1 + 0.2 = 0.5.

📝 Example: A machine has weekly breakdowns with probabilities:

Breakdowns (x)P(X=x)P(X=x)
00.05
10.12
20.22
30.30
40.15
50.16
  • Probability of exactly 1 breakdown: P(X=1)=0.12P(X=1) = 0.12.
  • Probability of 0 to 2 breakdowns (inclusive): P(0≤X≤2)=P(X=0)+P(X=1)+P(X=2)=0.05+0.12+0.22=0.39P(0 \le X \le 2) = P(X=0) + P(X=1) + P(X=2) = 0.05 + 0.12 + 0.22 = 0.39.
Cover

Chapter 6 - Descriptive Statistics.pdf

Table of contents

  1. Chapter 6: Descriptive Statistics
  2. Lets look at some Data…
  3. Frequency Distributions
  4. Plots and Diagrams

1. Chapter 6: Descriptive Statistics

1.1 Summary statistics

Descriptive statistics are used to summarize and describe the main features of a dataset. This involves measures of central tendency, which indicate the typical value in a dataset, and measures of variability, which describe the spread or dispersion of the data 4.

  • Central tendency measures describe the center of a dataset.
  • Variability measures describe the spread or dispersion of data points 4.

1.2 Sample mean

The sample mean is a measure of central tendency calculated by summing all observations in a sample and dividing by the number of observations 5.

The formula for calculating the sample mean is shown, which involves summing all observations and dividing by the number of observations.

  • Calculation: The sample mean, denoted by xˉ\bar{x}, is computed as xˉ=∑i=1nxin\bar{x} = \frac{\sum_{i=1}^{n} x_i}{n}, where xix_i represents each observation and nn is the total number of observations 5.

📝 For a sample of 8 prototype units with pull-off forces measured in pounds: 12.6, 12.9, 13.4, 12.3, 13.6, 13.5, 12.6, 13.1, the sample mean is calculated as follows: xˉ=12.6+12.9+13.4+12.3+13.6+13.5+12.6+13.18=13.0\bar{x} = \frac{12.6 + 12.9 + 13.4 + 12.3 + 13.6 + 13.5 + 12.6 + 13.1}{8} = 13.0 lbs 6.

1.3 Example: Mean

For a sample of 8 prototype units with pull-off forces measured in pounds: 12.6, 12.9, 13.4, 12.3, 13.6, 13.5, 12.6, 13.1, the sample mean is calculated as follows: xˉ=12.6+12.9+13.4+12.3+13.6+13.5+12.6+13.18=13.0\bar{x} = \frac{12.6 + 12.9 + 13.4 + 12.3 + 13.6 + 13.5 + 12.6 + 13.1}{8} = 13.0 lbs 6.

1.4 Sample variance

The sample variance quantifies the average squared deviation of each data point from the sample mean. It is a measure of the spread of the data 7.

The formula for sample variance shows the sum of squared differences from the mean divided by n-1.

  • Calculation: The sample variance, denoted by s2s^2, is computed as s2=∑i=1n(xi−xˉ)2n−1s^2 = \frac{\sum_{i=1}^{n} (x_i - \bar{x})^2}{n-1} 7.
  • Interpretation: A larger variance indicates greater dispersion of data points around the mean 8.

A diagram illustrating the concept of variance with data points plotted on a number line and showing various distances from the mean.

1.5 Sample Variance vs. Population Variance

While sample variance uses n−1n-1 in the denominator to estimate the population variance from a sample, population variance uses NN (the total population size) and the population mean μ\mu. The n−1n-1 denominator in sample variance provides an unbiased estimate of the population variance 9.

StatisticFormulaDenominator
Sample variances2=∑i=1n(xi−xˉ)2n−1s^2 = \frac{\sum_{i=1}^{n} (x_i - \bar{x})^2}{n-1}n−1n-1
Population varianceσ2=∑i=1N(xi−μ)2N\sigma^2 = \frac{\sum_{i=1}^{N} (x_i - \mu)^2}{N}NN

1.6 Example: Variance

For the prototype units example, with a sample mean xˉ=13.0\bar{x} = 13.0 lbs, the sample variance is calculated as: s2=(−0.4)2+(−0.1)2+(0.4)2+(−0.7)2+(0.6)2+(0.5)2+(−0.4)2+(0.1)28−1=1.67≈0.2286s^2 = \frac{(-0.4)^2 + (-0.1)^2 + (0.4)^2 + (-0.7)^2 + (0.6)^2 + (0.5)^2 + (-0.4)^2 + (0.1)^2}{8-1} = \frac{1.6}{7} \approx 0.2286 lbs2^2 8.

1.7 Degrees of freedom

Degrees of freedom refer to the number of independent pieces of information available to estimate a parameter. For sample variance, there are n−1n-1 degrees of freedom because once n−1n-1 deviations from the mean are known, the nnth deviation is fixed to ensure the sum of deviations is zero 10.

1.8 Sample median

The sample median is another measure of central tendency that represents the middle value of a dataset when ordered from smallest to largest 11.

  • Calculation for odd nn: The median is the value at position n+12\frac{n+1}{2}.
  • Calculation for even nn: The median is the average of the values at positions n2\frac{n}{2} and n2+1\frac{n}{2}+1 11.

1.9 Example: Median

For the ordered pull-off forces (12.3, 12.6, 12.6, 12.9, 13.1, 13.4, 13.5, 13.6), with n=8n=8 (even), the median is the average of the values at positions 4 and 5: Median = 12.9+13.12=13.0\frac{12.9 + 13.1}{2} = 13.0 lbs 13.

1.10 Samp

Cover

Chapter 7 handout #1 (probability).docx

📚 Chapter 7 handout #1 (probability).docx

Brief overview

This document introduces fundamental concepts of probability, primarily using examples from card games. It then expands to explore probability in statistical sampling and its relationship with the normal distribution, providing a foundation for data analysis.

Key points

  • Basic probability calculations using a standard deck of playing cards.
  • Probability scenarios involving drawing cards with and without replacement.
  • The relationship between probability and the normal distribution.
  • Calculations for proportions of the normal distribution corresponding to z-scores.
  • Applications of probability to real-world data.

1. Basic probability with playing cards

1.1 Probability with a standard deck

A standard deck has 52 cards. It contains four suits: hearts, diamonds, clubs, and spades.

Hearts and diamonds are red. Clubs and spades are black.

Each suit has 13 ranks: Ace, 2, 3, 4, 5, 6, 7, 8, 9, 10, Jack, Queen, King.

Here are common probability calculations for drawing one card from a standard deck:

EventFormulaProbability
Drawing a red cardNumber of red cardsTotal cards\frac{\text{Number of red cards}}{\text{Total cards}}2652=12\frac{26}{52} = \frac{1}{2}
Drawing a heartNumber of heartsTotal cards\frac{\text{Number of hearts}}{\text{Total cards}}1352=14\frac{13}{52} = \frac{1}{4}
Drawing a 4Number of 4sTotal cards\frac{\text{Number of 4s}}{\text{Total cards}}452=113\frac{4}{52} = \frac{1}{13}
Drawing a red 4Number of red 4sTotal cards\frac{\text{Number of red 4s}}{\text{Total cards}}252=126\frac{2}{52} = \frac{1}{26}
Drawing the 4 of heartsNumber of 4 of heartsTotal cards\frac{\text{Number of 4 of hearts}}{\text{Total cards}}152\frac{1}{52}

1.2 Probability with a modified deck

Sometimes, probability problems use a deck with only specific cards. This changes the total number of cards.

Consider a deck made of only all the Aces from a standard deck:

EventFormulaProbability
Drawing a KingNumber of kingsTotal cards\frac{\text{Number of kings}}{\text{Total cards}}04=0\frac{0}{4} = 0
Drawing an AceNumber of acesTotal cards\frac{\text{Number of aces}}{\text{Total cards}}44=1\frac{4}{4} = 1

1.3 Sampling without replacement

Sampling without replacement means you draw a card and do not put it back. This reduces the total number of cards for subsequent draws.

  • First draw: The probability of drawing the Queen of Spades is 152\frac{1}{52}.
  • Second draw (without replacement): If the Queen of Spades was not drawn first, the probability of drawing it second is 151\frac{1}{51}.
  • Second draw (with replacement): If the first card is replaced, the probability remains 152\frac{1}{52}.

🔑 Important: Probability depends on the number of favorable outcomes divided by the total possible outcomes. Always note the total number of items in the sample space.

2. Probability with random sampling

2.1 Probability with card sampling

This section covers basic probability using a standard deck of cards. A standard deck has 52 cards, with 26 red and 26 black.

It also has four suits: hearts, diamonds, clubs, and spades, with 13 cards each. Hearts and diamonds are red; clubs and spades are black.

Calculations depend on whether sampling is done with or without replacement.

  • Without replacement: Cards are not returned to the deck after drawing. This changes the total number of cards and the number of favorable outcomes for subsequent draws.
  • With replacement: Cards are returned to the deck after drawing. The probabilities for each draw remain the same.

📝 Example: Probability of drawing a red card from a standard deck. There are 26 red cards out of 52 total cards. P(red)=2652=0.5P(\text{red}) = \frac{26}{52} = 0.5

📝 Example: Probability of drawing a 4 from a standard deck. There are four 4s (one of each suit) out of 52 cards.