Course Outline

Table of contents

  1. Course Outline
  2. Introduction and Descriptive Statistics
  3. Data and Variables
  4. Organize and Visualize
  5. Center and Position
  6. Variation and Decision Making
  7. เปลี6ยนผลวิเคราะห์ให้เป็นข้อเสนอแนะ
  8. Probability Foundations
  9. Probability Rules
  10. Conditional Probability and Bayes' Theorem
  11. Expected Value and Discrete Distributions
  12. Normal Distribution and Z-scores
  13. Synthesis and Assignment
  14. Post-test
  15. อธิบายตัวอย่าง: x̄, s², s ค่าสถิติจากตัวอย่างใช้ประมาณพารามิเตอร์ที1ไม่ทราบค่า
  16. เลือกMean, Median หรือMode
  17. เหตุใดความแปรปรวนตัวอย่างหารด้วยn − 1
  18. Sample SD: สาขาA เทียบกับสาขาB
  19. Appendix: Chart selection matrix
  20. When not to use a pie chart

1. Course Outline

1.1 Course Description

This course provides an overview of business statistics, covering foundational concepts from data collection to inferential statistics and their application in business decision-making. It includes probability theory, random variables, probability distributions, sampling, estimation, hypothesis testing, analysis of variance, correlation, and regression, utilizing computer software for analysis 2.

1.2 Course Credits and Instructor

  • Credits: 3 (3-0-6).
  • Instructor: Assistant Professor Akekarin Yonrabil.
  • Email: akekarin@tbs.tu.ac.th.
  • Sections:
  • Sec. 7801: Wednesdays 09:30-12:30, Room PB. 207.
  • Sec. 8701: Fridays 09:30-12:30, Room PB. 207.
  • Contact Hours: 45 lecture hours per semester.
  • Self-Study Hours: 90 hours per semester 2.

📝 The course is worth 3 credits (3-0-6) and will be taught by Assistant Professor Akekarin Yonrabil.

1.3 Learning Outcomes (CLOs)

Upon completion of this course, students will be able to:

  • Understand the fundamentals of business administration in various aspects.
  • Analyze data using appropriate descriptive and inferential statistical tools.
  • Apply mathematical, statistical, and quantitative analysis principles to business and daily life decisions 2.

1.4 Course Roadmap

The course is structured into weekly modules covering key statistical concepts:

  • Weeks 1-3: Data analysis and its use in decision-making, including the meaning of statistics, the DCOVA framework, measures of central tendency, and dispersion, with case studies.
  • Week 4: Basic probability theory, including methods of finding probability, the addition rule, and the multiplication rule.
  • Weeks 5-6: Probability distributions, including binomial, Poisson, and normal distributions.
  • Week 7: Sampling, informal estimation, sampling distributions of the mean, and the normal distribution.
  • Week 8: Estimation of population parameters, including point and interval estimation.
  • Weeks 9-10: Statistical hypothesis testing for a single population parameter.
  • Weeks 11-12: Statistical hypothesis testing for two population parameters.
  • Week 13: Analysis of Variance (ANOVA).
  • Week 14: Chi-square tests.
  • Week 15: Correlation and regression analysis 2.

1.5 Assessment

  • Assignments and Quizzes: 15%.
  • Midterm Exam: 30% (September 27, 2569 | 12:00-14:30).
  • Final Exam: 55% (December 1, 2569 | 13:00-16:00) 2.

📝 Assignments and quizzes contribute 15% to the final grade, the midterm exam is 30%, and the final exam is 55%.

1.6 Learning Format

  • Lectures.
  • Slides and exercises.
  • Understanding review activities.
  • Data analysis practice with computer programs.
  • Application of statistics for business decision-making 2.

1.7 Resources

  • Book: "สถิติง่ายนิดเดียวตอนที่ 1: ทำให้ข้อมูลพูด" (Single-Concept Statistics Part 1: Making Data Speak).
  • Page: "สถิติง่ายนิดเดียว by AjarnAke" on Facebook.
  • Link: facebook.com/profile.php?id=61583511763353.
  • Key Reference Materials:
  • Moore, R. S., Craig, B. A., & McCabe, G. P. Introduction to the Practice of Statistics, 9th ed., 2017.
  • W. R. R., De V. & P. P. Velleman. Business Statistics, 2021.
  • Field, A. Discovering Statistics Using IBM SPSS Statistics, 3rd ed., 2011.
  • Assoc. Prof. Srifeen Thapsamaneecha. Business Statistics: Problems and Solutions, 2547 2.

2. Introduction and Descriptive Statistics

2.1 The DCOVA Framework: Transforming Data into Answers

The DCOVA framework guides the process of transforming data into actionable answers and decisions. It involves defining the problem, collecting relevant data, organizing it, visualizing it, and finally, analyzing it to draw conclusions 4.

  • D - Define: Formulate the question or problem you need to address.
  • C - Collect: Gather the necessary data, ensuring its reliability and relevance.
  • O - Organize: Structure and arrange the collected data for easier understanding.
  • V - Visualize: Use tables and graphs to present the data in a visually comprehensible format.
  • A - Analyze: Interpret the organized and visualized data to make informed decisions 4.

2.2 Pre-Test

A 20-question pre-test is provided to assess prior knowledge and track learning progress throughout the course. It covers foundational concepts, data types, organization, visualization, measures of central tendency, position, and variation 5.

📝 A manager summarizes the delivery time for 500 completed orders without referring to other orders. This is Descriptive Statistics because it describes what happened within the observed set of 500 orders, not generalizing to all possible orders 6.

2.3 Understanding the Role of Statistics

Statistics is a systematic process for collecting, organizing, presenting, analyzing, and interpreting data to support better decision-making. It helps managers understand patterns, compare scenarios, and make informed choices based on evidence rather than intuition 20.

  • Descriptive Statistics: Summarizes observed data, answering "What happened in this dataset?" For example, stating that 500 orders had an average delivery time of 24 minutes.
  • Inferential Statistics: Uses sample data to learn about a population, answering "How far can we generalize?" For example, using 500 orders to estimate the delivery time for all orders 21.

2.4 Population, Sample, Parameter, and Statistic

Understanding these terms is crucial for selecting the correct statistical formulas and interpretations 22.

TermDefinitionExample
PopulationThe entire group of interest.All 10,000 customers.
SampleA subset of the population.200 randomly selected customers.
ParameterA value describing the population (e.g., μ, σ).The average purchase amount for all 10,000 customers.
StatisticA value calculated from the sample (e.g., x̄, s).The average purchase amount from 200 customers.

📝 All 10,000 customers is the Population, and 200 randomly selected customers is the Sample 7.

2.5 The Importance of Context in Data Interpretation

A single number, like an average rating, can be misleading without considering its context. It's essential to look at the number of data points (the base) and the source of the data to understand its reliability and representativeness 23.

  • Key Principle: A single number provides only one perspective; always consider the "value + base + context" together.
  • Critical Questions: Before using a single number for decisions, ask at least three additional questions about its origin and scope 23.

2.6 Descriptive Statistics for Pattern Recognition

Descriptive statistics helps reveal patterns in raw data, making it easier to understand and act upon 24.

  1. Sorting: Arranges data from lowest to highest, highlighting potential outliers and the data range.
  2. Visualization: Creates visual representations to show data shape and distribution.
  3. Summarization: Describes central tendency and variability within the data.
  4. Decision Linkage: Identifies areas for improvement based on the data insights 24.

2.7 Inferential Statistics for Decision-Making Under Uncertainty

Inferential statistics allows for making conclusions about a larger population based on a smaller sample, acknowledging and quantifying the uncertainty involved 25.

  • Application: Used for testing new features with a subset of users to estimate their impact on the entire user base.
  • Benefits: Reduces costs associated with testing on the entire population.
  • Consideration: Requires careful measurement and clear communication of the associated uncertainty 25.

2.8 Exit Ticket 1: Foundations

  1. When does a conclusion from a sample become Inferential Statistics? When the sample data is used to make generalizations or draw conclusions about a larger population.
  2. Is summarizing 500 completed orders Descriptive or Inferential? Why? Descriptive, because it describes what happened within the observed set of 500 orders, not generalizing to all possible orders.
  3. Provide one example each of a Population and a Sample from an E-commerce business.
  • Population: All customers who have made a purchase.
  • Sample: Customers who have shown interest in purchasing within a short period.
  1. Is the average of all customers a Parameter or a Statistic? What about the average from 200 customers? The average of all customers is a Parameter. The average from 200 customers is a Statistic.
  2. Which part of decision-making does statistics help with, and which part still requires Management Judgment? Statistics helps transform raw data into information. Management Judgment is used to select the appropriate course of action based on this information 26.

3. Data and Variables

3.1 Classifying Variables in E-commerce Orders

Each order can generate data across multiple variables, requiring careful classification to determine appropriate analytical methods and visualizations 27.

  • Payment Method: Qualitative.
  • Number of Items: Quantitative, Discrete.
  • Delivery Time: Quantitative, Continuous.
  • Customer Rating (1-5): Qualitative, Ordinal.
  • Order Value: Quantitative, Ratio 27.

3.2 Qualitative vs. Quantitative Data

The fundamental distinction between data types dictates the types of analysis and summary measures that can be meaningfully applied 28.

  • Qualitative Data: Represents names or categories.
  • Examples: Payment method, country, product type.
  • Summarized by: Counts, percentages, mode.
  • Quantitative Data: Represents numerical values indicating quantity or amount.
  • Examples: Order value, number of items, delivery time.
  • Summarized by: Mean, median, standard deviation.
  • Note: Numerical codes (e.g., branch ID 1, 2, 3) are often qualitative, serving as labels rather than quantities 28.

📝 Qualitative data represents names or categories, such as payment method (QR, Card, Wallet), while quantitative data represents numerical values indicating quantity or amount, like order value 28.

3.3 Discrete vs. Continuous Data

This classification further refines quantitative data based on how values are obtained 29.

  • Discrete Data: Obtained by counting; values are distinct and often whole numbers, with gaps between possible values.
  • Example: Number of items in an order (0, 1, 2,...).
  • Continuous Data: Obtained by measuring; values can fall anywhere within a range and may include decimals.
  • Example: Delivery time (23.7 minutes) 29.

📝 Discrete data is obtained by counting, like the number of items in an order (0, 1, 2,...), whereas continuous data is obtained by measuring and can fall anywhere within a range, such as delivery time (23.7 minutes) 29.

3.4 Levels of Measurement

The level of measurement determines the mathematical operations and statistical analyses that are appropriate and meaningful 30.

LevelWhat is PreservedBusiness ExampleAnalysis Possibilities
NominalDistinction between groupsPayment Method (QR, Card, Wallet)Counts, Percentages, Mode
OrdinalOrder or rankCustomer Rating (1-5)Median, Percentiles, Mode
IntervalEqual intervalsTemperature (°C)Mean, Median, Mode, Standard Deviation (no meaningful ratio)
RatioEqual intervals + true zeroOrder Value (THB), Delivery Time (min)All arithmetic operations, meaningful ratios.
  • Key Question for Ratio vs. Interval: Does a value of zero truly mean the absence of the quantity being measured 32?

3.5 Classification of E-commerce Order Variables

Classifying variables correctly is essential for choosing the right analytical tools and visualizations 33.

VariableTypeMeasurement LevelSummary/Chart
Payment MethodQualitativeNominalCounts, Percentages, Mode, Bar Chart
Number of ItemsQuantitativeDiscrete, RatioMean, Median, Mode, Standard Deviation, Histogram
Delivery Time (min)QuantitativeContinuous, RatioMean, Median, Mode, Standard Deviation, Histogram
Customer Rating (1-5)QualitativeOrdinalMedian, Percentiles, Mode, Bar Chart
Order Value (THB)QuantitativeContinuous, RatioMean, Median, Mode, Standard Deviation, Histogram
Order IDQualitativeNominalCounts, Percentages, Mode
Delivery StatusQualitativeNominalCounts, Percentages, Mode
Customer AgeQuantitativeContinuous, RatioMean, Median, Mode, Standard Deviation, Histogram
Discount Rate (%)QuantitativeContinuous, RatioMean, Median, Mode, Standard Deviation, Histogram
Order Date & TimeQuantitativeContinuous, RatioTime Series Analysis, Line Chart

3.6 Understanding Data Sources

Data can be collected from internal or external sources, and can be primary (collected for the specific purpose) or secondary (collected by others) 35.

SourcePrimary DataSecondary Data
InternalCustomer surveys (newly collected)Transaction database (already recorded)
ExternalMarket interviews (newly collected)Industry reports (collected by others)

3.7 Data Quality Considerations

High-quality data is crucial for reliable analysis and decision-making. Key aspects include relevance, accuracy, timeliness, representativeness, and ethical considerations 36.

  • Relevance: Does the data help answer the decision-making question?
  • Accuracy: Was the data measured and recorded correctly?
  • Timeliness: Is the data recent enough for the decision?
  • Representativeness: Does the data include all relevant groups, or are some missing?
  • Ethics: Are privacy and consent respected 36?

3.8 The Impact of Non-Response and Selection Bias

When certain groups are excluded from data collection (e.g., customers who abandon carts, or those who don't respond to surveys), the resulting data may not accurately reflect the entire population 37.

  • Key Principle: Survey percentages reflect both opinions and the data collection process.
  • Consideration: If surveys are only sent to customers who complete a purchase, whose voices are missed 37?

3.9 Exit Ticket 2: Data & Variables

  1. Classify Customer Rating (1-5) and explain its Measurement Level.
  • Classification: Qualitative, Ordinal.
  • Explanation: It represents categories (ratings) with a natural order, but the intervals between ratings may not be equal, so arithmetic operations like averaging are not strictly meaningful.
  1. Classify Delivery Time recorded to 0.1 minutes.
  • Classification: Quantitative, Continuous, Ratio.
  • Explanation: It is measured on a continuous scale, can have decimal values, and has a true zero point (zero time means no delivery). 29 32.
  1. Why is Order ID, despite being a number, still a Nominal Variable?
  • Explanation: Order IDs are unique identifiers assigned to each order. They serve as labels and do not have a numerical order or quantitative value, making them nominal. 28 31.
  1. What evidence is suitable for the problem of Checkout Abandonment and why?
  • Evidence: Data on customers who abandon their carts, including their browsing behavior, items in the cart, and any reasons provided (if captured).
  • Reason: This data is primary and directly addresses the problem, allowing for analysis of potential causes like website usability issues, unexpected costs, or complex checkout processes 35.
  1. Provide one example of Response Bias or Non-response Bias and a method to reduce its risk.
  • Example (Non-response Bias): Sending surveys only to customers who completed a purchase. This misses the experiences of customers who abandoned their carts.
  • Reduction Method: Employ multiple survey channels (e.g., email, in-app pop-ups) and consider surveying customers at different stages of their journey, including those who did not complete a purchase, to capture a broader range of experiences 37.

4. Organize and Visualize

4.1 Organizing Raw Data

Raw data needs structure to reveal patterns and insights. This involves sorting, grouping, counting, comparing, and interpreting the information 39.

4.2 Sorting Data

Sorting raw data from lowest to highest is the first step in organizing it, making it easier to identify the range of values and spot potential outliers 40.

  • Example: Raw data: 24, 26, 24, 21, 27, 27, 30, 41, 32, 38. Sorted data: 21, 24, 24, 26, 27, 27, 30, 32, 38, 41.
  • Observation: The sorted data clearly shows the range (21-41) and highlights 41 as a potentially high outlier 40.

📝 Raw data: 24, 26, 24, 21, 27, 27, 30, 41, 32, 38. Sorted data: 21, 24, 24, 26, 27, 27, 30, 32, 38, 41. 40

4.3 Stem-and-Leaf Display

This method separates each data point into a "stem" (leading digit) and a "leaf" (trailing digit), preserving all original values while showing the data's shape 41.

  • Format: Stem | Leaf (e.g., 8 | 4 = 84).
  • Advantages: Shows data distribution and retains all individual data points.
  • Best for: Small to medium-sized datasets.
  • Requirement: A clear "key" must be provided (e.g., 8 | 4 = 84) 41.

4.4 Creating a Stem-and-Leaf Display

To construct a stem-and-leaf display, use the tens digit as the stem and the units digit as the leaf, arranging leaves in ascending order 42.

  • Data: Test scores: 78, 87, 89, 84, 84, 79, 68, 85, 74, 85, 76, 78, 88, 92, 86, 84, 88, 82, 69, 95.
  • Stem: Tens digit.
  • Leaf: Units digit.
  • Key: 8 | 4 = 84.
  • Analysis: Scores are clustered in the 80s, with potential outliers at the lower (68, 69) and higher (92, 95) ends 42.

📝 Test scores: 78, 87, 89, 84, 84, 79, 68, 85, 74, 85, 76, 78, 88, 92, 86, 84, 88, 82, 69, 95. The stem is the tens digit, and the leaf is the units digit. A key is provided: 8 | 4 = 84. 42

4.5 Frequency Distribution Table

This table summarizes data by grouping values into intervals (classes) and counting the frequency of data points within each interval 45.

  • Class Intervals: Must be non-overlapping, cover all data, and ideally be of equal width. The number of intervals should reveal the data's shape without being too granular.
  • Notation: Using "<" (e.g., 12.5–<17.5) prevents double-counting values that fall exactly on the boundary 44.
Delivery Time (min)Frequency (f)
7.5–<12.51
12.5–<17.512
17.5–<22.510
22.5–<27.55
27.5–<32.51
32.5–<37.51
Total30

4.6 Relative Frequency Distribution

This table shows the proportion and percentage of data points falling into each class interval, providing a standardized view of the distribution 46.

  • Calculation: Relative Frequency = Frequency / Total Number of Observations 47.
  • Interpretation: The sum of relative frequencies should be 1.0000 or 100% (allowing for minor rounding differences) 46.
Delivery Time (min)fProportionPercentage
7.5–<12.510.03333.33%
12.5–<17.5120.400040.00%
17.5–<22.5100.333333.33%
22.5–<27.550.166716.67%
27.5–<32.510.03333.33%
32.5–<37.510.03333.33%
Total301.0000100.00%

4.7 Histogram

A histogram visually represents the frequency distribution of continuous quantitative data 48.

  • Key Feature: Bars are contiguous (touching) because they represent continuous intervals on the x-axis.
  • Interpretation: Helps identify the shape of the distribution, central tendency, spread, and potential outliers.
  • Distinction: Unlike bar charts, histograms represent numerical intervals, not distinct categories 48.

4.8 Reading a Histogram

Analyze a histogram using four key questions 49:

  • Shape: Is it symmetric, skewed, or multimodal?

  • Center: Where is the data concentrated?

  • Spread: How wide is the range of the data?

  • Outliers: Are there any isolated bars or gaps 49?

  • Example Analysis: The delivery time histogram shows a unimodal, right-skewed distribution with most deliveries between 12.5 and 22.5 minutes, and some longer delivery times extending up to 33.8 minutes 49.

4.9 Choosing the Right Chart for Your Question

Selecting the appropriate chart type is crucial for effectively communicating data insights 51.

Chart TypeSuitable ForCautions
Line ChartTrends over time (sequential data)Avoid if the x-axis is not sequential; two points do not establish a trend.
Bar ChartComparing categoriesBars should have gaps; start the y-axis at 0 for accurate height comparisons.
HistogramDistribution of quantitative dataBars must be contiguous; represents continuous intervals.
Pie ChartParts of a whole (simple composition)Best for few categories; difficult to compare similar values; use bar charts for comparison.
Box-and-Whisker PlotCentral tendency, spread, and outliersRequires explanation of box and whiskers.

4.10 Line Chart for Time Series Data

Line charts are effective for visualizing trends and changes in data over sequential time periods 52.

  • Interpretation: The x-axis represents time, allowing for the observation of trends, fluctuations, and patterns.
  • Caution: Avoid selecting specific time frames that might selectively support a narrative; two data points do not constitute a long-term trend 52.

This line chart displays the average values of two categories, A and B, over five days.

4.11 Bar Chart for Category Comparison

Bar charts are used to compare distinct categories, with gaps between bars indicating that the categories are separate, not continuous 53.

  • Best Practices: Start the vertical axis (y-axis) at zero to ensure accurate visual comparison of bar heights. Sort bars from highest to lowest when emphasizing rank order 53.

Bar chart showing the proportion of different payment methods.

4.12 Pie Chart for Composition

Pie charts illustrate how a whole is divided into parts, with each slice representing a proportion of the total 54.

  • Guidelines: Categories should sum to 100%; avoid too many slices; label slices directly.
  • Alternative: For comparing values that are close in size, a bar chart is often easier to read 54.

A pie chart illustrating the breakdown of 100 orders by payment method.

4.13 Contingency Table for Two Categorical Variables

A contingency table (or cross-tabulation) displays the frequency distribution of two categorical variables simultaneously, showing relationships between them 55.

  • Example: Analyzing the relationship between membership status (Basic/Premium) and device used (Mobile/Desktop).
  • Insight: Premium members show a higher proportion (58%) of desktop usage compared to Basic members (36%).
  • Note: This table shows descriptive patterns; statistical significance testing is a separate step 55.

📝 Analyzing the relationship between membership status (Basic/Premium) and device used (Mobile/Desktop). Premium members show a higher proportion (58%) of desktop usage compared to Basic members (36%). 55

4.14 Row Percentages in Contingency Tables

Row percentages help understand the distribution of one variable across the categories of another variable within each row 56.

  • Calculation: Row % = (Cell Count / Row Total) * 100.
  • Example: For Premium members, 29 used Desktop out of 50 total Premium members, resulting in 58% desktop usage among Premium members 56.

4.15 Interpreting Numbers and Percentages Together

When presenting data, it's crucial to provide both absolute numbers and percentages to give a complete picture 57.

  • Numbers: Indicate the actual impact or volume of an event.
  • Percentages: Show the frequency relative to a base, providing context for comparison.
  • Caution: Small bases can make percentages seem disproportionately large (e.g., 50% from 2 people). Always report the base number alongside percentages for clarity and honesty 57.

4.16 Exit Ticket 3: Organize & Visualize

  1. What chart should be used to view the distribution of Delivery Time?
  • Answer: Histogram.
  • Reason: Histograms are designed to show the distribution of continuous quantitative data 48.
  1. What chart should be used to compare Payment Methods?
  • Answer: Bar Chart.
  • Reason: Bar charts are ideal for comparing distinct categories 53.
  1. What chart should be used to view Monthly Active Users and why?
  • Answer: Line Chart.
  • Reason: Line charts are used to show trends over time, which is appropriate for tracking monthly user activity 52.
  1. A frequency of 12 out of 30 values represents what Relative Frequency and Percent?
  • Relative Frequency: 12/30=0.400012 / 30 = 0.4000.
  • Percent: 0.4000×100=40%0.4000 \times 100 = 40\% 47.
  1. 29 out of 50 Premium members used Desktop. What is this Row Percentage and how is it interpreted?
  • Row Percentage: (29/50)×100=58%(29 / 50) \times 100 = 58\%.
  • Interpretation: This means 58% of Premium members use Desktop, which can be compared to the percentage of Desktop users among other membership tiers (e.g., Basic members). 55 56.

5. Center and Position

Measures of central tendency, such as the mean, median, and mode, describe the typical value in a dataset. The choice of which measure to use depends on the nature of the data and the question being asked, especially when outliers are present 59.

5.1 Population mean

The population mean (μ\mu) is the average of all values in a population. It is calculated by summing all the values in the population and dividing by the total number of values 60.

  • Formula: μ=∑xiN\mu = \frac{\sum x_i}{N} Where:

  • μ\mu is the population mean.

  • xix_i represents each individual value in the population.

  • NN is the total number of values in the population.

  • Use case: This is used when you have data for every member of the entire group you are interested in 60.

This diagram illustrates the calculation of the average salary of employees, showing the formula, the substitution of values, and the final result. 63.

5.2 Sample mean

The sample mean (xˉ\bar{x}) is the average of values in a sample, used to estimate the population mean. It is calculated by summing all the values in the sample and dividing by the number of values in the sample 62.

  • Formula: xˉ=∑xin\bar{x} = \frac{\sum x_i}{n} Where:

  • xˉ\bar{x} is the sample mean.

  • xix_i represents each individual value in the sample.

  • nn is the number of values in the sample.

  • Use case: This is used when you have data from a subset of a larger population and want to infer characteristics about the entire population 62.

📝 The sample mean (xˉ\bar{x}) is used to estimate the population mean. For example, if you have the bonus data for 9 employees, you can calculate the sample mean to estimate the average bonus for all employees 62.

5.3 Weighted mean

A weighted mean (xˉw\bar{x}_w) accounts for the varying importance or size of different data groups. It is calculated by multiplying each value by its corresponding weight, summing these products, and then dividing by the sum of the weights 64.

  • Formula: xˉw=∑(wixi)∑wi\bar{x}_w = \frac{\sum (w_i x_i)}{\sum w_i} Where:

  • xˉw\bar{x}_w is the weighted mean.

  • wiw_i is the weight of each data point.

  • xix_i is the value of each data point.

  • Use case: This is useful when different groups or categories within a dataset have different sizes or levels of importance, ensuring that larger or more significant groups have a greater influence on the average 64.

📝 If an app has 500 orders with an average of 820 baht, a website has 300 orders with an average of 950 baht, and a marketplace has 200 orders with an average of 680 baht, the weighted mean accounts for the different number of orders to find the overall average order value 65.

5.4 Median

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

It is less affected by extreme values (outliers) than the mean 67.

  • Calculation:
  1. Order the data from smallest to largest.
  2. If the number of data points (nn) is odd, the median is the value at position (n+1)/2(n+1)/2.
  3. If the number of data points (nn) is even, the median is the average of the values at positions n/2n/2 and (n/2)+1(n/2)+1 68.
  • Robustness: The median is robust to outliers, meaning extreme values have little impact on its value, making it a better measure of central tendency for skewed data 67.

5.5 Mode

The mode is the value that appears most frequently in a dataset. It is the only measure of central tendency that can be used with nominal (categorical) data 69.

  • Characteristics:
  • A dataset can have one mode (unimodal), more than one mode (multimodal), or no mode if all values appear with the same frequency.
  • It is particularly useful for identifying the most common category or item 69.

5.6 Comparing Measures of Center

The choice between mean, median, and mode depends on the question being asked and the characteristics of the data 71.

MeasureBest ForSensitivity to OutliersExample Question
MeanSymmetrical data, finding the balance pointHighWhat is the average cost per unit?
MedianSkewed data, finding the typical value for the majorityLowWhat is the typical rent for apartments in this area?
ModeCategorical data, finding the most frequent itemNoneWhat is the most popular product size to stock?

5.7 Quartiles

Quartiles divide a dataset, ordered from least to greatest, into four equal parts. Each quartile represents approximately 25% of the data 72.

  • Q1 (First Quartile): The median of the lower half of the data; approximately 25% of the data falls below Q1.
  • Q2 (Second Quartile): The median of the entire dataset.
  • Q3 (Third Quartile): The median of the upper half of the data; approximately 75% of the data falls below Q3 72.

5.8 Box-and-Whisker Plot

A box-and-whisker plot is a visual representation that summarizes a dataset using five key numbers: the minimum value, the first quartile (Q1), the median, the third quartile (Q3), and the maximum value 73.

  • Components:
  • The box represents the interquartile range (IQR), spanning from Q1 to Q3.
  • A line inside the box indicates the median.
  • Whiskers extend from the box to the minimum and maximum values (or to the outlier fences).
  • Purpose: It helps to visualize the center, spread, and potential outliers of a dataset 73.

5.9 Outlier Fences

Outlier fences are calculated to identify potential outliers in a dataset. Values falling outside these fences are flagged for further investigation 74.

  • Formulas:
  • Interquartile Range (IQR) = Q3 - Q1
  • Lower Fence (LF) = Q1 - 1.5 * IQR
  • Upper Fence (UF) = Q3 + 1.5 * IQR
  • Interpretation: These fences provide a guideline for identifying values that are unusually far from the central part of the data, but they do not automatically mean the data point should be removed 74.

6. Variation and Decision Making

Measures of variation quantify the spread or dispersion of data, providing crucial context to measures of central tendency. Understanding variation is essential for assessing risk, making informed decisions, and evaluating the consistency of processes 77.

6.1 Range

The range is the simplest measure of variation, calculated as the difference between the maximum and minimum values in a dataset 78.

  • Formula: Range = Maximum Value - Minimum Value
  • Sensitivity: It is highly sensitive to outliers, as a single extreme value can significantly inflate the range 78.

6.2 Interquartile Range (IQR)

The Interquartile Range (IQR) is the difference between the third quartile (Q3) and the first quartile (Q1). It represents the spread of the middle 50% of the data 78.

  • Formula: IQR = Q3 - Q1
  • Robustness: The IQR is less affected by outliers than the range because it only considers the middle portion of the data 78.

📝 For a dataset with Q1 = 21 and Q3 = 26, the IQR is calculated as Q3 - Q1 = 26 - 21 = 5 73.

6.3 Variance

Variance measures the average squared difference of each data point from the mean. It quantifies the overall spread of the data 80.

  • Population Variance (σ2\sigma^2): Used when data represents the entire population. σ2=∑(xi−μ)2N\sigma^2 = \frac{\sum (x_i - \mu)^2}{N}
  • Sample Variance (s2s^2): Used when data is a sample and is used to estimate population variance. The denominator is (n−1)(n-1) to provide an unbiased estimate. s2=∑(xi−xˉ)2n−1s^2 = \frac{\sum (x_i - \bar{x})^2}{n-1} 80.

6.4 Standard Deviation

The standard deviation is the square root of the variance. It is a more interpretable measure of dispersion because it is in the same units as the original data 80.

  • Population Standard Deviation (σ\sigma): σ=σ2\sigma = \sqrt{\sigma^2}
  • Sample Standard Deviation (ss): s=s2s = \sqrt{s^2}
  • Interpretation: A lower standard deviation indicates that data points are clustered closer to the mean, while a higher standard deviation indicates that data points are spread out over a wider range 82.

6.5 Coefficient of Variation (CV)

The Coefficient of Variation (CV) is a measure of relative variability, expressed as a percentage. It is calculated by dividing the standard deviation by the mean and multiplying by 100 86.

  • Formula: CV=(sxˉ)×100%CV = \left( \frac{s}{\bar{x}} \right) \times 100\%
  • Use case: It is useful for comparing the variability of datasets with different means or different units, as it standardizes the comparison 86.
  • Limitation: The CV is not suitable when the mean is zero or close to zero, as it can lead to division by zero or extremely large values. In such cases, the standard deviation is a better measure for comparison 88.

📝 To compare the variability of two datasets with different means, like sales in Bangkok (Mean = 1,000, SD = 120) and Singapore (Mean = 600, SD = 90), you would use the Coefficient of Variation: CV = (SD / Mean) * 100%. For Bangkok, CV = (120 / 1000) * 100% = 12%, and for Singapore, CV = (90 / 600) * 100% = 15% 86.

6.6 Comparing Variation

Different measures of variation offer distinct insights into data spread. The choice depends on the data's characteristics and the analytical goal 85.

MeasureWhat it MeasuresSensitivity to OutliersUse Case
RangeTotal spread from min to maxVery HighQuick overview of data extremes
IQRSpread of the middle 50% of dataLowRobust measure for skewed data
VarianceAverage squared deviation from the meanHighFoundation for other statistical measures
Standard DeviationAverage deviation from the mean (in original units)HighAssessing data spread and risk
Coefficient of VariationRelative spread compared to the meanHigh (indirectly)Comparing variability across datasets with different means

7. เปลี6ยนผลวิเคราะห์ให้เป็นข้อเสนอแนะ

Transforming analytical findings into actionable business recommendations requires a structured approach that bridges the gap between data insights and strategic decisions. This involves clearly communicating findings, understanding their business implications, and proposing concrete next steps 90.

7.1 From Analysis to Recommendation

Effective business recommendations are built upon a solid foundation of data analysis, moving from factual observations to actionable insights 91.

  • Facts: Objective statements derived directly from data (e.g., "Average wait time during evenings is 14 minutes").
  • Patterns: Observed trends or regularities in the data (e.g., "Evening wait times are higher than other periods").
  • Insights: The business meaning or implication of the patterns (e.g., "Customers after work may experience inconsistent service").
  • Causes: The underlying reasons for the patterns, which may require further investigation 91.

📝 Instead of stating "Online orders cause delays," suggest "Test increasing staff during peak hours (5-7 PM) for two weeks and monitor wait times."

7.2 Responsible Recommendations

Actionable recommendations should be grounded in the available evidence and acknowledge limitations 91.

  • Evidence-based actions: Propose steps that are directly supported by the data. For example, instead of stating "Online orders cause delays," suggest "Test increasing staff during peak hours (5-7 PM) for two weeks and monitor wait times."
  • Acknowledging uncertainty: It is important to state what is known, what is hypothesized, and what requires further data collection 91.

7.3 The One-Page Data Story

A structured approach to presenting data analysis can transform raw information into a compelling narrative that drives decision-making 92.

  • Key components:
  • Question: What business problem are you trying to solve?
  • Data: What data was collected, from whom, and when?
  • Evidence: Which tables, graphs, and statistics support your findings?
  • Pattern: What trends or relationships are evident in the data?
  • Insight: What is the business meaning of these patterns?
  • Action: What specific steps should be taken based on the insights?
  • Limitation: What questions remain unanswered by the current data?
  • Purpose: This framework ensures that analysis leads to concrete actions and clarifies what is still unknown 92.

A collection of various charts and graphs are displayed, including a bar chart, a line graph, and a pie chart, representing different types of data visualization. 93.

8. Probability Foundations

Probability provides a framework for quantifying uncertainty, enabling systematic decision-making in the face of unpredictable outcomes. It is the numerical language used to express the likelihood of events occurring 102.

8.1 The Role of Probability in Decision Making

Probability is a critical tool for transforming uncertainty into informed decisions by assessing potential outcomes, their likelihood, and their impact 103 107.

  • Decision Framework:
  1. Decision: What needs to be decided?
  2. Outcomes: What are the possible results of a decision?
  3. Probability: How likely is each outcome?
  4. Impact: What are the financial or other consequences of each outcome?
  5. Contingency Plan: What is the plan if the prediction is wrong?
  • Probability Mindset: This approach focuses on the quality of the decision-making process based on available evidence, probabilities, and contingency plans, rather than solely on the outcome of a single event 108.

8.2 Basic Probability Concepts 111

Probability is a value between 0 and 1, where 0 means an event is impossible and 1 means it is certain 110.

TermDefinitionExample
ProbabilityA value between 0 and 1 measuring the likelihood of an event.The chance of rain tomorrow.
Random ExperimentA process with known possible outcomes, but uncertain results for any single trial.Rolling a die.
OutcomeA single possible result of a random experiment.Rolling a 4 on a die.
Sample Space (S)The set of all possible outcomes of a random experiment.The set of all faces of a die: {1, 2, 3, 4, 5, 6}
EventA collection of outcomes that we are interested in.Rolling an even number: {2, 4, 6}
Complement (A')All outcomes that are not in event A.Rolling a number that is not even: {1, 3, 5}

📝 The set of all possible outcomes when rolling a die is {1, 2, 3, 4, 5, 6}. An example of an event is rolling an even number, which corresponds to the outcomes {2, 4, 6} 111.

8.3 Visualizing Probability

Various tools help structure probability problems and visualize relationships between events 115.

  • Listing Method: Suitable for problems with a small number of possible outcomes.
  • Venn Diagram: Illustrates the overlap (intersection) and union of events.
  • Tree Diagram: Shows sequential events and conditional probabilities, mapping out all possible paths 113.
  • Contingency Table: Organizes counts for two categorical variables, useful for calculating joint and conditional probabilities 116.

A contingency table showing the distribution of individuals by gender and age group. 116.

8.4 Methods of Determining Probability

Probabilities can be determined through three primary approaches: classical, empirical, and subjective 117.

MethodBasisFormulaExample
Classical ProbabilityEqually likely outcomes by designP(E) = (Favorable Outcomes) / (Total Outcomes)Probability of rolling a 3 on a fair die.
Empirical ProbabilityPast data or repeated experimentsP(E) = (Number of Occurrences) / (Total Observations)The observed frequency of a product defect.
Subjective ProbabilityPersonal judgment based on available evidenceBased on expert opinion and reasoningEstimating the likelihood of a new product's success.

8.5 Calculating Probabilities

Understanding how to calculate probabilities for different scenarios is fundamental to statistical analysis 118 119 120 121 122 123.

  • Simple Probability: The probability of a single event occurring.
  • Joint Probability: The probability of two or more events occurring together (e.g., P(A and B)).
  • Compound Probability: The probability of one event OR another event occurring (e.g., P(A or B)).
  • Conditional Probability: The probability of an event occurring given that another event has already occurred (e.g., P(A|B)).

This table defines different types of events in probability, including their symbols, meanings, and examples. 112.

This image contains handwritten notes and text related to a coin game activity, including calculations and expected value notation. 114.

9. Probability Rules

9.1 Introduction to Probability Concepts

This section introduces fundamental probability rules used to calculate the likelihood of events. Understanding how events relate to each other is crucial for applying the correct formulas.

Key relationships include mutually exclusive events, collectively exhaustive events, and independent events 125.

  • Mutually Exclusive Events: These events cannot occur at the same time. If event A occurs, event B cannot, and vice versa. The probability of their intersection is zero: P(A∩B)=0P(A \cap B) = 0.
  • Example: A single order cannot be paid for with cash and a credit card simultaneously.
  • Collectively Exhaustive Events: This set of events covers all possible outcomes in the sample space. If you have a set of collectively exhaustive events, at least one of them must occur.
  • Example: Deliveries can be categorized as Early, On Time, or Late. If a new category like "Cancelled" is added, the original set might no longer be collectively exhaustive.
  • Independent Events: The occurrence of one event does not affect the probability of another event occurring. Mathematically, if A and B are independent, then P(A∣B)=P(A)P(A|B) = P(A).
  • Example: The outcome of the first coin toss does not influence the outcome of the second coin toss 125.
  • Dependent Events: The occurrence of one event does affect the probability of another event.
  • Example: Drawing two balls from a bag without replacement; the probability of the second ball being a certain color depends on the color of the first ball drawn 126.

This visual presents three distinct categories of event relationships: Mutually Exclusive, Collectively Exhaustive, and Independent Events.

9.2 Complement Rule

The complement rule provides a simpler way to calculate the probability of an event by considering the probability of its opposite. The complement of an event A, denoted as A′A', represents all outcomes where A does not occur 127.

  • Formula: P(A′)=1−P(A)P(A') = 1 - P(A).
  • This rule is particularly useful when calculating the probability of "at least one" event occurring 127.

Example: A bank assesses that a borrower has an 8% chance of defaulting on a loan. To find the probability that a borrower does not default, you would use the complement rule: 1−0.08=0.921 - 0.08 = 0.92 127.

📝 A bank assesses that a borrower has an 8% chance of defaulting on a loan. To find the probability that a borrower does not default, you would use the complement rule: 1−0.08=0.921 - 0.08 = 0.92 127.

9.3 Addition Rule

The addition rule is used to calculate the probability of the union of two events, often expressed as "A or B" or P(A∪B)P(A \cup B). The formula used depends on whether the events are mutually exclusive 129.

  • Special Addition Rule: Used when events A and B are mutually exclusive (cannot occur together).
  • P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B).
  • General Addition Rule: Used when events A and B may overlap (can occur together). The probability of the intersection P(A∩B)P(A \cap B) is subtracted to avoid double-counting.
  • P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B) 129.

Example: A company reviews 500 deliveries. 90 were early, 340 were on time, and 70 were late.

Early and late deliveries are considered outside the service window. To find the probability of a delivery being outside the service window, you would add the probabilities of early and late deliveries: P(Early or Late)=P(Early)+P(Late)P(\text{Early or Late}) = P(\text{Early}) + P(\text{Late}) 130.

Try It in Class: A retailer receives 1,000 orders. 380 chose express delivery, and 260 purchased parcel insurance.

140 customers chose both services. Calculate the number of orders that used at least one of these services 131.

📝 A company reviews 500 deliveries. 90 were early, 340 were on time, and 70 were late. Early and late deliveries are considered outside the service window. To find the probability of a delivery being outside the service window, you would add the probabilities of early and late deliveries: P(Early or Late)=P(Early)+P(Late)P(\text{Early or Late}) = P(\text{Early}) + P(\text{Late}) 130.

9.4 Joint and Conditional Probability

These concepts are essential for understanding the probability of multiple events occurring together or the probability of an event given that another has already occurred 134.

  • Joint Probability: This is the probability that two or more events occur simultaneously. It is denoted as P(A∩B)P(A \cap B). The reference set for joint probability is the entire sample space.
  • Example: The probability of a student being both male and a Finance major.
  • Conditional Probability: This is the probability of event A occurring, given that event B has already occurred. It is denoted as P(A∣B)P(A|B). The reference set for conditional probability is reduced to the outcomes of event B.
  • Formula: P(A∣B)=P(A∩B)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)}.
  • Example: The probability of a student being an Accounting major, given that the student is male 134.

A contingency table is a useful tool for visualizing joint and conditional probabilities 135.

A contingency table showing the distribution of students by major and gender.

Activity: Using the provided contingency table for 800 business school students, calculate:

  1. The probability of selecting a male student who is an Accounting major.
  2. The probability that a student is an Accounting major, given that the student is male 135.

9.5 Multiplication Rule

The multiplication rule is used to calculate the probability of the intersection of two events, often expressed as "A and B" or P(A∩B)P(A \cap B). The formula depends on whether the events are independent 136.

  • Special Multiplication Rule: Used for independent events. The occurrence of one event does not affect the probability of the other.
  • P(A∩B)=P(A)×P(B)P(A \cap B) = P(A) \times P(B).
  • General Multiplication Rule: Used for dependent events. The occurrence of the first event affects the probability of the second event.
  • P(A∩B)=P(A)×P(B∣A)P(A \cap B) = P(A) \times P(B|A) 136.

Independence Check: Events A and B are independent if P(A∣B)=P(A)P(A|B) = P(A) or if P(A∩B)=P(A)P(B)P(A \cap B) = P(A)P(B). If either of these conditions holds true, the events are considered independent 137.

Example: An analyst estimates that Stock A has a 40% chance of increasing and Stock B has a 55% chance of increasing. Assuming their movements are independent, the probability that both stocks increase is P(A increases and B increases)=P(A increases)×P(B increases)P(\text{A increases and B increases}) = P(\text{A increases}) \times P(\text{B increases}) 138.

9.6 Sampling Without Replacement

When sampling without replacement, the probability of subsequent events changes because the items are not returned to the original set. This makes events dependent 139.

Example: A lot contains 20 items, 8 of which are defective. If an inspector randomly selects two items without replacement, the probability of the second item being defective depends on whether the first item selected was defective.

The production line stops if both selected items are defective. To calculate the probability of the line stopping, you would use the general multiplication rule: P(Defective1 and Defective2)=P(Defective1)×P(Defective2∣Defective1)P(\text{Defective}_1 \text{ and Defective}_2) = P(\text{Defective}_1) \times P(\text{Defective}_2 | \text{Defective}_1) 139.

This diagram shows the formula for calculating the probability of two events occurring, P(A and B), and its expansion using conditional probability.

9.7 Tree Diagrams

Tree diagrams are a visual tool for calculating probabilities, especially for sequential events. They help in breaking down complex probability problems into simpler steps 140.

  • How to Use:
  1. List events in chronological order.
  2. Assign probabilities to each branch.
  3. Multiply probabilities along each path to find joint probabilities.
  4. Add probabilities of paths that satisfy the condition to find the total probability for that outcome 140.

Example: Consider a lot of 20 items with 8 defective items. Two items are randomly selected without replacement.

  • P(Defective first)=820P(\text{Defective first}) = \frac{8}{20}.
  • P(Defective second | Defective first)=719P(\text{Defective second | Defective first}) = \frac{7}{19}.
  • P(Both defective)=P(Defective first)×P(Defective second | Defective first)=820×719=56380P(\text{Both defective}) = P(\text{Defective first}) \times P(\text{Defective second | Defective first}) = \frac{8}{20} \times \frac{7}{19} = \frac{56}{380}.
  • To find P(at least one defective)P(\text{at least one defective}), you would sum the probabilities of all paths that include at least one defective item 140.

A tree diagram illustrating probabilities of defective items in a lot.

9.8 Summary of Probability Rules 127 129 136

This table summarizes the key probability rules discussed.

RuleFormulaWhen to Use
Complement RuleP(A′)=1−P(A)P(A') = 1 - P(A)To find the probability of an event NOT happening.
Special Addition RuleP(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B)When events A and B are mutually exclusive.
General Addition RuleP(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B)When events A and B may overlap.
Special Multiplication RuleP(A∩B)=P(A)×P(B)P(A \cap B) = P(A) \times P(B)When events A and B are independent.
General Multiplication RuleP(A∩B)=P(A)×P(B∣A)P(A \cap B) = P(A) \times P(B\vert A)When events A and B are dependent.

9.9 Exit Ticket Exercises

The following exercises test understanding of the probability rules 141 142.

  • Exercise 1: A bank approves 82% of loan applications. Calculate the probability of an application not being approved and the expected number of rejected applications from 5,000.
  • Exercise 2: A retailer offers 42% standard delivery and 31% express delivery, with each order using only one method. Calculate the probability of an order using standard or express delivery.
  • Exercise 3: 58% of customers are loyalty members, 64% use an app, and 40% are both. Calculate the probability of a customer being a loyalty member or using the app, or both.
  • Exercise 4: Supplier A has a 92% on-time delivery rate, and Supplier B has an 88% on-time rate. Assuming their deliveries are independent, calculate the probability that both suppliers deliver on time.
  • Exercise 5: A safety system has three independent backup sensors, each with a 97% normal operation rate. Calculate the probability that at least one sensor fails 141.
  • Exercise 6: A sample box contains 7 premium and 5 standard items. Two items are randomly selected without replacement. Calculate the probability that both items are premium.
  • Exercise 7: Given P(A)=0.40P(A)=0.40, P(B)=0.50P(B)=0.50, and P(A∩B)=0.20P(A \cap B)=0.20, determine if events A and B are independent.
  • Exercise 8:
  • Scenario 1: Customers pay with cash 35% of the time or by credit card 45% of the time, with each purchase using only one method. Calculate the OR and AND probabilities and explain the difference between mutually exclusive and independent events.
  • Scenario 2: Opening an email is independent of making a purchase, with email open rates at 60% and purchase rates at 25%. Calculate the OR and AND probabilities.
  • Exercise 9: Payment types are QR (45%), bank transfer (35%), and COD (15%). Calculate the total percentage covered by these types and determine if these three payment methods are collectively exhaustive.
  • Exercise 10: A product passes QC with 90% probability. Of those passing QC, 95% pass packaging inspection. Calculate the probability of passing both and the expected count from a batch of 2,000 142.

10. Conditional Probability and Bayes' Theorem

10.1 Conditional Probability

Conditional probability quantifies the likelihood of an event occurring given that another event has already occurred. This concept is crucial for updating beliefs based on new evidence 143.

  • Conditional Probability: The probability of event A occurring given that event B has occurred, denoted as P(A∣B)P(A|B).
  • The formula for conditional probability is P(A∣B)=P(A∩B)P(B)P(A|B) = \frac{P(A \cap B)}{P(B)}, where P(A∩B)P(A \cap B) is the joint probability of A and B occurring.
  • If events A and B are independent, then P(A∣B)=P(A)P(A|B) = P(A) and P(B∣A)=P(B)P(B|A) = P(B) 151.

10.2 Bayes' Theorem

Bayes' Theorem provides a systematic way to update probabilities based on new evidence. It allows us to revise our initial beliefs (prior probabilities) to a new set of beliefs (posterior probabilities) by incorporating the likelihood of observing the evidence 143 146.

  • Prior Probability: The initial belief or probability of an event before considering new evidence.
  • Likelihood (Evidence): The probability of observing the new evidence given that a specific hypothesis is true147.
  • Posterior Probability: The updated probability of an event after considering the new evidence.
  • Bayes' Theorem does not create new evidence but systematically weighs existing information and new evidence 146.

The formula for Bayes' Theorem is: P(A∣B)=P(B∣A)×P(A)P(B)P(A|B) = \frac{P(B|A) \times P(A)}{P(B)} Where:

  • P(A∣B)P(A|B) is the posterior probability.
  • P(B∣A)P(B|A) is the likelihood.
  • P(A)P(A) is the prior probability.
  • P(B)P(B) is the overall probability of the evidence 147.

📝 If a system flags an item as fraudulent, and there were 1,000 items with 20 fraudulent and 980 non-fraudulent, with the system flagging 18 fraudulent items correctly and 49 non-fraudulent items incorrectly, the probability that a flagged item is actually fraudulent is 1867≈26.9%\frac{18}{67} \approx 26.9\% 144 145.

10.3 Applying Bayes' Theorem with Natural Frequencies

Using natural frequencies, such as counts of items, can make Bayes' Theorem more intuitive than working with percentages alone. This approach helps visualize how probabilities change with new information 144 145.

Consider a scenario with 1,000 items, where 20 are fraudulent and 980 are not. If a system correctly identifies 18 fraudulent items but incorrectly flags 49 non-fraudulent items, the probability that an item flagged as fraudulent is actually fraudulent can be calculated 144 145.

  • Total items: 1,000
  • Actual fraud: 20
  • No fraud: 980
  • Correctly flagged: 18
  • Incorrectly flagged: 49
  • Total flagged: 18 + 49 = 67

The probability that a flagged item is actually fraudulent is 1867≈26.9%\frac{18}{67} \approx 26.9\% 144 145.

10.4 Exercise: Machine Defect Probability

A company has two machines, A and B, producing items. Machine A produces 60% of the items with a 2% defect rate, while Machine B produces the remaining 40% with a 5% defect rate.

If a quality control finds one defective item, we can calculate the probability it came from Machine B 148.

  • Machine A: Produces 60% of items, 2% defect rate.
  • Machine B: Produces 40% of items, 5% defect rate.
  • Found defective item: 1

If only one machine can be inspected, it would be more efficient to inspect Machine B first, as it has a higher probability of being the source of the defect 148.

10.5 Exercise: Disease Screening Test

A health center screens 10,000 employees for a disease. 1% (100 employees) actually have the disease.

The test correctly identifies 98% of those with the disease (98 employees) and incorrectly identifies 4% of those without the disease (396 employees). If an employee tests positive, what is the probability they actually have the disease 149?

  • Total employees: 10,000
  • With disease: 100 (1%)
  • Without disease: 9,900 (99%)
  • Test positive (true positive): 98
  • Test positive (false positive): 396
  • Total positive tests: 98 + 396 = 494

This means that even with a positive test, there is only about a 16.5% chance of actually having the disease 144 145.

10.6 Exercise: Underfilled Bottles

A company's bottles are produced by Plant A (65% of production, 2% underfill rate) and Plant B (35% of production, 6% underfill rate). If one underfilled bottle is found, we can calculate the probability it was produced by Plant A 150.

  • Plant A: 65% of production, 2% underfill rate.
  • Plant B: 35% of production, 6% underfill rate.
  • Found underfilled bottle: 1

The probability that the underfilled bottle came from Plant A is approximately 38.2% 152.

10.7 Exercise: Supplier Audit 156

A company buys from three suppliers: A (China), B (Vietnam), and C (Mexico). Their volume shares and defect rates are:

SupplierVolume ShareDefect Rate
A (China)50%1.5%
B (Vietnam)30%2.0%
C (Mexico)20%3.5%

If a defective product is found, what is the probability it came from Supplier C 156?

  • Supplier A: P(A)=0.50P(A) = 0.50, P(D∣A)=0.015P(D|A) = 0.015
  • Supplier B: P(B)=0.30P(B) = 0.30, P(D∣B)=0.020P(D|B) = 0.020
  • Supplier C: P(C)=0.20P(C) = 0.20, P(D∣C)=0.035P(D|C) = 0.035

The probability of a defect coming from Supplier C is calculated as: P(C∣D)=P(C)×P(D∣C)P(A)×P(D∣A)+P(B)×P(D∣B)+P(C)×P(D∣C)P(C|D) = \frac{P(C) \times P(D|C)}{P(A) \times P(D|A) + P(B) \times P(D|B) + P(C) \times P(D|C)} P(C∣D)=0.20×0.035(0.50×0.015)+(0.30×0.020)+(0.20×0.035)P(C|D) = \frac{0.20 \times 0.035}{(0.50 \times 0.015) + (0.30 \times 0.020) + (0.20 \times 0.035)} P(C∣D)=0.0070.0075+0.006+0.007=0.0070.0205≈0.341P(C|D) = \frac{0.007}{0.0075 + 0.006 + 0.007} = \frac{0.007}{0.0205} \approx 0.341

Therefore, there is approximately a 34.1% chance the defective product came from Supplier C 156.

📝 For a company buying from three suppliers with different defect rates, if a defective product is found, the probability it came from Supplier C (20% volume share, 3.5% defect rate) is calculated using P(C∣D)=P(C)×P(D∣C)P(A)×P(D∣A)+P(B)×P(D∣B)+P(C)×P(D∣C)P(C|D) = \frac{P(C) \times P(D|C)}{P(A) \times P(D|A) + P(B) \times P(D|B) + P(C) \times P(D|C)}, resulting in approximately 34.1% 156.

10.8 Exercise: Weather Forecast Accuracy

A weather forecast predicts "no rain" for May, a month with a 65% chance of rain. The forecast is wrong 3% of the time when it actually rains (predicts "no rain" when it rains).

It correctly predicts "no rain" 95% of the time when it does not rain. If the forecast is "no rain," what is the probability that it will actually rain 157?

  • Event R: It rains. P(R)=0.65P(R) = 0.65.
  • Event R': It does not rain. P(R′)=1−0.65=0.35P(R') = 1 - 0.65 = 0.35.
  • Forecast F': Predicts "no rain".
  • Probability of predicting "no rain" when it rains: P(F′∣R)=0.03P(F'|R) = 0.03.
  • Probability of predicting "no rain" when it does not rain: P(F′∣R′)=0.95P(F'|R') = 0.95.

We want to find P(R∣F′)P(R|F'), the probability of rain given the forecast is "no rain." P(R∣F′)=P(F′∣R)×P(R)P(F′∣R)×P(R)+P(F′∣R′)×P(R′)P(R|F') = \frac{P(F'|R) \times P(R)}{P(F'|R) \times P(R) + P(F'|R') \times P(R')} P(R∣F′)=0.03×0.65(0.03×0.65)+(0.95×0.35)P(R|F') = \frac{0.03 \times 0.65}{(0.03 \times 0.65) + (0.95 \times 0.35)} P(R∣F′)=0.01950.0195+0.3325=0.01950.352≈0.055P(R|F') = \frac{0.0195}{0.0195 + 0.3325} = \frac{0.0195}{0.352} \approx 0.055

This indicates a 5.5% chance of rain despite the "no rain" forecast. This updated probability helps in decision-making, such as whether to rent a tent 157.

10.9 Exercise: Fraudulent Transactions

An online marketplace estimates that 1.5% of its transactions are fraudulent. The fraud detection system flags 92% of actual fraudulent transactions but also flags 2% of legitimate transactions.

If the system sends an alert, what is the probability that the transaction is actually fraudulent 158?

  • Let F be the event of a fraudulent transaction: P(F)=0.015P(F) = 0.015.
  • Let F' be the event of a legitimate transaction: P(F′)=1−0.015=0.985P(F') = 1 - 0.015 = 0.985.
  • Let A be the event of an alert:
  • Probability of alert given fraud: P(A∣F)=0.92P(A|F) = 0.92.
  • Probability of alert given no fraud: P(A∣F′)=0.02P(A|F') = 0.02.

We want to find P(F∣A)P(F|A). P(F∣A)=P(A∣F)×P(F)P(A∣F)×P(F)+P(A∣F′)×P(F′)P(F|A) = \frac{P(A|F) \times P(F)}{P(A|F) \times P(F) + P(A|F') \times P(F')} P(F∣A)=0.92×0.015(0.92×0.015)+(0.02×0.985)P(F|A) = \frac{0.92 \times 0.015}{(0.92 \times 0.015) + (0.02 \times 0.985)} P(F∣A)=0.01380.0138+0.0197=0.01380.0335≈0.412P(F|A) = \frac{0.0138}{0.0138 + 0.0197} = \frac{0.0138}{0.0335} \approx 0.412

If the system flags a transaction, there is approximately a 41.2% chance that it is actually fraudulent 158.

10.10 Exercises for Practice

The following exercises provide further opportunities to practice conditional probability and Bayes' Theorem.

  • Case 1: An electronics company has Line A producing 80% of items with a 1% defect rate, and Line B producing 20% with a 6% defect rate. Calculate the probability that a defective item comes from Line B and determine which line should be inspected first.
  • Case 2: A health center screens for a disease. Approximately 4% of the population has the disease. The test yields a positive result for 90% of those who have the disease and for 3% of those who do not. If an individual receives a positive test result, what is the probability they actually have the disease?
  • Case 3: An online marketplace estimates 1.5% of transactions are fraudulent. The detection system flags 92% of fraudulent transactions and 2% of legitimate ones. If the system flags a transaction, what is the probability that it is actually fraudulent? Should the company block the customer's account immediately or investigate further 158?

11. Expected Value and Discrete Distributions

11.1 Random Variables and Probability Distributions

A random variable is a variable that assigns a numerical value to the outcome of a random phenomenon. Random variables can be discrete, having countable values with gaps between them, or continuous, having measurable values on a continuous range.

A probability distribution outlines the possible values a random variable can take and their associated probabilities, adhering to three conditions: all possible values are listed, each probability is between 0 and 1, and the sum of all probabilities equals 1 162 163.

  • Discrete Random Variable: Takes on a finite or countably infinite number of values.
  • Examples include the number of heads in three coin flips, the number of customers making a purchase, or the number of complaints per day.
  • Continuous Random Variable: Takes on any value within a given range.
  • Examples include the time to deliver a product, the weight of a package, or an investment's rate of return 162.
  • Probability Distribution Conditions:
  • Lists all possible values the random variable can assume.
  • Assigns a probability between 0 and 1 to each value.
  • Ensures the sum of probabilities for all possible outcomes equals 1 163.

11.2 Expected Value

The expected value (E(X)) represents the long-run average outcome of a random variable if an experiment or situation is repeated many times. It is calculated as the sum of each possible outcome multiplied by its probability, serving as a weighted average where weights are probabilities 164 166.

  • Formula: E(X)=μ=∑[x×P(x)]E(X) = \mu = \sum [x \times P(x)].
  • Interpretation:
  • It is not the outcome of the next single event but a long-term average.
  • Useful for comparing different promotions, projects, or making risk-related decisions like insurance 166.
  • When comparing options with the same expected value, consider downside risk and worst-case scenarios 164 169.

📝 If a promotion has a 30% chance of a 30,000 THB profit, a 50% chance of a 10,000 THB profit, and a 20% chance of a 15,000 THB loss, the expected financial outcome is calculated as (0.30×30,000)+(0.50×10,000)+(0.20×−15,000)=11,000(0.30 \times 30,000) + (0.50 \times 10,000) + (0.20 \times -15,000) = 11,000 THB 167.

11.3 Weekend Promotion: Calculating Expected Financial Outcome

The company evaluates a marketing campaign with three possible net outcomes: a 30% chance of a 30,000 THB profit, a 50% chance of a 10,000 THB profit, and a 20% chance of a 15,000 THB loss. The task is to calculate the expected financial outcome and provide a decision conclusion 167.

  • Expected financial outcome calculation: E(X)=(0.30×30,000)+(0.50×10,000)+(0.20×−15,000)=9,000+5,000−3,000=11,000E(X) = (0.30 \times 30,000) + (0.50 \times 10,000) + (0.20 \times -15,000) = 9,000 + 5,000 - 3,000 = 11,000 THB 167.
  • Decision conclusion: The expected value of 11,000 THB suggests that, on average, the campaign is profitable. However, this average does not guarantee a profit in any single instance, and the potential loss of 15,000 THB necessitates considering financial reserves and worst-case scenarios 165.

11.4 Project Alpha: Risk vs. Reward

Project Alpha has a 60% chance of success, yielding a 50,000 THB profit, and a 40% chance of failure, resulting in a 30,000 THB loss. The task is to calculate the Expected Value (EV) of Project Alpha and discuss whether the average return justifies the risk 168.

  • Expected Value calculation: E(X)=(0.60×50,000)+(0.40×−30,000)=30,000−12,000=18,000E(X) = (0.60 \times 50,000) + (0.40 \times -30,000) = 30,000 - 12,000 = 18,000 THB.
  • Discussion: The EV of 18,000 THB is positive, indicating potential profitability. However, the 40% chance of a 30,000 THB loss highlights the associated risk. A decision should weigh this potential loss against the expected gain, considering the company's risk tolerance and financial capacity 168.

📝 Project Alpha has a 60% chance of a 50,000 THB profit and a 40% chance of a 30,000 THB loss. The Expected Value is (0.60×50,000)+(0.40×−30,000)=18,000(0.60 \times 50,000) + (0.40 \times -30,000) = 18,000 THB 168.

11.5 Comparing Options with Equal Expected Value

When two options have the same expected value, it is crucial to consider other factors beyond the average outcome. One option might offer a guaranteed outcome, while another involves a wider spread of potential results, including significant losses 169.

  • Project A: Offers a guaranteed profit of 10,000 THB.
  • Project B: Has a 50% chance of a 30,000 THB profit and a 50% chance of a 10,000 THB loss, resulting in the same expected value of 10,000 THB.
  • Comparison: While both projects have an expected value of 10,000 THB, Project B carries a higher risk due to the possibility of a significant loss. Project A is less risky as it guarantees a positive outcome 169.

11.6 Choosing a Probability Model

Selecting the appropriate probability model depends on what is being counted or measured. The core distinction lies in whether the scenario involves a fixed number of trials with success/failure outcomes (Binomial) or counting events within a defined interval (Poisson).

Continuous measurements typically require different models like the Normal distribution 170 180.

Scenario TypeModel Choice
Counting successes in a fixed number of trialsBinomial Distribution
Counting events within a defined interval (time, area, distance)Poisson Distribution
Measuring continuous variablesNormal Distribution or other models

11.7 Binomial Distribution

The Binomial Distribution is used to model situations where there are a fixed number of independent trials, each with only two possible outcomes (success or failure), and the probability of success is constant for each trial 171.

  • BINS Conditions:
  • Binary: Each trial results in one of two outcomes (e.g., buy/not buy, defective/non-defective).
  • Independent: The outcome of each trial does not affect the outcome of other trials.
  • Number Fixed: The total number of trials (n) is predetermined.
  • Same Probability: The probability of success (p) is the same for every trial 171.
  • Core Idea: It answers questions about the number of "successes" in a fixed number of trials. "Success" is simply a label for the event of interest and doesn't imply a positive outcome. The focus is on the count, not the order of events 172 178.

11.8 Three-Customer Campaign: Suitability of Binomial Model

A sales team offers the same promotion to three customers. Each customer can either buy or not buy, with an assumed equal purchase probability and independent decisions.

The task is to check the BINS conditions, define the random variable, and assess the model's suitability 173.

  • BINS Check:
  • Binary: Yes, each customer either buys (Success) or does not buy (Failure).
  • Independent: Assumed, as each customer's decision is independent.
  • Number Fixed: Yes, there are exactly 3 customers (n=3).
  • Same Probability: Assumed to be equal for all customers (p).
  • Random Variable: Let X be the number of customers who buy the product.
  • Suitability: The Binomial model is appropriate because all BINS conditions are met 173.

📝 A sales team offers a promotion to three customers. Each customer can either buy or not buy, with an assumed equal purchase probability and independent decisions. This scenario meets the Binary, Independent, Number Fixed (n=3), and Same Probability (p) conditions, making the Binomial model appropriate 173.

11.9 Interpreting Binomial Distribution Results

When working with a Binomial distribution, understanding phrases like "exactly," "at most," and "at least" is crucial for identifying the correct portion of the distribution to consider 174.

  • Exactly x: Refers to a single specific count (e.g., exactly 4 buyers).
  • At Most x: Includes all counts from zero up to x (e.g., at most 3 complaints).
  • At Least x: Includes x and all counts greater than x (e.g., at least 2 buyers) 174.

11.10 Ten-Customer Campaign: Insights from Binomial Distribution

A marketing team offers an offer to 10 customers, each with an equal probability of buying or not buying. The task is to define the random variable, list its possible values, identify the BINS conditions to check, and interpret the meaning of the highest bar in the distribution 175.

  • Random Variable (X): The number of customers who buy the product out of 10.
  • Possible Values of X: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
  • BINS Conditions to Check: Binary (buy/not buy), Independent (decisions), Number Fixed (n=10), Same Probability (p for each customer).
  • Highest Bar: Indicates the most likely number of buyers. It does not guarantee that this specific number will occur in the next campaign.
  • Takeaway: The Binomial distribution describes the probability of the number of buyers, not the identity of the specific customers who purchase 175.

11.11 Five-Customer Campaign: "At Least One" Buyer

Five customers independently receive an offer, each with a 40% chance of buying. The exercise asks to identify which buyer counts are included in the event "at least one customer buys" and why considering the complementary event "no one buys" simplifies the problem.

It also asks to estimate if P(at least one buyer) is greater or less than 40% without calculation 176.

  • "At least one customer buys" includes: Counts of 1, 2, 3, 4, or 5 buyers.
  • Complementary Event: Calculating the probability of "no one buys" (X=0) and subtracting it from 1 is often easier than summing probabilities for X=1 to X=5.
  • Estimation: P(at least one buyer) should be greater than 40%. If the probability of a single customer buying is 40%, the probability of at least one buying out of five must be higher than that individual probability 176.

11.12 Impact of Changing n and p on Binomial Distribution

The shape and characteristics of a Binomial distribution change as the number of trials (n) or the probability of success (p) are altered 177.

  • Increasing n:
  • The range of possible success counts expands.
  • The distribution generally becomes smoother.
  • Observed counts can still vary significantly.
  • Changing p:
  • A higher 'p' shifts the typical success count higher.
  • 'p' values close to 0.5 tend to produce wider distributions (more spread).
  • 'p' values close to 0 or 1 result in distributions concentrated at one end 177.

11.13 Poisson Distribution

The Poisson Distribution is used to count the number of events occurring within a specific interval of time, area, distance, or any other defined unit, provided the average rate of events is relatively stable and events are approximately independent 179.

  • Conditions for Use:
  1. Counting the number of events.
  2. A clearly defined interval (time, area, etc.).
  3. Events are approximately independent.
  4. The average rate (λ) is relatively stable.
  • Examples: Number of customer arrivals per hour, number of errors per page, number of calls received per minute.
  • When Not to Use: If there's a fixed number of trials with success/failure (use Binomial), if measuring continuous variables (use Normal), or if the rate changes drastically within the interval 179.

11.14 Average Rate (λ) Interpretation

An average rate, such as 6 customers per hour (λ=6), represents the expected number of events over that interval. It does not guarantee that exactly that number will occur in any specific interval 182 184.

  • Meaning of λ: It's the average number of events for a defined interval, not a fixed count for every interval 182.
  • Variability: Actual counts can deviate from the average; for example, one hour might have 2 customers, while another has 10.
  • Planning Implications: Staffing or resource allocation should consider the probability distribution of demand, not just the average, to prepare for higher-than-usual occurrences 184.

11.15 Interpreting Poisson Distribution Wording

Similar to the Binomial distribution, understanding specific phrases is key when interpreting questions related to the Poisson distribution 183.

  • Exactly Y: Refers to a precise number of events (e.g., exactly 4 calls).
  • At Most Y: Includes all counts from zero up to Y (e.g., at most 4 complaints).
  • At Least Y: Includes Y and all counts greater than Y (e.g., at least 7 store arrivals) 183.

11.16 Comparing Binomial and Poisson Distributions

Both Binomial and Poisson distributions are used for counting, but they apply to different scenarios based on whether the situation involves a fixed number of trials or events within a defined interval 185.

FeatureBinomial DistributionPoisson Distribution
What is counted?Successes across a fixed number of trials (n)Events within a defined interval
What is fixed?Number of trials (n) and probability of success (p)The interval and the average rate of events (λ)
Example QuestionHow many of 10 customers will buy?How many customers arrive per hour?
Key CautionAll BINS conditions must be metThe average rate should be stable within the interval

11.17 Model Selection Scenario

Given a business scenario, the task is to choose between the Binomial, Poisson, or Neither model and provide justification 186.

  • Group A Scenarios:
  1. Offering a product to 20 independent customers with p=0.30 and counting buyers: Binomial (fixed trials, binary outcome, independent, same probability).
  2. Sampling 15 units from a lot of 100 without replacement and counting defects: Neither (sampling without replacement violates independence for Binomial, and it's not an interval count for Poisson).
  3. Tracking 30 employees, each with an independent p=0.08 probability of being late, and counting late arrivals: Binomial (fixed trials, binary outcome, independent, same probability).
  • Group B Scenarios:
  1. Counting calls in 10-minute intervals with a stable average rate: Poisson (counting events in an interval, stable rate).
  2. Counting errors per 100 pages under a stable review process: Poisson (counting events per unit of area/document).
  3. Measuring customer hold time in minutes and seconds: Neither (this is a continuous measurement, not a count of events) 186.

11.18 Exit Ticket 4A: Expected Value & Discrete Distribution Concepts

This section presents several problems to assess understanding of expected value and discrete probability distributions 187.

  1. Promotion Outcomes: A promotion has three possible net outcomes: a profit of 20,000 THB (probability 0.15), a profit of 5,000 THB (probability 0.45), and a loss of 10,000 THB (probability 0.40). Calculate the expected value E(X) and explain what the outcome supports for business decisions.
  2. Project Comparison: Projects A and B have the same expected value. Project B has a higher chance of a large loss. Compare the projects in terms of their outcomes.
  3. Insurance Claims: Let X be the number of insurance claims received in a week. Identify the possible values of X, the type of variable, and how its probability distribution aids business planning.
  4. Valid Probability Distribution: A probability distribution consists of probabilities: 0.15, 0.30, 0.40, 0.20. Check if this is a valid probability distribution.
  5. Binomial Conditions: A company offers a proposal to 15 customers, but customers of different membership levels have different purchase probabilities. Identify which BINS condition is not met 187.

11.19 Exit Ticket 4B: Expected Value & Discrete Distribution Concepts

This section continues with problems related to expected value and discrete distributions, focusing on model selection and interpretation 188.

  1. Quality Control Sampling: A quality control team selects 12 items from a small lot without replacement. Explain why a binomial distribution might not be appropriate.
  2. Customer Complaints: Let X represent the number of customer complaints received in a day. Identify possible values for each phrase: "Y complaints," "no more than Y complaints," and "at least Y complaints." Explain each phrase.
  3. Average Customer Arrivals: A store receives an average of λ=4.5 customers every 10 minutes. Explain what this average means and why it doesn't guarantee exactly 4.5 customers in every 10-minute period.
  4. Variable Arrival Rates: A customer service center receives many calls during lunch but few late at night. Explain why using a single average arrival rate throughout the day could be misleading.
  5. Business Decision Support: Choose a business situation with uncertain outcomes. Describe the possible outcomes, define or explain their probabilities, and show how the resulting probability distribution can support decision-making or contingency planning 188.

12. Normal Distribution and Z-scores

12.1 Normal distribution properties

The normal distribution is a fundamental concept in statistics, often visualized as a bell-shaped curve. It is used to model continuous data where values cluster around a central tendency.

Understanding its properties is crucial for making business decisions based on data 189 190.

  • Bell-shaped and symmetric: The curve has a single peak and is symmetrical around its center.
  • Single peak: The mean, median, and mode are all located at the center of the distribution.
  • Asymptotic tails: The curve approaches the horizontal axis but never touches it, extending infinitely in both directions.
  • Total area equals 1: The total area under the curve represents 100% of the data, or a probability of 1 191.

It is important to verify that a dataset's shape and context are appropriate before assuming it follows a normal distribution 190 191 196.

12.2 The Empirical Rule

The Empirical Rule, also known as the 68-95-99.7 rule, provides a quick way to estimate the proportion of data within certain standard deviations from the mean for approximately normal distributions 192.

  • 68% of data: Falls within one standard deviation of the mean (μ±1σ\mu \pm 1\sigma).
  • 95% of data: Falls within two standard deviations of the mean (μ±2σ\mu \pm 2\sigma).
  • 99.7% of data: Falls within three standard deviations of the mean (μ±3σ\mu \pm 3\sigma) 192.

This rule is only applicable when the distribution is approximately normal 192.

📝 For a normal distribution with a mean of 15 minutes and a standard deviation of 4 minutes, a delivery time of 19 minutes corresponds to a Z-score of Z=19−154=1Z = \frac{19 - 15}{4} = 1 199.

12.3 Mean and Standard Deviation Effects

The mean and standard deviation are key parameters that define the position and spread of a normal distribution curve 193 194.

  • Mean: Determines the location of the curve on the horizontal axis. A higher mean shifts the curve to the right, while a lower mean shifts it to the left, without changing its shape or width if the standard deviation remains constant 193.
  • Standard Deviation (SD): Controls the width and reflects the variability of the data. A smaller SD results in a taller, narrower curve, indicating data points are clustered closely around the mean. A larger SD leads to a shorter, wider curve, signifying greater data dispersion 194.

In business contexts, SD often represents uncertainty or risk, but its interpretation depends on the variable being measured 194.

📝 If John's sales of 120k are 2 standard deviations above his department's mean of 100k (with an SD of 10k), his Z-score is Z=120,000−100,00010,000=2Z = \frac{120,000 - 100,000}{10,000} = 2 200.

12.4 Area as Probability

For continuous variables, the probability of an event occurring within a certain range is represented by the area under the normal distribution curve 195.

  • The total area under the curve is equal to 1 (or 100%).
  • The probability of a specific value occurring, P(X=x)P(X = x), is 0 for a continuous variable.
  • Therefore, probabilities are calculated for ranges, P(a≤X≤b)P(a \le X \le b), which is the area between points 'a' and 'b' 195.

12.5 Model Fit and Business Decisions

Statistical models, including the normal distribution, are simplifications of reality and should be used with an understanding of their limitations 196.

  • A normal distribution summarizes data using its mean and standard deviation, but real-world data may be skewed, contain outliers, or have multiple peaks.
  • A theoretically perfect curve does not automatically mean observed data is normally distributed.
  • Before applying a normal distribution model, it is essential to check the histogram, Q-Q plot, symmetry, and the context of the variable.
  • If the model fit is poor, alternative models or analytical methods should be considered 196.

A useful model must align with the shape and nature of the data 196.

12.6 Standardization and Z-scores

Standardization is a process used to compare data from different normal distributions, which have varying means and standard deviations 197.

  • Problem: The vast number of possible means and standard deviations for normal distributions makes it impossible to create probability tables for every combination.
  • Solution: Convert raw data values (X) into Z-scores. This transforms the data to a standard normal distribution with a mean of 0 and a standard deviation of 1.
  • Benefit: A single Z-table can then be used to solve problems for any normal distribution 197.

12.7 Z-score calculation

A Z-score measures how many standard deviations a data point is away from the mean 198.

The formula for a Z-score is: Z=X−μσZ = \frac{X - \mu}{\sigma} where:

  • XX is the raw data value.

  • μ\mu is the mean of the distribution.

  • σ\sigma is the standard deviation of the distribution 198.

  • Z > 0: Indicates the data point is above the mean.

  • Z < 0: Indicates the data point is below the mean.

  • Z = 0: Indicates the data point is exactly at the mean.

  • Z = +1: Indicates the data point is one standard deviation above the mean.

  • Z = -2: Indicates the data point is two standard deviations below the mean 198.

📝 For a data point X=12X=12 minutes, with a mean μ=15\mu=15 minutes and standard deviation σ=4\sigma=4 minutes, the Z-score is calculated as Z=12−154=−0.75Z = \frac{12 - 15}{4} = -0.75 198.

12.8 Class activity: Calculating Z-scores

Calculate the Z-scores for the given delivery times 199.

  • Mean delivery time = 15 minutes, SD = 4 minutes.
  • For X=15X = 15 minutes, Z=15−154=0Z = \frac{15 - 15}{4} = 0.
  • For X=19X = 19 minutes, Z=19−154=1Z = \frac{19 - 15}{4} = 1.
  • For X=18X = 18 minutes, Z=18−154=0.75Z = \frac{18 - 15}{4} = 0.75.
  • For X=12X = 12 minutes, Z=12−154=−0.75Z = \frac{12 - 15}{4} = -0.75 199.

12.9 Comparing data on different scales

Z-scores allow for the comparison of values from different distributions, even if they are measured on different scales 200.

  • John's Sales:
  • Sales = 120k
  • Department mean = 100k
  • SD = 10k
  • Z=120,000−100,00010,000=2Z = \frac{120,000 - 100,000}{10,000} = 2.
  • Mary's Hiring:
  • Candidates admitted = 15
  • Department mean = 10
  • SD = 2
  • Z=15−102=2.5Z = \frac{15 - 10}{2} = 2.5 200.

By comparing their Z-scores, one can determine who is more outstanding relative to their respective group 200.

This visual presents two case studies, John in Sales and Mary in Hiring, to illustrate the concept of Z-scores.

12.10 Using the Z-table

The Z-table (or standard normal table) is used to find the area under the standard normal curve, which corresponds to probabilities 201.

  • Reading the table: The table typically provides the area between the mean (Z=0) and a given positive Z-score.
  • Example: For Z = 1.56:
  1. Locate the row for 1.5.
  2. Locate the column for 0.06.
  3. The intersection point gives the area P(0<Z<1.56)P(0 < Z < 1.56).
  • Calculating cumulative probability: To find P(Z≤1.56)P(Z \le 1.56), add the area from the table to the area to the left of the mean (0.5000).
  • Negative Z-scores: Use the symmetry of the normal distribution. For a negative Z-score, the area to the left is the same as the area to the right of the corresponding positive Z-score. Always clarify which area (left-tail, right-tail, or between values) is required 201.

12.11 Process for Normal Distribution Problems

A systematic approach is essential for solving problems involving normal distributions 202.

  1. Analyze and Sketch:
  • Identify the raw score (XX), mean (μ\mu), and standard deviation (σ\sigma).
  • Determine the type of probability required (e.g., less than, greater than, between values, top percentage).
  • Sketch the normal curve and shade the target area.
  1. Standardize and Find Area:
  • Convert the raw score(s) to Z-scores using the formula Z=(X−μ)/σZ = (X - \mu) / \sigma.
  • Use a Z-table or statistical software (like Excel's NORM.S.DIST function) to find the corresponding area.
  • Adjust the area calculation for left-tail, right-tail, or between-value probabilities.
  1. Interpret and Decide:
  • Translate the calculated probability back into a business context (e.g., percentage, count).
  • Compare the result with business targets or thresholds.
  • State any assumptions made and the limitations of the model 202.

Always start by understanding the business question and the area to be found, rather than immediately jumping to formulas 202.

12.12 Class activity: Delivery time SLA risk

Calculate the probability of delivery exceeding a certain time and the expected compensation 203.

  • Delivery time is normally distributed with a mean of 45 minutes and a standard deviation of 5 minutes.
  • Compensation is paid if delivery takes longer than 55 minutes.
  • For 1,000 orders, calculate:
  • The probability of delivery exceeding 55 minutes.
  • The expected number of compensation cases.
  • The expected compensation cost 203.

12.13 Class activity: Sales target and reward budget

Determine the probability of exceeding a sales target and the associated reward budget 204.

  • Monthly sales per branch are normally distributed with a mean of 100,000 units and a standard deviation of 15,000 units.
  • A reward of 2,000 units is given for sales exceeding 120,000 units.
  • For 120 branches, calculate:
  • The probability of a branch exceeding the sales target.
  • The expected number of branches receiving a reward.
  • The total expected reward budget 204.

12.14 Class activity: Customer segment size

Calculate the proportion and number of customers falling within a specific spending range 205.

  • Online order value is normally distributed with a mean of 1,000 units and a standard deviation of 100 units.
  • Marketing plans to send coupons to customers with order values between 1,000 and 1,100 units.
  • For 50,000 orders, calculate:
  • The proportion of orders within the target range.
  • The expected number of customers receiving coupons 205.

12.15 Class activity: Branch performance recognition

Determine the probability of a branch achieving an "Excellent" rating and the expected number of recognized branches 206.

  • Service-quality scores for 200 branches are normally distributed with a mean of 75 and a standard deviation of 10.
  • An "Excellent" rating is given for scores of 90 or higher.
  • Calculate:
  • The probability of a branch receiving an "Excellent" rating.
  • The expected number of branches receiving recognition 206.

12.16 Class activity: Out-of-spec package weight and scrap cost

Calculate the probability of a package being out-of-spec and the expected scrap cost 207.

  • Cereal package weight is normally distributed with a mean of 500 grams and a standard deviation of 5 grams.
  • Acceptable weight range is 490–510 grams.
  • Rejected boxes incur a cost of 8 units each.
  • For a lot of 10,000 boxes, calculate:
  • The probability of a box being rejected.
  • The expected number of rejected boxes.
  • The expected scrap cost 207.

12.17 Class activity: Premium battery units

Calculate the probability of a battery meeting premium specifications and the expected number of premium units 208.

  • Battery life is normally distributed with a mean of 12 hours and a standard deviation of 1.5 hours.
  • A "Premium" label is applied if the battery life exceeds 14 hours.
  • For a lot of 10,000 batteries, calculate:
  • The probability of a battery being labeled "Premium".
  • The expected number of premium batteries 208.

12.18 Inverse Normal Distribution

The inverse normal distribution process allows you to find a raw score (X) when you know the area under the curve (probability) 209.

The formula to find the raw score is: X=μ+ZσX = \mu + Z\sigma where:

  • ZZ is the Z-score corresponding to the known area.
  • σ\sigma is the standard deviation of the distribution 209.

The steps involved are 209:

  1. Area: Identify whether the given probability represents a left-tail, right-tail, or an area between two values.
  2. Z-score: Find the Z-score associated with that area using a Z-table or a function like NORM.S.INV in Excel.
  3. Raw Score (X): Substitute the mean, standard deviation, and the found Z-score into the formula X=μ+ZσX = \mu + Z\sigma 209.

12.19 Calculating minimum scores for top performers

This section focuses on determining the minimum score required to be in the top percentage of a group, given a normal distribution of scores. This involves using Z-scores to find the cutoff point.

  • Top 10% employee program: To find the minimum score for the top 10%, we need to find the score that separates the top 10% from the bottom 90%. This requires finding the Z-score corresponding to the 90th percentile 210.
  • Top 5% bonus: Similarly, to determine the minimum monthly sales for a bonus, we find the sales value corresponding to the 95th percentile of monthly sales 212.
  • Top 20% premium customers: To identify the minimum quarterly spending for premium status, we calculate the spending value at the 80th percentile of customer spending 217.

12.20 Determining warranty length for early failures

This involves calculating a warranty period such that a specified low percentage of products fail before the warranty expires.

  • Early failures warranty: To set a warranty length where approximately 1% of products fail before expiration, we need to find the product life value that corresponds to the 1st percentile of the product life distribution 211.
  • Product life warranty: For a warranty period where only 2.5% of products are expected to fail before expiration, we calculate the warranty length corresponding to the 2.5th percentile of product life 219.
  • Compressor life warranty: To ensure only 2% of compressors fail before warranty expiration, we determine the warranty length at the 2nd percentile of compressor life 223.

📝 To set a warranty length where approximately 1% of products fail before expiration, find the product life value that corresponds to the 1st percentile of the product life distribution 211.

12.21 Assessing process performance within acceptable ranges

This section deals with calculating the proportion of data points that fall within a specified range and determining if a process meets its targets.

  • SLA range for delivery times: To assess if delivery times meet the target of at least 90% within a 40–50 minute window, we calculate the actual proportion of deliveries within this range 213.
  • Acceptable delivery window: For delivery times with a mean of 45 minutes and a standard deviation of 5 minutes, we calculate the proportion of deliveries falling between 40 and 50 minutes.
  • Mid-market segment orders: To find the proportion of online orders between 800 and 1,200 baht, given a mean of 1,000 baht and a standard deviation of 150 baht, we calculate the probability within this range 215.
  • SLA range for delivery times (detailed calculation): This problem provides a detailed calculation for the proportion of acceptable deliveries within a 40–50 minute window, given a mean of 45 minutes and a standard deviation of 5 minutes 214.
  • Central 90% production range: To find the range that covers the central 90% of product weights, given a mean of 500 grams and a standard deviation of 5 grams, we calculate the interval symmetrically around the mean 218.
  • Central 95% process range: This involves calculating the process temperature range that encompasses the central 95% of values, given a mean of 250°C and a standard deviation of 8°C 223.

12.22 Identifying underfilled or overfilled products

This involves calculating the probability of a product's weight falling below a certain threshold or outside an acceptable range.

  • Underfill risk: To determine the probability of a package weighing less than 495 grams, given a mean of 500 grams and a standard deviation of 4 grams, we calculate the left-tail probability 216.
  • Tablet fill weights: For tablet fill weights with a mean of 500 mg and a standard deviation of 3 mg, we calculate the rejection rate if tablets are rejected for weights less than 493 mg or greater than 507 mg 222.

📝 For tablet fill weights with a mean of 500 mg and a standard deviation of 3 mg, calculate the rejection rate if tablets are rejected for weights less than 493 mg or greater than 507 mg 222.

12.23 Calculating probabilities for specific events

This section covers calculating the probability of various events occurring within a normal distribution.

  • Express delivery compensation: To calculate the probability of delivery times exceeding 38 minutes, given a mean of 30 minutes and a standard deviation of 4 minutes, we find the right-tail area.
  • CRM target order values: To find the probability of order values falling between 1,000 and 1,400 baht, given a mean of 1,200 baht and a standard deviation of 200 baht, we calculate the area between these two values 219.
  • Airport check-in times: To determine the probability that airport check-in times are completed within 15 minutes, given a mean of 12 minutes and a standard deviation of 3 minutes, we calculate the left-tail probability.
  • IT ticket resolution times: To find the probability that IT ticket resolution times fall between 10 and 18 hours, given a mean of 14 hours and a standard deviation of 4 hours, we calculate the area between these two values.
  • Daily restaurant orders: To find the probability of demand being less than 650 orders, given a mean of 800 and a standard deviation of 120, we calculate the left-tail probability 222.
  • Calls requiring review: To calculate the probability of call-handling times being less than 5 minutes or greater than 12 minutes, given a mean of 8 minutes and a standard deviation of 2 minutes, we sum the left-tail probability of 5 minutes and the right-tail probability of 12 minutes 223.

12.24 Comparing performance using Z-scores

This section explains how to use Z-scores to compare performance across different distributions.

  • Comparing Z-scores: To compare Employee A's score of 120 (mean 100, SD 10) with Employee B's score of 75 (mean 60, SD 5), we calculate and compare their respective Z-scores 223.

12.25 Assumptions for using the Normal Model

Before applying the normal distribution model, several assumptions should be checked to ensure its appropriateness.

  • Histogram shape: The distribution should appear roughly symmetric, without significant skewness.
  • Multiple peaks: The histogram should ideally show a single peak, indicating a unimodal distribution.
  • Outliers and tails: The data should not contain extreme outliers, and the tails of the distribution should not be excessively heavy.
  • Business logic: The nature of the variable being analyzed should be logically consistent with a normal distribution. For instance, event counts or highly skewed data might be better modeled by binomial, Poisson, or lognormal distributions 220.

12.26 Excel formulas for Normal Distribution problems 221

Excel provides specific functions to calculate probabilities and values related to the normal distribution.

TaskExcel Formula
Left-tail area (probability P(X ≤ x))=NORM.DIST(x, mean, sd, TRUE)
Right-tail area (probability P(X > x))=1-NORM.DIST(x, mean, sd, TRUE)
Z-score calculation=STANDARDIZE(x, mean, sd)
Left-tail area for a Z-score (probability P(Z ≤ z))=NORM.S.DIST(z, TRUE)
Find X from a probability (inverse calculation)=NORM.INV(probability, mean, sd)
Find Z from a probability (inverse calculation)=NORM.S.INV(probability)

13. Synthesis and Assignment

13.1 Synthesis: Choosing the Right Calculation Method

The wording of a probability problem dictates the appropriate concept or formula to use. Understanding these cues is crucial for accurate problem-solving 224.

  • Complement: Use when the problem asks for "Not A" or "none" of an event.
  • Addition Rule: Apply when the problem involves "A or B" events.
  • Multiplication/Joint Probability: Use for "A and B" events, indicating the probability of both occurring.
  • Conditional Probability: Employ when the problem specifies "Given B," meaning the probability of A occurring given that B has already occurred.
  • Bayes' Theorem: Use to update probabilities with new evidence, revising initial beliefs based on new information.
  • Binomial Distribution: Suitable for problems involving a fixed number of successes across a set number of trials.
  • Poisson Distribution: Apply when the problem concerns the number of events occurring within a specific interval.
  • Normal/Z-score: Use for continuous values that are symmetrically distributed 224.

Key considerations for problem-solving include recognizing that "at least one" often implies using the complement ("none"), and that finding the top or bottom percentage requires an inverse problem, moving from area to a cutoff value 224.

📝 If a problem asks for the probability of an event "Not A" or "none" of an event, use the Complement formula: 1−P(A)1 - P(A) 224.

13.2 Assignment: One-page Probability Decision Story

This assignment requires students to create a one-page story that models a decision-making process under uncertainty. The story should address several key components:

  • Decision: Clearly state what needs to be decided.
  • Uncertainty: Identify what aspects of the situation are unknown or uncertain.
  • Outcomes: List all possible results of the decision.
  • Probability: Assign a probability to each outcome.
  • Impact: Quantify the profit, loss, or effect of each outcome.
  • Model: Determine which probability rule or distribution is appropriate for the scenario.
  • Recommendation: Propose a decision based on the analysis.
  • Risk & Plan B: Outline any limitations and contingency plans 225.

The assignment encourages students to build a model using statistical concepts and to present a reasoned recommendation 225.

13.3 Reading Map: Connecting Slides to the Textbook

This map guides students in using the textbook to reinforce concepts presented in slides, focusing on the underlying thought process behind the formulas.

  • Probability Mindset: Chapters 1 (pages 1-3) help differentiate decision-making logic from outcomes.
  • Probability Rules: Chapters 2 (pages 4-8) cover sample space, events, OR, AND, and complements.
  • Conditional & Bayes: Chapters 3 (pages 9-12) explain how new information alters reference frames and probabilities.
  • Expected Value: Chapters 4 (pages 13-15) discuss long-run averages in conjunction with risk.
  • Binomial / Poisson: Chapters 5 (pages 16-20) guide the selection of models based on questions and conditions.
  • Normal / Z-score: Chapters 6 (pages 21-26) relate the area under the curve to probabilities and thresholds 226.

The textbook serves as a manual for reviewing the "way of thinking" before diving into formulas, enhancing decision-making skills 226.

13.4 Key Takeaways

  • Define outcomes and events before selecting a formula.
  • Use the addition rule for "OR" scenarios and multiplication for "AND" scenarios.
  • Conditional probability changes the reference set, while Bayes' Theorem updates prior beliefs with new evidence.
  • Expected value represents a long-run average, not necessarily the next single outcome.
  • Choose between Binomial and Poisson distributions based on their underlying assumptions; use the Normal distribution for areas and thresholds.
  • Examples in the slides are practice opportunities; students should fill in answers and explain their meaning in their own words.
  • It is not necessary to know the future completely to make better decisions today 227.

14. Post-test

14.1 Post-test Overview

This post-test consists of 20 questions designed to assess understanding and development in probability concepts. It aims to verify students' ability to match rules with problem wording, perform step-by-step calculations, interpret results in a business context, and differentiate between probability, expected value, and distributions.

The test serves as an end-of-module review for calculation, interpretation, and method selection 228.

14.2 Post-test Questions 1–2

  • Question 1: A manager assesses a new product launch's success probability at 60% based on market news, sales team interviews, and prior experience, before actual sales data is available. What type of probability is this?
  • A. Classical
  • B. Empirical
  • C. Subjective
  • D. Conditional
  • E. Joint.
  • Question 2: A promotion involves a customer flipping a fair coin three times and receiving a prize for exactly one head. What is the probability of winning?
  • A. 1/8
  • B. 2/8
  • C. 3/8
  • D. 4/8
  • E. 6/8 229.

📝 A promotion involves a customer flipping a fair coin three times and receiving a prize for exactly one head. The probability of winning is 3/8. 229

14.3 Post-test Questions 3–4

  • Question 3: A business school has 300 students, with 34 being Marketing majors. If one student is randomly selected for a workshop, what is the probability of selecting a Marketing major?
  • A. 0.0683
  • B. 0.0800
  • C. 0.1133
  • D. 0.1600
  • E. 0.3400.
  • Question 4: A sales team contacts 5 independent customers, each with a 0.40 probability of making a purchase. What is the probability of at least one sale?
  • A. 0.0778
  • B. 0.4000
  • C. 0.6000
  • D. 0.9222
  • E. 1.0000 230.

📝 A business school has 300 students, with 34 being Marketing majors. If one student is randomly selected for a workshop, the probability of selecting a Marketing major is 0.1133. 230

14.4 Post-test Questions 5–6

  • Question 5: Out of 1,000 orders, 160 were late, 90 were returned, and 40 were both late and returned. What is the proportion of orders that were late or returned?
  • A. 0.12
  • B. 0.16
  • C. 0.21
  • D. 0.25
  • E. 0.29.
  • Question 6: Given P(pass Accounting) = 0.55, P(pass Statistics) = 0.75, and P(pass both) = 0.55, what is the probability of passing at least one subject?
  • A. 0.20
  • B. 0.55
  • C. 0.65
  • D. 0.75
  • E. 1.30 231.

14.5 Post-test Questions 7–8

  • Question 7: A bank offered a loan to 200 premium customers, and 120 responded. What is the probability of a response given that the customer is premium?
  • A. 0.12
  • B. 0.20
  • C. 0.36
  • D. 0.60
  • E. 0.80.
  • Question 8: Which criterion correctly confirms independence between events A and B?
  • A. P(A∩B) = 0
  • B. P(A|B) = P(A)
  • C. A and B cannot occur simultaneously.
  • D. P(A) + P(B) = 1 always.
  • E. P(A) = P(B) 232.

14.6 Post-test Questions 9–10

  • Question 9: A lot contains 12 good items and 8 defective items. If 2 items are randomly selected without replacement, what is the probability of at least one defective item?
  • A. 0.1474
  • B. 0.3474
  • C. 0.4000
  • D. 0.6526
  • E. 0.8526.
  • Question 10: Plant A produces 55% of items, with 3% being underfilled. Plant B produces 45% of items, with 5% being underfilled. If an underfilled bottle is found, what is the probability it came from Plant A?
  • A. 0.2308
  • B. 0.4231
  • C. 0.5500
  • D. 0.5769
  • E. 0.7500 233.

14.7 Post-test Questions 11–12

  • Question 11: A disease has a prevalence of 1%. A screening test has 98% sensitivity and a 4% false-positive rate. If a person tests positive, what is the approximate probability they actually have the disease?
  • A. 1.0%
  • B. 4.0%
  • C. 19.8%
  • D. 49.0%
  • E. 98.0%.
  • Question 12: A promotion yields returns of +30,000 (30% probability), +10,000 (50% probability), and -15,000 (20% probability). What is the expected value?
  • A. 5,000
  • B. 8,000
  • C. 10,000
  • D. 11,000
  • E. 15,000 234.

14.8 Post-test Questions 13–14

  • Question 13: Which statement correctly interprets Expected Value without mistaking it for the next outcome?
  • A. The next certain outcome.
  • B. The most likely outcome.
  • C. The long-run average from comparable trials.
  • D. The best possible outcome.
  • E. The outcome with no risk.
  • Question 14: Ten independent customers receive the same offer, each with an equal purchase probability. Which model is suitable for the number of buyers?
  • A. Normal Distribution
  • B. Binomial Distribution
  • C. Poisson Distribution
  • D. Uniform Distribution
  • E. Exponential Distribution 235.

14.9 Post-test Questions 15–16

  • Question 15: Which condition most clearly violates the BINS (Binomial) assumptions for a purchase model of 20 customers?
  • A. Each person either buys or does not buy.
  • B. The number of customers is fixed 20.
  • C. All individuals have the same purchase probability.
  • D. One person's purchase influences a friend's purchase.
  • E. We are counting the number of buyers.
  • Question 16: A service center counts calls in each 10-minute interval, with a stable average rate and approximately independent events. Which model is appropriate?
  • A. Poisson Distribution
  • B. Binomial Distribution
  • C. Normal Distribution
  • D. Uniform Distribution
  • E. Hypergeometric Distribution 236.

14.10 Post-test Questions 17–18

  • Question 17: Delivery time is normally distributed with a mean (μ\mu) of 45 minutes and a standard deviation (σ\sigma) of 5 minutes. Compensation is paid when delivery exceeds 55 minutes. What is the approximate probability of needing to pay compensation?
  • A. 0.0228
  • B. 0.1587
  • C. 0.5000
  • D. 0.8413
  • E. 0.9772.
  • Question 18: Exam scores are normally distributed with a mean (μ\mu) of 75 and a standard deviation (σ\sigma) of 10. An 'A' grade requires a score of at least 90. What is the approximate proportion of students receiving an 'A'?
  • A. 0.0228
  • B. 0.0668
  • C. 0.1587
  • D. 0.5000
  • E. 0.9332 237.

📝 Plant A produces 55% of items, with 3% being underfilled. Plant B produces 45% of items, with 5% being underfilled. If an underfilled bottle is found, the probability it came from Plant A is 0.5769. 233

14.11 Post-test Questions 19–20

  • Question 19: Product weight is normally distributed with a mean (μ\mu) of 500 grams and a standard deviation (σ\sigma) of 5 grams. Products are rejected if they weigh less than 490 grams or more than 510 grams. What is the approximate reject rate?
  • A. 0.0228
  • B. 0.0455
  • C. 0.0500
  • D. 0.0912
  • E. 0.9545.
  • Question 20: Exam scores are normally distributed with a mean (μ\mu) of 70 and a standard deviation (σ\sigma) of 10. The top 10% of scores receive an 'A'. What is the approximate minimum score for an 'A'?
  • A. 75.0
  • B. 80.0
  • C. 82.8
  • D. 85.0
  • E. 90.0 238.

15. อธิบายตัวอย่าง: x̄, s², s ค่าสถิติจากตัวอย่างใช้ประมาณพารามิเตอร์ที1ไม่ทราบค่า

15.1 Parameters vs. Statistics

Understanding the distinction between population parameters and sample statistics is fundamental for statistical inference. Parameters describe the entire population, while statistics describe a sample drawn from that population 245.

  • Parameters: These are numerical values that describe characteristics of a population. They are typically represented by Greek letters.
  • Population mean: μ\mu.
  • Population variance: σ2\sigma^2.
  • Population standard deviation: σ\sigma.
  • Statistics: These are numerical values that describe characteristics of a sample. They are typically represented by Roman letters.
  • Sample mean: xˉ\bar{x}.
  • Sample variance: s2s^2.
  • Sample standard deviation: ss 245.

The core principle is that sample statistics are used to estimate unknown population parameters 245.

16. เลือกMean, Median หรือMode

16.1 Choosing the Right Measure of Central Tendency

Selecting the appropriate measure of central tendency—mean, median, or mode—depends on the data's characteristics and the specific question being asked. It is crucial to choose the measure that best represents the data's typical value without distortion 246.

MeasureSuitable WhenCaution
MeanQuantitative data that is relatively symmetric.Sensitive to outliers and skewness.
MedianOrdered data or skewed data.Does not use the distance of all values.
ModeIdentifying the most frequent value.May have multiple modes or no mode.

The question itself often guides the choice of measure, rather than relying solely on memorized formulas 246.

16.2 Quartile Calculation Methods

Slight differences in quartile values can arise from variations in calculation methods, not necessarily from errors 247.

  • In-class method: Calculates the median of the lower and upper halves of the data.
  • Excel QUARTILE.INC: Interpolates, including the endpoints of the intervals.
  • Excel QUARTILE.EXC: Interpolates, excluding the endpoints of the intervals 247.

It is important to specify the method used if the precise quartile values significantly impact decision-making 247.

17. เหตุใดความแปรปรวนตัวอย่างหารด้วยn − 1

17.1 The Rationale for Dividing by n-1 in Sample Variance

When calculating sample variance, dividing by n−1n-1 instead of nn corrects for a systematic tendency of sample variance to underestimate the population variance. This adjustment is related to the concept of degrees of freedom 248.

  • Degrees of Freedom: The sample mean (xˉ\bar{x}) is calculated from the same data used to compute the variance. This calculation "uses up" one degree of freedom.
  • Bias Correction: Dividing by n−1n-1 (degrees of freedom) provides an unbiased estimate of the population variance. If we divided by nn, the sample variance would consistently be smaller than the true population variance 248.

For this level of study, it is important to remember the rule and understand its interpretation rather than focusing on the formal proof 248.

  • Population: NN.
  • Sample: n−1n-1 248.

17.2 Example: Mean Absolute Deviation (MAD)

Mean Absolute Deviation (MAD) is another measure of dispersion that calculates the average absolute difference between each data point and the mean 249.

  • Data: 20 cargo weight measurements.
  • Mean (xˉ\bar{x}): 196.5 pounds.
  • Sum of Absolute Deviations (Σ∣xi−xˉ∣\Sigma|x_i - \bar{x}|): 664 pounds.
  • MAD: 66420=33.2\frac{664}{20} = 33.2 pounds 249.

Interpretation: The weight of each cargo box deviates from the average weight by approximately 33.2 pounds 249.

18. Sample SD: สาขาA เทียบกับสาขาB

18.1 Comparing Standard Deviations of Two Branches

Standard deviation (SD) is a crucial measure of dispersion, indicating how spread out the data is around the mean. Comparing the SDs of different groups, even with the same mean, reveals differences in their variability and associated risk 250.

This table compares sample standard deviations for two branches, A and B, showing their sum of squared deviations, variance, and standard deviation. 250.

  • Branch A:
  • Sum of squared deviations (Σ(x−xˉ)2\Sigma(x - \bar{x})^2): 50.
  • Sample variance (s2s^2): 504=12.50\frac{50}{4} = 12.50.
  • Sample standard deviation (ss): 3.54.
  • Branch B:
  • Sum of squared deviations (Σ(x−xˉ)2\Sigma(x - \bar{x})^2): 250.
  • Sample variance (s2s^2): 2504=62.50\frac{250}{4} = 62.50.
  • Sample standard deviation (ss): 7.91 250.

Both branches have the same mean of 100. However, Branch B's standard deviation (7.91) is more than double that of Branch A (3.54).

This indicates that Branch B's data is more spread out, suggesting higher variability and potentially greater risk compared to Branch A 250.

19. Appendix: Chart selection matrix

19.1 Chart selection matrix 251

This matrix guides the selection of appropriate charts based on the question being asked and the structure of the variables involved. It emphasizes choosing graphs based on the question rather than familiarity with a particular chart type.

The selection of a chart depends on the question you are trying to answer and the structure of your variables.

QuestionVariable StructureRecommended Graph
How do values change over time?Value + TimeLine Chart
Which category is greater?Category + ValueBar Chart
How is data distributed?Quantitative Variable 1Histogram / Box-and-Whisker Plot
How are categorical variables related?Categorical Variables 2Contingency Table / Stacked Bar Chart

The key is to select a graph based on the question you are asking, not just on the charts you are familiar with 251.

20. When not to use a pie chart

20.1 When not to use a pie chart

Pie charts are best used when representing parts of a whole. They become less effective and potentially misleading in several other scenarios.

Situations where pie charts are not recommended include:

  • Categories are not part of a whole: If your data does not represent a complete set, a pie chart can be misleading.
  • Too many categories: A pie chart with more than a few slices becomes difficult to read and interpret.
  • Precise comparison needed: When the values of several categories are close, it is hard to make accurate comparisons using a pie chart.
  • Negative values: Pie charts cannot represent negative data.
  • Comparing multiple time periods or groups: For such comparisons, other chart types are more suitable 252.

📝 If you want to show the market share of different smartphone brands, a pie chart is appropriate because the shares add up to 100% of the market. However, if you want to compare the sales figures of these brands across different quarters, a bar chart would be a better choice 252.

Better alternatives to pie charts in these situations include:

  • Sorted Bar Chart: This is effective for comparing categories when the data represents parts of a whole or when precise comparisons are needed.
  • 100% Stacked Bar Chart: This is useful for showing the proportional composition of categories across different groups or time periods 252.

While a pie chart is not inherently "wrong," it must be used for the right question to ensure clear and accurate data representation 252.

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

See also