{{ toc.signature }}
{{ 'ml-toc-proceed-mlc' | message }}
{{ 'ml-toc-proceed-tbs' | message }}
An error ocurred, try again later!
Chapter {{ article.chapter.number }}
{{ article.number }}.

# {{ article.displayTitle }}

{{ article.intro.summary }}
{{ ability.description }}
Lesson Settings & Tools
 {{ 'ml-lesson-number-slides' | message : article.intro.bblockCount }} {{ 'ml-lesson-number-exercises' | message : article.intro.exerciseCount }} {{ 'ml-lesson-time-estimation' | message }}
This lesson will explore how two quantities are related and how to make predictions by finding a line of fit for scatter plots.

### Catch-Up and Review

The recommended reading is information that is helpful or necessary to understand before beginning the lesson.

• These are some topics that help in data analysis.
• These are some important topics about linear equations.
Explore

## A Set of Points on a Coordinate Plane

The following applet shows three graphs — each with a set of points distributed on a coordinate plane.
Pay close attention to the behavior of the dependent variable as the independent variable increases. Does increase, decrease, or can it not be distinguished?
Challenge

## Attendance at an Aquatic Park

Magdalena is fascinated by her local aquatic park and is eager to analyze how temperatures influence attendance. The following graph represents the data she collected — the average number of people that attend the park at specific temperatures.

Next week's forecast is extreme heat as temperatures will be around degrees Farenheit. Using the forecast and her results, Magdalena wonders if she can predict the number of people who will visit the park. Can the park expect more than visitors?
Discussion

## Analyzing Scatter Plots and Identifying Relationships Between Data Sets

Valuable conclusions and predictions are made about a situation based on collected data. Before such statements can be made, the data is analyzed by using tools such as graphs. A scatter plot, for example, is used to identify the correlation between a pair of data sets.

Concept

## Scatter Plot

A scatter plot is a graph that shows each observation of a bivariate data set as an ordered pair in a coordinate plane. Consider the following example, where a scatter plot illustrates the results gathered at a local ice cream parlor. This study records the number of ice creams sold and the corresponding air temperature.

Among other insights, the graph shows that when the temperature is about approximately ice creams are sold. Additionally, as the temperature increased, the number of sales also increased. In this case, it can be said that there is a positive correlation between the data sets — the number of ice creams sold and the air temperature.
Concept

## Correlation

A correlation is a relation between two data sets. For example, consider two data sets, one consisting of temperatures and the other consisting of the number of coats sold. A decrease in the temperature may imply an increase in the number of coats sold. Based on the trend of the bivariate data, three types of correlations are possible which can be described using scatter plots.

Knowing the type of correlation helps analyze trends and make predictions based on data. Furthermore, the shape of the patterns formed by positive and negative correlations can be thought to have a positive and negative slope, respectively. The applet below shows how a data set transforms from a random pattern to a positive or a negative correlation.

Pop Quiz

## Identifying Correlations from Scatter Plots

The following applet shows different scatter plots. Select the type of correlation that matches the scatter plot shown.

Discussion

## Lines of Fit for Scatter Plots

Once the scatter plot of a data set is drawn and the type of correlation is identified, predictions can be made about the trend of the data by using lines of fit.

Concept

## Line of Fit

When data sets have a positive or negative correlation, the trend of the data can be modeled using a line of fit, also called a trend line. This line is drawn on a scatter plot near most of the data points, which appear evenly distributed above and below the line.

The scatter plot above shows the mean weights of kittens from the same litter in relation to their age. In this case, a line of fit could be drawn quite seamlessly. When drawing such a line of fit, the following characteristics should be considered.

• The data needs to have either a positive or negative correlation.
• While a line of fit is not unique and does not create an exact distribution, ideally, about half of the points should be above the line and about half below the line.
• An equation of the line can be found using two of its points. These points do not necessarily belong to the bivariate data set.
Ultimately, a line of fit can be used to make predictions and generalize the trends of data sets. Additionally, when a line of fit is determined using strict mathematical methods, it is commonly referred to as a line of best fit.
Example

## Analyzing Daily Situations Using Scatter Plots and Lines of Fit

At an aquatic park, a student-volunteer named Tadeo noticed a dedicated person who swims long distances in the lazy lagoon every Saturday morning.

Tadeo is amazed and wants to analyze how many calories the swimmer burns compared to the distance swam. He observes and records the swimmer diligently.

Distance (km) Calories Burned
a Make a scatter plot of the data.
b What type of correlation does the data have? Justify the answer.
c Draw a line of fit for the scatter plot.
d Find an equation for the line of fit.

b Positive, see solution.
d Example Equation:

### Hint

a Let the variable represent the distance and the variable the calories burned.
b How does change as increases?
d Points should be evenly distributed above and below the line of fit.
d Use two points on the line.

### Solution

a To draw the scatter plot, let be the distance in kilometers and the calories burned. With this in mind, the information from the table can be shown on a scatter plot.
b From the scatter plot previously drawn, it can be seen that as the distance increases, the number of calories burned also increases. Therefore, the bivariate data has a positive correlation.
c Since the data has a positive correlation, it can be modeled with a line of fit. The line of fit is not unique. However, ideally, the number of points below and above the line is expected to be similar.
d Because the equation of a line can be found using any two points on the line, two points whose coordinates can be easily identified will be marked on the graph of the line of fit.
For this case, the points and will be used. Substituting these points into the Slope Formula will give the slope of the line. Note that the points on the line do not necessarily match the data on the data set.
Evaluate right-hand side
Now that the slope is known, the equation in point-slope form of a line can be used to find a partial equation of the line of fit.
To complete the equation, any of the two points can be substituted above. For simplicity, will be used.
Solve for
Example

## Making Predictions Using Lines of Fit

Zosia and Vincenzo are poster designers at the aquatic park. Right now, they are promoting a movie about the life of dolphins called Above and Below the Line.

They recorded the number of tickets sold each week with the purpose of using the data to determine whether they should continue to advertise the movie on a billboard. The scatter plot shows the collected data.

a Draw a line of fit for the scatter plot.
b Find an equation for the line of fit in slope-intercept form.
c If the expected number of tickets sold on week is more than Vincenzo and Zosia will keep the movie for at least two more weeks on the billboard. Use the line of fit to predict if the movie stays on the billboard.

a Example Line:
b Example Equation:
c Example Answer: Because the expected number of tickets sold on week is about they may decide to keep the movie.

### Hint

a What type of correlation does the scatter plot have?
b Use two points on the line of fit to find the slope and the intercept of the line.
c Evaluate the equation found in Part B for

### Solution

a The scatter plot shows that the number of tickets sold decreases as time passes. Therefore, the data has a negative correlation and can be modeled by a line of fit. Recall that the line of fit is close to most of the data points, while the points are ideally half above and half below the line of fit.
b The equation of a line in slope-intercept form has the following form.
In this equation, is the slope and the intercept of the line. The slope of the line of fit can be found by using the Slope Formula.
The points and are on the line of fit. This means that they can be substituted in the above formula.
Evaluate right-hand side
The slope can be substituted to obtain a partial equation of the line of fit.
Now, the intercept can be found by substituting any of the points into the partial equation. In this case, will be used.
Solve for
Finally, the equation of the line of fit can be completed by substituting for
c The line of fit describes the trend of the data. This means that it can be used to predict how many tickets would be sold on the week. Therefore, by evaluating the equation of the line of fit for the expected number of tickets sold can be found.
Evaluate right-hand side
In week the expected number of tickets sold is which is greater than the minimum required by Vincenzo and Zosia. Therefore, they may decide to keep the movie on the billboard for at least two more weeks.
Closure

## Applying Lines of Fit to Solve Real-Life Situations

In this lesson, it was taught how to analyze bivariate data using scatter plots and lines of fit. These mathematical concepts can now be used to solve the Challenge. It is now recognizable that Magdalena created a scatter plot to show the aquatic park visitors in relation to the temperatures.

Help Magdalena predict if more than people are expected to attend the park next week, given that the temperature will be around Justify the prediction.

Yes, see solution.

### Hint

Begin by drawing a line of fit for the scatter plot. Then, use two points on the line to find its equation. Finally, evaluate the equation for

### Solution

The scatter plot shows that the number of attendants increases as the temperature increases, which means the data has a positive correlation. Therefore, it can be modeled with a line of fit.

By finding the equation of the line of fit, it can be predicted how many people would attend the park if the temperature is about To do so, the equation in slope-intercept form of a line can be used.
In this equation, is the slope and the intercept of the line. The slope can be calculated by using the Slope Formula.
Because the points and are on the line of fit, they will be used to find the slope.
Evaluate right-hand side
Now, the slope can be substituted to obtain a partial equation of the line of fit.
By substituting one of the points on the line of fit, the intercept can be found. In this case, will be used.
Solve for
Therefore, the intercept is With this information, the equation of the line of fit can be written.
Finally, using this equation, the number of people that would attend the park if the temperature is about can be predicted. To do so, the equation needs to be evaluated for
It is expected that more than people will attend the park next week. What a brilliant way to make a prediction. Magdalena has really helped the aquatic park prepare for the influx of visitors surely to come.