How to determine whether to remove a generated outlier or not in stepwise regression?

A
As_Goyal · Aug 2, 2021 · 2K views
Question
Dear Friends, I have developed a stepwise regression model. I am getting a outlier. I need to know the effective weight of the outlier so that I came to understand weather I need to remove it or my model will play good without removing it. In summary, I want to calculate adjusted R2 value with and without outlier.Can you please help  
Expert Answer
Profile picture of Neeta Dsouza
Neeta Dsouza PhD Expert
Answered Nov 20, 2025

Determining whether to remove an outlier in stepwise regression involves several considerations:

1. Impact on Model Performance: Evaluate how the outlier affects the model's performance metrics, such as R-squared, adjusted R-squared, and prediction accuracy. Removing the outlier might improve these metrics.

2. Influence on Coefficients: Check if the outlier significantly alters the regression coefficients. If the coefficients change drastically with the outlier included, it might be worth considering its removal.

3. Statistical Tests: Use statistical tests like Cook's Distance or leverage values to identify influential outliers. These tests help determine the impact of each data point on the regression model.

4. Domain Knowledge: Consider the context and domain knowledge. Sometimes outliers represent important, valid data points that should not be removed without careful consideration.

5. Sensitivity Analysis: Perform a sensitivity analysis by running the regression with and without the outlier to see how results differ.

 

100% Run Guarantee 3-Hour Fast-Track Delivery

Need a Custom Version or Complete Simulation for This Problem?

Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.

Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!