How to determine whether to remove a generated outlier or not in stepwise regression?
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
Greg Heath
2016-1-6
My approach:
1. Use zscore (you can also use mapst) to standarize all variables to
zero-mean/unit-variance.
2. Use minmax to find the extrema of each variable
3. Consider all variables outside of [ -3, 3 ] as being outliers which
may have to be removed or modified.
4. Plot all variables which have outliers
5. Look at the plots and use judgement regarding one of the following choices:
a. leave it in
b. reduce the absolute value to 3 or another value of choice
c. remove it
6. When reporting the results
a. Explain the process
b. Compare the result with one or more of the considered alternatives.
Hope this helps.
Thank you for formally accepting my answer
Greg
2 个评论
Greg Heath
2016-1-13
I prefer that
1. You contaminate an example
help nndatasets
2. Attempt to code and apply my algorithm.
3. Post your results
I will comment on your result.
Greg
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Descriptive Statistics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!