The calorie requirements for males is shown in the table below. What type of correlation is exhibited by the data?
Calorie Requirements (Male), 1-59 years
The age is measured in years. Source: www.fatfreekitchen.com
A scatterplot is a set of points that represent data. We plot these points and try to find equations that best approximate their relationship. Because data is not always perfect, not every point will always fit on the line of best fit. The line of best fit is the line that is the closest to all the data points. It can be used to approximate data within the set or beyond the set. Scatterplots almost always represent a real-life situation.
Scatterplots can have positive correlation if the and values tend to increase together. They can have negative correlation if tends to decrease as tends to increase. And, if the points have no sort of linear pattern, then the data would have relatively no correlation. Think of the type of correlations referring to the slope of the line that would best fit that data.
Describe the type of correlation shown in the scatterplot. Explain your answer.
Solution: This is a negative correlation. As the years get larger, the sales go down. This could be because in the boom of online/digital and pirated music.
Find the linear equation of best fit for the data set above.
Solution: First, it can be very difficult to determine the “best” equation for a set of points. In general, you can use these steps to help you.
- Draw the scatterplot on a graph.
- Sketch the line that appears to most closely follow the data. Try to have the same number of points above and below the line.
- Choose two points on the line and estimate their coordinates. These points do not have to be part of the original data set.
- Find the equation of the line that passes through the two points from Step 3.
Let’s use these steps on the graph above. We already have the scatterplot drawn, so let’s sketch a couple lines to find the one that best fits the data.
From the lines in the graph, it looks like the purple line might be the best choice. The red line looks good from 2006-2009, but in the beginning, all the data is above it. The green line is well below all the early data as well. Only the purple line cuts through the first few data points, and then splits the last few years. Remember, it is very important to have the same number of points above and below the line.
Using the purple line, we need to find two points on it. The second point, crosses the grid perfectly at (2000, 14). Be careful! Our graph starts at 1999, so that would be considered zero. Therefore, (2000, 14) is actually (1, 14). The line also crosses perfectly at (2007, 10) or (8, 10). Now, let’s find the slope and intercept.
The equation of best fit is .
However, the equation above assumes that starts with zero. In actuality, we started with 1999, so our final equation is .
Using the line of best fit above, what would you expect music sales to be in 2010?
Solution: In this example, we are using the line of best fit to predict data. Plug in 2010 for and solve for .
It is estimated that music industry will make $8.3 billion in music sales in 2010.
Intro Problem Revisit If you draw a scatter plot of the data, you see that the x and y values tend to increase together. Therefore the data exhibits positive correlation. That is, as age increases so do calorie requirements.
- A set of data that is plotted on a graph to see if a relationship exists between the points.
- Line of Best Fit
- The linear equation that best approximates a scatterplot.
Use the table below to answer the following questions.
Sleep Requirements, 0-3 years
The age is measured in months and sleep is measured in hours. Source: www.babycenter.com
1. Draw a scatterplot with age across the axis and sleep along the axis. Count by 3’s for the values and by 2’s for the values.
2. Using the steps from Example B, find the line of best fit.
3. Determine the amount of sleep needed for a year old and a 5 year old.
1. Here is the scatterplot.
2. Two points that seem to be on the red line are (3, 15) and (24, 13).
The equation of the line is .
3. First, you need to change the age to months so that it corresponds with the units used in the graph. For a 2.5 year-old, 30 months, s/he should sleep hours. For a 5-year-old, 60 months, s/he should sleep hours.
Determine if the scatterplots below have positive, negative, or no correlation.
Plot each scatterplot and then determine the line of best fit.
Use the data below to answer questions 6-8.
The price of Apple stock from Oct 2009 - Sept 2011 source: Yahoo! Finance
- Draw the scatterplot for the table above. Make the axis the month and the axis the price.
- Find the linear equation of best fit.
- According to your equation, what would be the predicted price of the stock in January 2012?
Use the data below to answer questions 9-11.
Total Number of Home Runs Hit in Major League Baseball, 2000-2010 source: www.baseball-almanac.com
- Draw the scatterplot for the table above. Make the axis the year and the axis the number of home runs.
- Find the linear equation of best fit.
- According to your equation, how many total home runs should be hit in 2011?