I got some data samples (a,b) and I am trying to calculate correlation between a and b. As I am new in this type of analysis, I have calculated Rsquared with linear regression method and got 0.5 as the result. However, in my graph I could see one clear outlineroutlier and if I exclude it manually, Rsquared increases from 0.5 to 0.748 which is significant increase.
In order not to do it manually, is there some method that somebody would recommend, that does robust fit and identifies outlinersoutlier and excludes them from final R square calculation?
Thanks!