Return to Video

https:/.../ti-n-spire-2-linear-regression-and-correlation-coefficient.mp4

  • 0:00 - 0:02
    You're going to insert a spreadsheet
  • 0:02 - 0:05
    and you're going to call it
    distance and plant species
  • 0:05 - 0:06
    for x and y as given.
  • 0:08 - 0:11
    X and y and go through
    the data,
  • 0:11 - 0:14
    2, 5, 8, 10, 13
  • 0:14 - 0:21
    2, 5, 8, 10, 13, 17, 23
  • 0:21 - 0:24
    and 35 and 40.
  • 0:27 - 0:30
    And then the y values are...
  • 0:31 - 0:33
    35, 34 to start with.
  • 0:34 - 0:44
    35, 34, 30 29, 24, 19, 15,
  • 0:44 - 0:45
    (inaudible)
  • 0:46 - 0:47
    13 and 8.
  • 0:48 - 0:50
    So our data is all in there.
  • 0:50 - 0:54
    We can stay in this window here
    and we can get all the details we need.
  • 0:54 - 0:56
    We want the mean for each x and y.
  • 0:57 - 1:01
    We can also workout the variants or
    standard deviation for each.
  • 1:01 - 1:05
    We can also work out the r value
    and the equation of linear regression
  • 1:05 - 1:12
    so menu, statistics, statistical
    calculations and that option number three
  • 1:12 - 1:15
    linear regression, mx+b will do it for us.
  • 1:15 - 1:20
    The x list we call it the x variable.
    The y list we call the y variable.
  • 1:21 - 1:24
    It says save regression equation
    to f1 that could come in useful.
  • 1:25 - 1:28
    And that's all we need,
    the result go into column D
  • 1:28 - 1:32
    which is where we are highlighted
    and that's everything you need.
  • 1:33 - 1:35
    So mx+b is the equation regression.
  • 1:35 - 1:40
    The m is the gradient, -0.7079.
  • 1:40 - 1:44
    And the b would be the y-intercept
    which might tally with our graph.
  • 1:45 - 1:49
    And here is the r value, -0.9648.
  • 1:49 - 1:53
    That would classify as very strong
    negative correlation.
  • 1:53 - 1:56
    And as we scroll down we've got
    everything there.
  • 1:56 - 1:59
    I'm going to do something else
    here as well.
  • 2:00 - 2:05
    I'm actually going to go menu,
    statistics, stat calc,
  • 2:05 - 2:06
    two variable statistics.
  • 2:07 - 2:11
    Now this is going to be useful
    for our projects, our interim assessment.
  • 2:12 - 2:15
    You probably wouldn't need this
    for the actual exam,
  • 2:15 - 2:17
    but let's give it a go.
  • 2:18 - 2:24
    Okay, so here is what we might need,
    so the average for x is given there,
  • 2:24 - 2:30
    17 and the standard deviation
    is given here, 12.48.
  • 2:30 - 2:33
    We use this little guy here,
    the sigma notation,
  • 2:33 - 2:35
    rather than the s notation.
  • 2:36 - 2:41
    And y bar is the mean for y
    is 23 and the standard deviation
  • 2:41 - 2:46
    for y given that this little circle
    here sigma is 9.165.
  • 2:47 - 2:49
    And the r value is also calculated here.
  • 2:49 - 2:53
    You can also get the medians in
    quartiles for both x and y.
  • 2:53 - 2:58
    Okay so you'll need to have
    both of those functions available to you.
  • 2:58 - 3:03
    The linear regression function here
    and the two variable statistics.
  • 3:03 - 3:06
    It would also be nice if we went doc,
  • 3:07 - 3:11
    inserts, data and statistics and we
    can actually plot a graph to
  • 3:11 - 3:13
    see what it looks like.
  • 3:16 - 3:17
    There it is.
  • 3:18 - 3:20
    And we can actually super impose
    the line of best fit here.
  • 3:20 - 3:25
    If we go menu, we could go to
    actually analyze and we can
  • 3:25 - 3:30
    actually plot function, because
    do you remember when it was saved?
  • 3:30 - 3:32
    Do you remember where plot
    function was saved?
  • 3:32 - 3:34
    Linear regression... f1.
  • 3:35 - 3:43
    So if we just type in f1 of x,
    it will plot in our equation there.
  • 3:43 - 3:45
    So you got your line of best fit.
  • 3:45 - 3:48
    And your graph should look
    very similar to that.
  • 3:48 - 3:50
    And when you draw your line
    of best fit on your graph
  • 3:50 - 3:52
    it should look like that as well.
  • 3:52 - 3:53
    Okay.
Title:
https:/.../ti-n-spire-2-linear-regression-and-correlation-coefficient.mp4
Video Language:
Greek
Duration:
03:54

English subtitles

Revisions