Draw Line of Best Fit: Canada Exchange Rate US Dollar 1998-2007

  • Context: MHB 
  • Thread starter Thread starter Phobosdeimos
  • Start date Start date
  • Tags Tags
    Fit Lines
Click For Summary
SUMMARY

The discussion focuses on calculating the line of best fit for the average annual exchange rate of the US Dollar in Canada from 1998 to 2007. The user Phobos attempted to determine the slope and y-intercept using the points (1998, 0.67) and (2006, 0.90), resulting in a slope of -0.02875 and a y-intercept of 58.5725. However, the calculations were incorrect as they were based on a misunderstanding of the task, which only required a scatter plot without linear regression. The correct approach involves using linear regression to find the best fitting line if the data points are approximately linear.

PREREQUISITES
  • Understanding of scatter plots and their construction
  • Basic knowledge of linear regression techniques
  • Familiarity with slope and y-intercept calculations
  • Ability to interpret exchange rate data
NEXT STEPS
  • Learn about linear regression methods in detail
  • Study the construction and interpretation of scatter plots
  • Explore the differences between correlation and covariance
  • Review data science interview questions related to regression analysis
USEFUL FOR

Data analysts, economists, students studying statistics, and anyone interested in understanding exchange rate trends and linear regression analysis.

Phobosdeimos
Messages
1
Reaction score
0
The average annual exchange rate in Canada for the US Dollar from 1998-2007 is shown in the following table. Draw a scatter plot, without using graphing technology

Year Exchange Rate
1998 .67
1999 .67
2000 .70
2001 .74
2002 .80
2003 .81
2004 .86
2005 .87
2006 .90
2007 .99

To determine the Slope I did the following
1998 - 2006 = -8
.67 - .90 = -.23

y= .23
Divide
x = -8

The slope of the line is - 0.02875

I then tried the y intercept
y = mx +b

.90 = - 0.02875 (2006) + b

.90 = -57.6725 + b

.90
- 57.6725 = b

b = 58.5725

This is what I came up for the y Intercept (58.5725)

Doesn't seem right to me

Please Help

Phobos
 
Physics news on Phys.org
Phobosdeimos said:
The average annual exchange rate in Canada for the US Dollar from 1998-2007 is shown in the following table. Draw a scatter plot, without using graphing technology

Year Exchange Rate
1998 .67
1999 .67
2000 .70
2001 .74
2002 .80
2003 .81
2004 .86
2005 .87
2006 .90
2007 .99

To determine the Slope I did the following
1998 - 2006 = -8
.67 - .90 = -.23

y= .23
Divide
x = -8

The slope of the line is - 0.02875

I then tried the y intercept
y = mx +b

.90 = - 0.02875 (2006) + b

.90 = -57.6725 + b

.90
- 57.6725 = b

b = 58.5725

This is what I came up for the y Intercept (58.5725)

Doesn't seem right to me

Please Help

Phobos

Hi Phobosdeimos,

The question tells you to draw a scatter plot according to the given data. Your slope and y-intercept is for the straight line that goes through the two points $(1998, 0.67)$ and $(2006, 0.90)$. If the points given approximately lie on a straight line you can find the best fitting straight line using linear regression as below.

Introduction to Linear Regression
 
Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article. This article inspired me to read more. keep it up.
<a href="https://www.excelr.com/blog/data-science/statistics-for-data-scientist/Correlation-vs-covariance">Correlation vs Covariance</a>
<a href="https://www.excelr.com/blog/data-science/regression/simple-linear-regression">Simple linear regression</a>
<a href="https://www.excelr.com/mock-interview/data-science-interview-questions">data science interview questions</a>
 
I am confused. You titled this "Line of best fit" and show how you have tried to calculate a slope and y-intercept. But the problem, at least the part you show, says nothing about any line! It asks only for a scatter plot. Do you know what that is?
https://en.wikipedia.org/wiki/Scatter_plot
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K