Linear Regression Our dataset contains the following variables: Year: the year of the Olympic Games, from 1896 to 2000. Time: the winning time for the 1,500 meter race, in seconds. First, let's explore the relationship between the two quantitative variables—year and time. Produce a scatterplot and use it to verify that year and time are nearly linear in their relationship. Here's a reminder of how to do this in Excel: Select all of the data in columns A and B, and then select the Insert tab and choose Scatter in the Charts group next to the Recommended Charts button. Choose the first scatterplot option (Scatter with only Markers). Now we have a scatterplot, but the data is all towards the top of the plot. To fix this: Right-click on the Y axis, and choose Format Axis from the bottom of the pop-up menu. In the Format Axis window make sure that Axis Options button is selected, find the Minimum option and enter 200 in the textbox. Click the X button to close the menu window.

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

Linear Regression

Our dataset contains the following variables:

Year: the year of the Olympic Games, from 1896 to 2000.

Time: the winning time for the 1,500 meter race, in seconds.

First, let's explore the relationship between the two quantitative variables—year and time. Produce a scatterplot and use it to verify that year and time are nearly linear in their relationship.

Here's a reminder of how to do this in Excel:

  • Select all of the data in columns A and B, and then select the Insert tab and choose Scatter in the Charts group next to the Recommended Charts button.
  • Choose the first scatterplot option (Scatter with only Markers).
  • Now we have a scatterplot, but the data is all towards the top of the plot. To fix this:
  • Right-click on the Y axis, and choose Format Axis from the bottom of the pop-up menu.
  • In the Format Axis window make sure that Axis Options button is selected, find the Minimum option and enter 200 in the textbox. Click the X button to close the menu window.
Year
1896
1900
1904
1908
1912
1920
1924
1928
1932
1936
1948
1952
1956
1960
1964
1968
1972
1976
1980
1984
1988
1992
1996
2000
Time
273.2
246
245.4
243.4
236.8
241.8
233.6
233.2
231.2
227.8
229.8
225.1
221.2
215.6
218.1
214.9
216.3
219.2
218.4
212.53
215.96
220.12
215.78
212.32
Transcribed Image Text:Year 1896 1900 1904 1908 1912 1920 1924 1928 1932 1936 1948 1952 1956 1960 1964 1968 1972 1976 1980 1984 1988 1992 1996 2000 Time 273.2 246 245.4 243.4 236.8 241.8 233.6 233.2 231.2 227.8 229.8 225.1 221.2 215.6 218.1 214.9 216.3 219.2 218.4 212.53 215.96 220.12 215.78 212.32
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman