Linear Regression and Correlation: Outliers is a part of Collaborative Statistics collection (col10522) by Barbara Illowsky and Susan Dean. The module has been modified to include a graphical method for identifying outliers contributed by Roberta Bloom.

In some data sets, there are values
(observed data points) called
outliers .
Outliers are observed data points that are
far from the least squares line. They have large "errors", where the "error" or residual is the vertical distance from the line to the point.

Outliers need to be examined
closely. Sometimes, for some reason or another, they should not be included in the analysis ofthe data. It is possible that an outlier is a result of erroneous data. Other times, an outlier may
hold valuable information about the population under study and should remain included in the data. The key is to carefully examinewhat causes a data point to be an outlier.

Besides outliers, a sample may contain one or a few points that are called
influential points . Influential points are observed data points that are far from the other observed data points in the horizontal direction. These points may have a big effect on the slope of the regression line. To begin to identify an influential point, you can remove it from the data set and see if the slope of the regression line is changed significantly.

Computers and many calculators can be used to identify outliers from the data. Computer output for regression analysis will often identify both outliers and influential points so that you can examine them.

Identifying outliers

We could guess at outliers by looking at a graph of the scatterplot and best fit line. However we would like some guideline as to how far away a point needs to be in order to be considered an outlier.
As a rough rule of thumb, we can flag any point that is located further than two standard deviations above or below the best fit line as an outlier . The standard deviation used is the standard deviation of the residuals or errors.

We can do this visually in the scatterplot by drawing an extra pair of lines that are two standard deviations above and below the best fit line. Any data points that are outside this extra pair of lines are flagged as potential outliers. Or we can do this numerically by calculating each residual and comparing it to twice the standard deviation. On the TI-83, 83+, or 84+, the graphical approach is easier. The graphical procedure is shown first, followed by the numerical calculations. You would generally only need to use one of these methods.

In the
third exam/final exam example , you can determine if there is an outlier
or not. If there is an outlier, as an exercise, delete it and fit the remaining data to a new line. For thisexample, the new line ought to fit the remaining data better. This means the
SSE should be
smaller and the correlation coefficient ought to be closer to 1 or -1.

Graphical identification of outliers

With the TI-83,83+,84+ graphing calculators, it is easy to
identify the outlier graphically and visually. If we were to measure the vertical distance from any data point to the corresponding point on the line of best fit and that distance was equal to
2s or farther, then we would consider the data point to be "too far" from the line of best fit. We need to find and graph the lines that are two standard deviations below and above the regression line. Any points that are outside these two lines are outliers. We will call these lines Y2 and Y3:

As we did with the equation of the regression line and the correlation coefficient, we will use technology to calculate this standard deviation for us. Using the
LinRegTTest with this data, scroll down through the output screens to find
s=16.412

Line Y2=-173.5+4.83
x -2(16.4) and line Y3=-173.5+4.83
x +2(16.4)

where
y^ =-173.5+4.83x is the line of best fit. Y2 and Y3 have the same slope as the line of best fit.

Graph the scatterplot with the best fit line in equation Y1, then enter the two extra lines as Y2 and Y3 in the "Y="equation editor and press ZOOM 9. You will find that the only data point that is not between lines Y2 and Y3 is the point x=65, y=175. On the calculator screen it is just barely outside these lines.
The outlier is the student who had a grade of 65 on the third exam and 175 on the final exam; this point is further than 2 standard deviations away from the best fit line.

Sometimes a point is so close to the lines used to flag outliers on the graph that it is difficult to tell if the point is between or outside the lines. On a computer, enlarging the graph may help; on a small calculator screen, zooming in may make the graph clearer. Note that when the graph does not give a clear enough picture, you can use the numerical comparisons to identify outliers.

Numerical identification of outliers

In the table below, the first two columns are the third exam and final exam data.
The third column shows the predicted
y^ values calculated from the line of best fit:
y^ =-173.5+4.83
x .
The residuals, or errors, have been calculated in the fourth column of the table:
observed y value−predicted y value=y−y^ .

s is the standard deviation of all the
y-y^=ε values where
n = the total number of data points. If each residual is calculated and squared, and the results are added, we get the SSE. The standard deviation of the residuals is calculated from the SSE as:

s=SSEn-2

Rather than calculate the value of
s ourselves, we can find
s using the computer or calculator. For this example, the calculator function LinRegTTest found
s = 16.4 as the standard deviation of the residuals

35

-17

16

-6

-19

9

3

-1

-10

-9

-1

.

x

y

y^

y-y^

65

175

140

175-140=35

67

133

150

133-150=-17

71

185

169

185-169=16

71

163

169

163-169=-6

66

126

145

126-145=-19

75

198

189

198-189=9

67

153

150

153-150=3

70

163

164

163-164=-1

71

159

169

159-169=-10

69

151

160

151-160=-9

69

159

160

159-160=-1

We are looking for all data points for which the residual is greater than
2s =2(16.4)=32.8 or less than -32.8. Compare these values to the residuals in column 4 of the table. The only such data point is the student who had a grade of 65 on the third exam and 175 on the final exam; the residual for this student is 35.

How does the outlier affect the best fit line?

Numerically and graphically, we have identified the point (65,175) as an outlier. We should re-examine the data for this point to see if there are any problems with the data. If there is an error we should fix the error if possible, or delete the data. If the data is correct, we would leave it in the data set.
For this problem, we will suppose that we examined the data and found that this outlier data was an error. Therefore we will continue on and delete the outlier, so that we can explore how it affects the results, as a learning experience.

Compute a new best-fit line and correlation coefficient using the 10 remaining points:

On the TI-83, TI-83+, TI-84+ calculators, delete the outlier from L1 and L2. Using the LinRegTTest, the new line of best fit and the correlation coefficient are:

y^=-355.19+7.39x and
r=0.9121

The new line with
r=0.9121 is a stronger correlation than the original (
r =0.6631) because
r=0.9121 is closer to 1. This means that the new line is a better fit to the 10 remaining data values. The line can better predict the final exam score given the third exam score.

Questions & Answers

do you think it's worthwhile in the long term to study the effects and possibilities of nanotechnology on viral treatment?

fullerene is a bucky ball aka Carbon 60 molecule. It was name by the architect Fuller. He design the geodesic dome. it resembles a soccer ball.

Tarell

what is the actual application of fullerenes nowadays?

Damian

That is a great question Damian. best way to answer that question is to Google it. there are hundreds of applications for buck minister fullerenes, from medical to aerospace. you can also find plenty of research papers that will give you great detail on the potential applications of fullerenes.

Tarell

Join the discussion...

what is the Synthesis, properties,and applications of carbon nano chemistry

Yeah, it is a pain to say the least. You basically have to heat the substarte up to around 1000 degrees celcius then pass phosphene gas over top of it, which is explosive and toxic by the way, under very low pressure.

In this morden time nanotechnology used in many field .
1-Electronics-manufacturad IC ,RAM,MRAM,solar panel etc
2-Helth and Medical-Nanomedicine,Drug Dilivery for cancer treatment etc
3- Atomobile -MEMS, Coating on car etc.
and may other field for details you can check at Google

Azam

anybody can imagine what will be happen after 100 years from now in nano tech world

Prasenjit

after 100 year this will be not nanotechnology maybe this technology name will be change .
maybe aftet 100 year . we work on electron lable practically about its properties and behaviour by the different instruments

Azam

name doesn't matter , whatever it will be change... I'm taking about effect on circumstances of the microscopic world

Prasenjit

how hard could it be to apply nanotechnology against viral infections such HIV or Ebola?

Damian

silver nanoparticles could handle the job?

Damian

not now but maybe in future only AgNP maybe any other nanomaterials

Azam

Hello

Uday

I'm interested in Nanotube

Uday

this technology will not going on for the long time , so I'm thinking about femtotechnology 10^-15

Prasenjit

Join the discussion...

how did you get the value of 2000N.What calculations are needed to arrive at it