XYZ Mat 120 Module 1 Lesson 1 8 — Transcript
Full transcript
- 0:00this is section 1.8
- 0:04and module 1. we're looking at
- 0:07linear regression we're going to talk
- 0:09about correlation
- 0:10and regression a correlation exists
- 0:13between two variables when the values of
- 0:15these variables are somehow associated
- 0:17with the values of
- 0:18another variable and so we're going to
- 0:20be looking at an x and a y
- 0:21variable are they related is there some
- 0:23kind of relationship
- 0:25so a linear correlation exists between
- 0:28two variables when
- 0:29the plotted lines result in a pattern
- 0:32that can be approximated
- 0:34by a straight line so what we want to
- 0:36look and see
- 0:37is can we have a straight line
- 0:40so there are types of correlation the
- 0:42first is the positive correlation
- 0:44the positive correlation is if you have
- 0:47data
- 0:48when we plot it you can have a
- 0:52line a line going right through there
- 0:54and we can see that this
- 0:55data pretty much lines up in
- 0:58a positive slope on this line
- 1:02all the dots are not exactly on the line
- 1:04but they're all very close
- 1:06so there is a positive correlation so
- 1:09as x increases y increases and that
- 1:12makes that a positive correlation
- 1:15let's look at a negative correlation
- 1:16that's just like a line with a negative
- 1:18slope
- 1:19so we'll have a line we've got a
- 1:21negative slope coming in this direction
- 1:23again all the dots are not on the line
- 1:25but they're very very close
- 1:27and so we can say that it's a negative
- 1:28correlation as
- 1:30x increases the y's
- 1:33decrease and what we're going to look at
- 1:36is something that's a correlation
- 1:39coefficient in just a minute we're going
- 1:41to call that r so we're going to come
- 1:42back to this
- 1:44if there's no correlation then there is
- 1:46no distinct pattern
- 1:47i can't draw a straight line in this way
- 1:50or that way because of those dots
- 1:52they're all over the place and so there
- 1:54might be no correlation now we're going
- 1:57to look at the strength of the
- 1:58correlation
- 2:00the things that we looked at just a
- 2:01minute ago the first one we saw was a
- 2:03positive correlation
- 2:04we're going to say that r is
- 2:09.859 r is .859
- 2:12if r equals one then you're going to
- 2:16have a perfect straight line
- 2:18but it doesn't equal one but .859
- 2:21is pretty close to 100 percent so pretty
- 2:24close to 1.
- 2:26now look at this negative this is a
- 2:27better correlation because
- 2:29our line almost lines up on the dots a
- 2:34little bit better than on the one for
- 2:35the positive
- 2:36but it is negative so our r for this one
- 2:38is negative 0.97
- 2:40because it's almost a perfect negative
- 2:42correlation
- 2:44so if it were perfect then it would be r
- 2:47equals negative one and you'd have a
- 2:48perfect straight line
- 2:50with a negative slope then we come down
- 2:53to this one that was a
- 2:54scattered bunch of data no correlation
- 2:59r is .074
- 3:020 7 4 that's way away from 1
- 3:05in either the positive or the negative
- 3:07direction
- 3:09so therefore 0.074 makes sense
- 3:13sometimes you have a relationship but it
- 3:15might be non-linear
- 3:17so for this particular one you can see
- 3:20you've got a relationship on these dots
- 3:21but it's a non-linear relationship
- 3:25now a linear correlation
- 3:28uses the coefficient r it measures
- 3:32the strength of that linear relationship
- 3:36between the x and the y values
- 3:39so as i said just a minute ago
- 3:46well let's see what we need to look at
- 3:50before we look at this example
- 3:52is that if r
- 3:55equals 1 that's a perfect
- 3:59positive correlation now it might not be
- 4:03exactly one it could be 0.95 it could be
- 4:060.8
- 4:06and it's still going to be really close
- 4:10but maybe not perfect if r equals
- 4:13negative 1
- 4:15then you have a perfect negative
- 4:17correlation
- 4:19and again it might not be exactly
- 4:21negative 1 it might be negative
- 4:230.97 it might be negative 0.85 but it
- 4:26means that our dots
- 4:27are pretty close in that direction if r
- 4:30equals 0
- 4:31then there is no correlation no
- 4:34relationship the dots are
- 4:35all over the place and so they don't
- 4:38have a relationship
- 4:40so let's look at a couple of homework
- 4:42examples this one
- 4:44says we have some data they've already
- 4:46put the data in the x and y
- 4:48table and that's one of the things
- 4:50you're going to have to do in one of
- 4:51your homework problems
- 4:53is you're going to have to plot x and y
- 4:56and this one comes up with a model that
- 4:59says
- 4:59our line for this data is y
- 5:02equals 1.94 x plus 6.8
- 5:07i don't know if you've recently taken
- 5:08any algebra classes but if you have
- 5:11this should remind you of the slope
- 5:13formula
- 5:14y equals mx plus b and so that's
- 5:18the thing that we're doing we're looking
- 5:20at lines is it a line that goes this way
- 5:22is it a line that that
- 5:24goes that way or is there no perfect
- 5:27line
- 5:27so they're telling us that that is going
- 5:29to be our line
- 5:30and we're asked to find some things it
- 5:32says now use this model
- 5:34to estimate when x equals 5
- 5:39find y so all i'm going to do is i'm
- 5:42going to solve for y
- 5:43so i'm going to say y is equal to
- 5:471.94 they told me they want x to be 5
- 5:51plus 6.48 we're going to do this
- 5:54calculation
- 5:56so in your calculator 1.94
- 6:00times 5 plus
- 6:046.48 and what you say we get is 16.18 so
- 6:09what we've done
- 6:10is we said when x equals 5
- 6:14then y equals 16.18
- 6:18so we've created an ordered pair and
- 6:20then it asks us to do the same thing but
- 6:22this time let x
- 6:23equal to 10 so we'll take our same
- 6:26formula
- 6:27that they gave us 1.94 times
- 6:3110 plus 6.48
- 6:36and that's how i get my 25.88
- 6:39so i've said okay so now when x equals
- 6:4210
- 6:44y equals 25.88
- 6:48and that is using just an equation
- 6:52now let's see how do we find all this
- 6:53stuff so our last example is very
- 6:55comprehensive it's got a lot of things
- 6:57going on
- 6:58it's looking at lengths and weights of
- 7:00alligators
- 7:01and so we have notice an x
- 7:05and a y and what we're going to do is in
- 7:08our calculator we're going to go to stat
- 7:11we're going to go to enter and what i
- 7:13did is i already
- 7:15put an l1 all of the x values
- 7:18116 80 128 101
- 7:2277 93 70.
- 7:27um 84 106 and 97
- 7:31and then i went over to y and i put all
- 7:33of the y values
- 7:34in l2 so in l2 i put 651
- 7:38563 782 515
- 7:42360 506 434
- 7:46486 712 and 580. so i've entered those
- 7:49in l1
- 7:50and l2 now we're asked to find r
- 7:54so let's see how we do that we'll go to
- 7:57stat
- 7:58we'll go to calc this time we're going
- 8:00to go down to
- 8:01linear regression notice on your
- 8:04calculator that says
- 8:05ax plus b that's like the y equals mx
- 8:08plus b it's linear regression
- 8:10we'll hit enter x list should be l1 the
- 8:13y list should be l2
- 8:15and don't put anything in any of the
- 8:17others so the frequency list just clear
- 8:19that out
- 8:20the store reg equation just leave that
- 8:23out and then calculate it
- 8:25and you should get something that looks
- 8:26like this you're going to have y equals
- 8:28ax plus b
- 8:30you have the a value you have the b
- 8:31value you have an r
- 8:33squared and you have an r the question
- 8:35is what is
- 8:36r r is the correlation coefficient
- 8:39that's 0.872
- 8:41what does that mean before we do
- 8:43anything with that
- 8:450.872 means there
- 8:47is a pretty good relationship when we
- 8:50dot
- 8:51when we plot these points that you'll
- 8:54get
- 8:55nearly a straight line so it's not
- 8:57exactly straight
- 8:58it's not perfect but that .87 is a
- 9:02pretty good positive relationship and
- 9:04that's how that's going to look
- 9:05so that means the longer the alligator
- 9:07is the more it's going to weigh
- 9:10then we want to find the equation of the
- 9:11regression line well that's
- 9:13ax plus b notice we have up here a
- 9:17is 6.12 so we'll just go ahead and write
- 9:19that down a equals 6.12
- 9:22you see that in your calculator b is
- 9:24negative 24.10
- 9:27so b is negative 24.10
- 9:30but we want a x we want to put the x
- 9:33there
- 9:34so when i write this equation i'm going
- 9:36to write y
- 9:37equals 6.12 x minus
- 9:4124.10 or you can just put 24.1
- 9:45then it says okay now you've got the
- 9:47equation predict the weight
- 9:50of an alligator now remember weight is
- 9:51your y value predict the weight
- 9:54that is 87 inches long that means let x
- 9:57equal 87.
- 9:59so i'm going to take my equation that i
- 10:01just found
- 10:02and do 6.12
- 10:05times 87 because that's now x minus
- 10:1024.10 and then we'll get 508.34
- 10:15so if an alligator is 87
- 10:18inches long then the weight is predicted
- 10:20to be about 508.34 based on this
- 10:23knowing it's not exact that's just a
- 10:26really close
- 10:27estimate would it be meaningful to use
- 10:30this model to predict
- 10:32the weight of an alligator that is 235
- 10:34inches long
- 10:36so let's look at that i said no for that
- 10:38if i'm looking for 235 look at all of
- 10:41these values
- 10:43235 is nowhere near these
- 10:46the largest link the longest length you
- 10:48see is 128
- 10:50so it would not be meaningful because of
- 10:53the data values that we're given
About this transcript
This page contains the full transcript of XYZ Mat 120 Module 1 Lesson 1 8 by Lynn Rickabaugh, generated from the public captions YouTube serves with the video. The transcript has 1,592 words across 272 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.