Add diagonal for perfect normality: qqline(mlb$jackknife).
INTERPRETING NORMALITY PROBABILITY PLOT
Example:
2019 Detroit Tigers:
Location: Circled point represents a notable residual.
Sample Quantile: Tigers’ jackknife residual deviated significantly from predicted value.
Theoretical Quantile: Expected residual if perfectly normal would be around a specific calculated z-score.
Results from R: R calculates the percentile and Z-score of the residual. Similar process applied to 2021 Seattle Mariners, highlighting skewness and its implications on regression assumptions.
ASSESSING NORMALITY
METHODS TO ASSESS NORMALITY
Visual Method: Normal probability plot insights.
Straight line signifies normal distribution.
Deviations may indicate skewness (left or right).
Statistical Test: Shapiro-Wilk Test for normality.
Hypotheses:
Null Hypothesis (H0): Data is normally distributed.
Alternative Hypothesis (H_A): Data is not normally distributed.
Test Invocation in R: Execute through shapiro.test(mlb$jackknife).
Failing to Reject H0: Supports normality condition.
Example of Assessing Normality:
Scenario: Analyzing normality with histogram and normal probability plot for jackknife residuals.
Conclusion drawn from visual inspection and statistical testing.
INFLUENTIAL POINTS
DEFINITION AND SIGNIFICANCE
Influential Point: An observation strongly affecting the regression model’s predictions due to its presence or absence.
High leverage and outlying residuals signify potential influence on the model.
Measures of Influence:
Cook's Distance: Reflects model prediction changes when an observation is removed.
Formula: d<em>i=k+11h</em>i(1−h<em>i)r</em>i2
Influential if Cook's distance exceeds the threshold of n4.
DFBETAS: Measures the change in regression coefficients upon exclusion of an observation.
Influential when condition holds for coefficients.
COOK’S DISTANCE
COOK’S DISTANCE CALCULATION
Concept: Identifies observations whose exclusion results in substantial changes to regression model predictions.
Notably influential if both outlier and high leverage.
General rule: observations with Cook’s distance greater than n4 are flagged as influential.
EXAMPLE: COOK’S DISTANCE
Question: Are 2019 Detroit Tigers or 2021 Seattle Mariners influential based on Cook's distance?
Calculate Cook’s distances for both and compare against established cutoff.
Outcomes: Identification of influential observation with respect to model behavior using Cook's metric.
DFBETAS
DFBETAS AS A MEASURE OF INFLUENCE
Provides a standardized perspective of how much each regression coefficient shifts with the exclusion of an observation.
Criteria for Influence:
If DFBETAS(−i)j>2⋅nn, it is influential.
Conversely, DFBETAS(−i)j≤2⋅nn indicates no significant influence.
EXAMPLE: CALCULATING DFBETAS
Scenario: Remove a specific observation and compute DFBETAS to evaluate impacts on coefficients.
Provide calculated values and discuss their implications based on the model adjustments made.
DEALING WITH INFLUENTIAL POINTS
STRATEGIES TO ADDRESS INFLUENTIAL OBSERVATIONS
Examine the validity and origin of influential points.
Assess linearity, homoscedasticity, and normality of residuals.
If any of these are violated, consider that the model may lack appropriateness for the data.
Explore possible transformations or inclusion of additional predictors.
Model re-evaluation: Retain or remove influential points based on their performance post-adjustment.
EXAMPLE: REPORTING FINAL RESULTS
Summarize the scenario involving model adjustments from removing influential observations, and report on the rationale behind the modifications made to enhance model fidelity.
RECONCILING MEASURES OF INFLUENCE
CROSS-EVALUATION OF COOK’S DISTANCE AND DFBETAS
Observations may show a disconnect between Cook’s distances and DFBETAS.
Important to ensure both measures align in indicating influence.
A noticeable change in one coefficient may be countered by changes in others, maintaining overall model predictions.