Solutions
Pricing
Log in
Teams
Get started
Log in
Get started
Nonparametric Test
LC
by
Leon Cygman
·
266 views
·
Updated Sep 28, 2020
Share
Embed
Create your own
Audio Transcript
Auto-generated
00:01 - 00:06
Hi. So today we begin our discussion of non Parametric
00:07 - 00:13
tests, all throughout stats one and the first part of
00:13 - 00:17
stats to we assume that our population was normal, what
00:18 - 00:24
non Parametric tests are, or hypothesis tests that are able
00:24 - 00:27
to work with non normal data.
00:29 - 00:33
So Parametric tests the ones that you've been doing.
00:33 - 00:36
That's what they've been called Parametric require a certain distribution
00:37 - 00:38
of the data, and in other words, they have to
00:39 - 00:39
be normal.
00:39 - 00:43
Uh, non Parametric tests do not have to be normal.
00:43 - 00:47
They can come from populations that are different distributions than
00:47 - 00:50
normal. So this is more real life stuff.
00:53 - 00:54
A little bit of misleading terminology here.
00:55 - 01:00
The term, uh, non parametric is misleading because it sounds
01:01 - 01:03
like it's not based on the parameter when in fact
01:03 - 01:05
it is based on some parameters, usually the medium.
01:06 - 01:09
Um, so it really should say non normal Parametric.
01:10 - 01:13
But that's the terminology we use in this science or
01:13 - 01:14
will keep it non parametric.
01:19 - 01:21
So I wanna give you an overview of some of
01:21 - 01:22
the things we'll be doing in this class.
01:23 - 01:25
As I said, we'll be doing four tests.
01:25 - 01:28
There are more than four tests and each of the
01:28 - 01:33
four tests that were doing correspond to, um, correspond to
01:34 - 01:38
test that we've already done in, uh, in in Parametric
01:39 - 01:43
stuff. So, for example, we did the independent t tests,
01:44 - 01:46
and that's that will do the man with me for
01:46 - 01:46
that one.
01:47 - 01:51
We did the paired test paired T test, and that
01:51 - 01:53
one will call the Wilcox and signed rank test.
01:54 - 01:57
We did a one way in Nova and that's called
01:57 - 01:58
the Wallace text.
01:59 - 02:02
And we did, um, repeated in Nova.
02:02 - 02:03
And that's the Friedman test.
02:04 - 02:09
So we'll do four tests for Parametric tests that correspond
02:09 - 02:12
to the four tests that we've already done in this
02:13 - 02:18
course. So here are some of the advantages of non
02:18 - 02:19
Parametric tests.
02:20 - 02:22
Um, first of all there.
02:22 - 02:25
Ah, lot less rigid and therefore they could be applied
02:26 - 02:27
to mawr situations.
02:28 - 02:34
Um, for example, Parametric tests could be categorical data, A
02:34 - 02:36
ZX well, as numeric data.
02:39 - 02:42
However, the disadvantage of of these kinds of tests is
02:44 - 02:47
that they're not as effective as Parametric tests.
02:48 - 02:51
So generally, what we like to see is larger population
02:52 - 03:00
sizes, uh, in order to reject another hypothesis Now, in
03:00 - 03:03
the four tests that we're going to do, we're gonna
03:03 - 03:04
do something called Ranking.
03:05 - 03:11
It's ah, manual way of ordering data from largest to
03:11 - 03:15
smallest from worst to best and so on and so
03:15 - 03:18
forth. And and generally speaking, ranking is is done fairly
03:18 - 03:19
easily in terms off.
03:19 - 03:22
Um, you know, the first number of the lowest number
03:22 - 03:25
is ranked one, and the second number is ranked two
03:25 - 03:26
and so on and so forth.
03:27 - 03:30
Um, so let me show you some some ranking examples.
03:32 - 03:35
Um, but before I do that, I want to explain
03:35 - 03:38
to you how toe handle ties when there is a
03:38 - 03:39
tie involved.
03:39 - 03:42
In other words, two numbers in the sample have the
03:42 - 03:43
same value.
03:44 - 03:47
Then what you do is you average their ranks and
03:47 - 03:49
assign the average to each of those numbers.
03:50 - 03:51
Let me show you an example of what I mean
03:52 - 03:52
by that.
03:52 - 03:56
So here's an example of Ah, a sample that already
03:56 - 03:59
has been sorted from 4 to 12.
04:00 - 04:04
So the first number gets Ah, one makes sense.
04:05 - 04:07
Now there are three fives coming up.
04:07 - 04:10
So generally we would use the the next three numbers.
04:11 - 04:13
You know, 234 and five.
04:13 - 04:16
However, because they're all the same, they can't have different
04:17 - 04:20
ranks. So What we do is we sum up two
04:21 - 04:23
and three and four, divided by three and end up
04:24 - 04:24
with three.
04:25 - 04:31
So the number five is ranked three now, the next
04:31 - 04:34
number in our sequence that we were left counting is
04:34 - 04:36
five. So 10 becomes 5.
04:37 - 04:43
11 becomes six, Um 12 should be seven and eight.
04:43 - 04:47
But in reality, you can't have two different ranks for
04:47 - 04:48
the same number.
04:48 - 04:49
So what again we'll do.
04:49 - 04:51
We'll take 78 divided by to get 7.5.
04:52 - 04:55
So the 2 12 or rank 7.5.
04:57 - 04:58
So, as you can see, each number has a separate
04:59 - 05:01
ranking and numbers that are the same get the same
05:01 - 05:05
ranking with this unusual bit of, uh, finding out the
05:05 - 05:10
averages, um, to do it with with two samples, it's
05:10 - 05:11
a little bit more involved.
05:12 - 05:15
What I do these, you see, the first column is
05:15 - 05:16
not sorted.
05:16 - 05:17
Neither is a second column.
05:17 - 05:21
What I do is is sort them and, uh, I
05:21 - 05:24
kind of line them up with their equal values across
05:25 - 05:25
each other.
05:25 - 05:28
In this way, I can clearly see what numbers are
05:28 - 05:32
repeated. So the 12 and three get 12 and three.
05:32 - 05:35
The four would be, you know, four and five, divided
05:36 - 05:39
by two would be 4.5 Onda.
05:40 - 05:41
Next number would be six.
05:42 - 05:45
The sixes then would be six and seven, which was
05:45 - 05:49
15. Divided by two would be 7.5, and then next
05:49 - 05:51
number would be nine and 10.
05:52 - 05:54
So that's the way I would rank these kinds of
05:54 - 05:55
numbers now.
05:56 - 05:59
Luckily for us, uh, there is a function in spreadsheets
06:00 - 06:04
called rank Average, which has three parameters.
06:05 - 06:10
Has a base number a range and assorted parameter at
06:10 - 06:10
the end.
06:11 - 06:14
Do the rank average in class, and it's really important
06:15 - 06:18
that you understand how it works and how to use
06:18 - 06:22
it, because all these four different non Parametric tests have
06:23 - 06:25
ranking, and that's kind of the most awkward part of
06:25 - 06:26
working with them.
06:26 - 06:28
But if you can use the rank average function effectively,
06:29 - 06:34
the problems become less rigorous and easier to understand and
06:34 - 06:35
easier to do.
06:37 - 06:40
So that's the introduction toe non Parametric tests.
06:40 - 06:43
There are four of them, each correspondent to a test
06:43 - 06:45
we've already done in this class on the Parametric side,
06:46 - 06:48
and I'll show you how to use the rank average
06:49 - 06:52
and class in order to, uh, do The ranking for
06:52 - 06:56
these various tests is okay, That's all for now.
06:56 - 06:57
I'll see you in class by
See full transcript