Sign In
Begin by making a scatter plot of the data points in the form (year, price). Then, draw a trend line considering the fact that the number of years cannot be negative.
Example Trend Line: y=12.5x
We have been given the following table that shows the relationship between ounces and calories.
Ounces | 8 | 12 | 16 | 20 |
---|---|---|---|---|
Calories | 100 | 151 | 202 | 250 |
Using this table, we will write an equation of a trend line. To do so, let's begin by making a scatter plot of the data points in the form (ounces, calories).
Now, we can draw a trend line considering the fact that the numbers of calories and ounces cannot be negative. Note that this is a line drawn on the scatter plot that is as close to as many data points as possible.
Substitute (8,100) & (20,250)
Subtract terms
Calculate quotient
x=8, y=100
Multiply
LHS−100=RHS−100
Rearrange equation
The line of best fit is a trend line that shows the relationship between two sets of data most accurately. It can be found by using a graphing calculator. To do so, we first make a scatter plot of the data. We push STAT, choose Edit, and then enter the values in the first two columns.
Having entered the values, we can plot in a scatter plot them by pushing 2nd and Y=. Then, we will choose one of the plots in the list. Make sure you turn the Plot1 ON,
choose the type to be a scatter plot, and assign L1
and L2
as XList
and Ylist.
We can pick whatever type of mark we want.
Pushing the GRAPH button will tell the calculator to plot the data set. If we are using a standard viewing window, we will need to change the settings so that we can see all of the data points.
Finally, to view the linear regression analysis of the data set, we press STAT, scroll to right to view the CALC options, and then choose the fourth option in the list, LinReg.