Identifying Outliers, Modified Boxplots, and Foundations of Probability
Five-Number Summary and Outlier Identification Procedure
Components of a Boxplot:
- The construction of a standard boxplot relies on the five-number summary: the Minimum, the first quartile (), the second quartile or median (), the third quartile (), and the Maximum.
- In a standard boxplot, the central box spans from to , a line divides the box at , and whiskers extend outwards to the Minimum and Maximum values.
Interquartile Range ():
- Definition: The range of the middle of the data.
- Formula:
Step-by-Step Procedure for Identifying Outliers:
- Step 1: Determine the quartiles of the data set, specifically and .
- Step 2: Calculate the interquartile range using the formula .
- Step 3: Evaluate the quantity .
- Step 4: Establish the upper and lower outlier fences and identify outlier data values:
- An observation is an outlier if it is located above by an amount strictly greater than :
- An observation is an outlier if it is located below by an amount strictly greater than :
Modified Boxplot Construction and Data Skewness
Example Outlier Identification (October 13 Worksheet, Problem 12, Part 3):
- The five-number summary for the data set:
- Execution of Step 2 (Calculate ):
- Execution of Step 3 (Evaluate ):
- Execution of Step 4 (Determine outlier thresholds):
- Upper threshold limit:
- Lower threshold limit:
- Evaluation against the data set:
- Non-outlier interval: .
- Any data value falling beyond this interval ( or ) is an outlier.
- The highest values in the data set are , , , and .
- Because , the value is formally identified as an outlier.
- The five-number summary for the data set:
Modifying the Boxplot:
- In a regular boxplot, the right whisker extends directly to , treating it as the maximum.
- In a modified boxplot:
- Outliers are isolated and plotted as separate individual points outside the whisker structure (e.g., is plotted separately as an outlier).
- The upper whisker no longer extends to the outlier; instead, it terminates at the next highest data value in the data set that falls within the boundary (), which is .
- The lower whisker, , , and remain unchanged.
Impact on Skewness Perception:
- Boxplots visually convey the skewness of a distribution via whisker length and box symmetry.
- A regular boxplot with a whisker reaching to depicts the data set as highly skewed to the right.
- Plotting the modified boxplot reveals that the core distribution is only slightly skewed to the right, demonstrating that the apparent extreme skewness was an artifact driven by a single outlier ().
Probability Foundations: Procedures, Events, and Sample Spaces
Core Definitions:
- Procedure: An experiment, operation, or process that leads to results or outcomes (e.g., flipping a coin, rolling a die, or surveying individuals).
- Event: Any collection of results or outcomes of a procedure.
- Simple Event: An outcome or an event that cannot be broken down into simpler components.
- Sample Space: The set of all possible simple events. It encompasses all outcomes that cannot be broken down any further.
Example: Two-Child Family Structure (Sex Assigned at Birth):
- Notation: represents a boy, and represents a girl.
- Procedure: A family has two children, categorized by birth order (eldest child, youngest child).
- Sample space ():
- Differentiating Simple and Compound Events:
- Event : Both children are boys.
- Outcomes: .
- Classification: This outcome cannot be broken into simpler sub-components within the experiment; therefore, it is a simple event.
- Event : One child is a boy and the other child is a girl.
- Outcomes: .
- Classification: This event can be decomposed into two distinct simple events (: eldest is a boy and youngest is a girl; : eldest is a girl and youngest is a boy); therefore, it is not a simple event.
- Event : Both children are boys.
Standard Probability Notation:
- denotes probability.
- Uppercase letters () denote specific events.
- denotes the probability of event occurring.
Three Approaches to Calculating Probability
1. Classical Approach (Equally Likely Outcomes):
- Application: Used when each simple event has an equal chance of occurring (e.g., fair dice, fair coins).
- Definition: If a procedure has different simple events that are equally likely, and event can occur in of those ways:
- Example 1: Three Flips of a Fair Coin:
- Sample space consisting of simple events:
- Calculating the probability of getting exactly two tails:
- Favorable outcomes: ().
- Calculating the probability of getting at least one tail:
- "At least one tail" corresponds to , , or tails (all outcomes except ).
- Favorable outcomes: .
- Example 2: Rolling Two Fair Dice:
- Sample space size: Each die has equally likely faces ( through ), yielding total outcomes.
- Calculating the probability that the sum of the two dice equals :
- Event consists of the pairs: .
- Outcomes such as or are impossible because a die face cannot exceed .
- The pairs and represent distinct simple events because they correspond to different dice (first die vs. second die).
- Number of favorable outcomes: .
- Probability:
2. Relative Frequency Approach (Empirical Probability):
- Application: Relies on conducting trials, gathering sample data, and observing real-world occurrences.
- Definition:
- The symbol denotes that the computed value is an estimate or approximation derived from finite sampling rather than an absolute theoretical truth.
- Example 1: Sleep Problem Survey:
- Procedure: Randomly select and survey adults regarding sleep problems.
- Observations: adults state they have no sleep problems.
- Event : An adult reports having no sleep problems.
- Empirical probability estimate:
- Sampling rationale: It is physically impossible to interview every adult globally; thus, sampling provides a workable estimate.
- Example 2: Tire Quality Inspection (Worksheet Problem 4):
- Procedure: An inspector tests tires and discovers that are defective.
- Empirical probability of selecting a defective tire:
- Example 3: Student Bus Commuter Survey (Worksheet Problem 3b):
- A survey of students finds take the bus.
- The reported probability of approximately is classified under the relative frequency approach.
3. Subjective Probability Approach:
- Application: Used when historical frequency or equally likely outcomes cannot be evaluated mathematically.
- Definition: The probability of an event is estimated using relevant knowledge of prevailing circumstances and professional judgment.
- Example 1: Meteorological Forecast:
- A meteorologist predicts a chance of rain tomorrow.
- This value represents an educated estimation based on atmospheric models and expert knowledge.
- Example 2: Athletic Competition (Worksheet Problem 3c):
- A coach asserts that her team has an chance of winning Friday's game.
- This assessment is classified as subjective probability.
The Law of Large Numbers
Principle Statement:
- As a procedure is repeated again and again, the relative frequency probability of an event tends to approach the actual (true theoretical) probability of that event.
Relative Frequency Probability vs. Actual Probability:
- Relative Frequency Probability: An empirical proportion obtained from conducting a procedure a finite number of times ().
- Actual Probability: The true, fixed probability obtained only if the procedure were applied to the entire population or repeated indefinitely.
Illustration of Convergence:
- Surveying adults regarding sleep issues across expanding sample sizes demonstrates this convergence toward a hypothetical true value (e.g., ):
- At trials:
- At trials:
- At trials:
- At trials:
- Increasing the sample size narrows the gap between the empirical estimate and the actual population probability.
- Surveying adults regarding sleep issues across expanding sample sizes demonstrates this convergence toward a hypothetical true value (e.g., ):
Probability Axioms and the Rare Event Rule
Fundamental Range of Probability:
- The probability of any event is always bounded between and inclusive:
- A probability of indicates an impossible event.
- A probability of indicates a certain event.
The Rare Event Rule for Inferential Statistics:
- Formal Statement: If, under a given assumption, the probability of a particular observed event is extremely small, we conclude that the assumption is probably not correct.
- Application Scenario (Testing Coin Fairness):
- Given Assumption: A coin is balanced and fair ().
- Observed Event: The coin is flipped times, resulting in tails.
- Analysis: Under the assumption of fairness, obtaining tails in tosses is an extremely improbable (rare) outcome.
- Conclusion: The assumption of fairness is rejected; the coin is probably biased toward landing on tails.
- Probabilistic Qualification:
- The word probably is mandatory in statistical conclusions because extreme outcomes could theoretically occur as extreme coincidences, even if overwhelmingly unlikely.
- If the observation had yielded tails and heads, this outcome is plausible under fair conditions, providing no evidence to dispute the assumption.
Complementary Events and Actual Odds
Complements of Events:
- Definition: The complement of event , denoted by or , consists of all outcomes in the sample space in which event does not occur.
- Axiom of Certainty: Because event must either occur or not occur, the sum of their probabilities equals :
- Complement Formulas:
Complement Examples Using a Fair Six-Sided Die ():
- Example 1 (Rolling a Specific Value):
- Event : Rolling a .
- Probability: .
- Complement : Not rolling a ().
- Probability: .
- Verification:
- Example 2 (Rolling an Even Number):
- Event : Rolling an even number ().
- Probability: .
- Complement : Rolling an odd number ().
- Probability using the complement formula:
- Example 1 (Rolling a Specific Value):
Actual Odds Against vs. Actual Odds in Favor:
- Actual Odds Against Event :
- Ratio prioritizing the non-occurrence of over the occurrence of :
- For rolling a on a fair die:
- Actual Odds in Favor of Event :
- Ratio prioritizing the occurrence of over the non-occurrence of :
- For rolling a on a fair die:
- Actual Odds Against Event :
Introduction to Compound Events
Definition: A compound event is an event combining two or more simple events.
Standard Operations:
- : Indicates that event occurs, event occurs, or both events occur.
- : Indicates that both event and event occur simultaneously.
Questions & Discussion
Relationship Between Median and Quartiles:
- Question: Is the same as the median?
- Response: Yes, the second quartile () is mathematically identical to the median.
Outlier Boundary Computation Directionality:
- Question: When finding outliers, is it all about and the , and then on the other side, and the ? Is it added to and subtracted from ?
- Response: Yes. For the upper boundary, add to . For the lower boundary, subtract from .
Two-Dice Sample Space Permutations for Sum of Nine:
- Question: Why can't pairs like or be included when evaluating sums of nine for two dice?
- Response: A standard die face only ranges from through . Values of and do not exist on standard dice.
Administrative Details:
- Discussion Post Assignment: Students must submit their answers to Problem 3 from the worksheet (Problem 3a: Classical approach; Problem 3b: Relative frequency approach; Problem 3c: Subjective approach).
- Project Milestone: The first deadline for the project is scheduled for next Thursday. The prompt and instructions covering this initial task will be posted before this Thursday.