Professional Documents
Culture Documents
How Does An Outlier Affect The Least Squares
How Does An Outlier Affect The Least Squares
How Does An Outlier Affect The Least Squares
outlier affect
the least
squares line?
BY DIVIT RAJPUT
Introduction
• Hockey games are profitable as
we can sell drinks to the fans.
(Figure 2) (Figure 1)
Dependent and Independent
Variable
800
700
600
Scatter Plot
Drinks sold
500
400
300
200
100
0
0 5 10 15 20 25 30 35 40 45
Temperature
The pattern
• The trend – In most cases, when the temperature increases, so
do the sales of the drinks.
Pearson’s r
• r = 0.431
equation
y = 6.326 * 30 + 506.62
Outliers
An example of an outlier is this data set
is the point (30,200).
If we were to discard to this outlier, the new r value would be 0.964 and the new
equation of the least square line would be y = 9.250x + 481.298
The new r value now indicates a stronger positive linear relationship between
the temperature and the number of drinks sold.
https://www.nhl.com/news/nhl-centennial-classic-alumni-game-fan-reminders/c-285166780 (Figure 2)
Accessed 3/8/2022