4.3 Fitting linear models to data

 Page 1 / 14
In this section you will:
• Draw and interpret scatter diagrams.
• Use a graphing utility to find the line of best fit.
• Distinguish between linear and nonlinear relations.
• Fit a regression line to a set of data and use the linear model to make predictions.

A professor is attempting to identify trends among final exam scores. His class has a mixture of students, so he wonders if there is any relationship between age and final exam scores. One way for him to analyze the scores is by creating a diagram that relates the age of each student to the exam score received. In this section, we will examine one such diagram known as a scatter plot.

Drawing and interpreting scatter plots

A scatter plot is a graph of plotted points that may show a relationship between two sets of data. If the relationship is from a linear model , or a model that is nearly linear, the professor can draw conclusions using his knowledge of linear functions. [link] shows a sample scatter plot.

Notice this scatter plot does not indicate a linear relationship . The points do not appear to follow a trend. In other words, there does not appear to be a relationship between the age of the student and the score on the final exam.

Using a scatter plot to investigate cricket chirps

[link] shows the number of cricket chirps in 15 seconds, for several different air temperatures, in degrees Fahrenheit Selected data from http://classic.globe.gov/fsl/scientistsblog/2007/10/. Retrieved Aug 3, 2010 . Plot this data, and determine whether the data appears to be linearly related.

 Chirps 44 35 20.4 33 31 35 18.5 37 26 Temperature 80.5 70.5 57 66 68 72 52 73.5 53

Plotting this data, as depicted in [link] suggests that there may be a trend. We can see from the trend in the data that the number of chirps increases as the temperature increases. The trend appears to be roughly linear, though certainly not perfectly so.

Finding the line of best fit

Once we recognize a need for a linear function to model that data, the natural follow-up question is “what is that linear function?” One way to approximate our linear function is to sketch the line that seems to best fit the data. Then we can extend the line until we can verify the y -intercept. We can approximate the slope of the line by extending it until we can estimate the $\text{\hspace{0.17em}}\frac{\text{rise}}{\text{run}}.$

Finding a line of best fit

Find a linear function that fits the data in [link] by “eyeballing” a line that seems to fit.

On a graph, we could try sketching a line. Using the starting and ending points of our hand drawn line, points (0, 30) and (50, 90), this graph has a slope of

$\begin{array}{l}\hfill \\ \begin{array}{l}m=\frac{60}{50}\hfill \\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}=1.2\hfill \end{array}\hfill \end{array}$

and a y -intercept at 30. This gives an equation of

$T\left(c\right)=1.2c+30$

where $\text{\hspace{0.17em}}c\text{\hspace{0.17em}}$ is the number of chirps in 15 seconds, and $\text{\hspace{0.17em}}T\left(c\right)\text{\hspace{0.17em}}$ is the temperature in degrees Fahrenheit. The resulting equation is represented in [link] .

Recognizing interpolation or extrapolation

While the data for most examples does not fall perfectly on the line, the equation is our best guess as to how the relationship will behave outside of the values for which we have data. We use a process known as interpolation when we predict a value inside the domain and range of the data. The process of extrapolation is used when we predict a value outside the domain and range of the data.

what are you up to?
nothing up todat yet
Miranda
hi
jai
hello
jai
Miranda Drice
jai
aap konsi country se ho
jai
which language is that
Miranda
I am living in india
jai
good
Miranda
what is the formula for calculating algebraic
I think the formula for calculating algebraic is the statement of the equality of two expression stimulate by a set of addition, multiplication, soustraction, division, raising to a power and extraction of Root. U believe by having those in the equation you will be in measure to calculate it
Miranda
state and prove Cayley hamilton therom
hello
Propessor
hi
Miranda
the Cayley hamilton Theorem state if A is a square matrix and if f(x) is its characterics polynomial then f(x)=0 in another ways evey square matrix is a root of its chatacteristics polynomial.
Miranda
hi
jai
hi Miranda
jai
thanks
Propessor
welcome
jai
What is algebra
algebra is a branch of the mathematics to calculate expressions follow.
Miranda
Miranda Drice would you mind teaching me mathematics? I think you are really good at math. I'm not good at it. In fact I hate it. 😅😅😅
Jeffrey
lolll who told you I'm good at it
Miranda
something seems to wispher me to my ear that u are good at it. lol
Jeffrey
lolllll if you say so
Miranda
but seriously, Im really bad at math. And I hate it. But you see, I downloaded this app two months ago hoping to master it.
Jeffrey
which grade are you in though
Miranda
oh woww I understand
Miranda
Jeffrey
Jeffrey
Miranda
how come you finished in college and you don't like math though
Miranda
gotta practice, holmie
Steve
if you never use it you won't be able to appreciate it
Steve
I don't know why. But Im trying to like it.
Jeffrey
yes steve. you're right
Jeffrey
so you better
Miranda
what is the solution of the given equation?
which equation
Miranda
I dont know. lol
Jeffrey
Miranda
Jeffrey
answer and questions in exercise 11.2 sums
how do u calculate inequality of irrational number?
Alaba
give me an example
Chris
and I will walk you through it
Chris
cos (-z)= cos z .
cos(- z)=cos z
Mustafa
what is a algebra
(x+x)3=?
6x
Obed
what is the identity of 1-cos²5x equal to?
__john __05
Kishu
Hi
Abdel
hi
Ye
hi
Nokwanda
C'est comment
Abdel
Hi
Amanda
hello
SORIE
Hiiii
Chinni
hello
Ranjay
hi
ANSHU
hiiii
Chinni
h r u friends
Chinni
yes
Hassan
so is their any Genius in mathematics here let chat guys and get to know each other's
SORIE
I speak French
Abdel
okay no problem since we gather here and get to know each other
SORIE
hi im stupid at math and just wanna join here
Yaona
lol nahhh none of us here are stupid it's just that we have Fast, Medium, and slow learner bro but we all going to work things out together
SORIE
it's 12
what is the function of sine with respect of cosine , graphically
tangent bruh
Steve
cosx.cos2x.cos4x.cos8x
sinx sin2x is linearly dependent
what is a reciprocal
The reciprocal of a number is 1 divided by a number. eg the reciprocal of 10 is 1/10 which is 0.1
Shemmy
Reciprocal is a pair of numbers that, when multiplied together, equal to 1. Example; the reciprocal of 3 is ⅓, because 3 multiplied by ⅓ is equal to 1
Jeza
each term in a sequence below is five times the previous term what is the eighth term in the sequence
I don't understand how radicals works pls
How look for the general solution of a trig function