00:01
What's up, statcast? my name is erin, and in this video, we're going to be given an example, and we're going to be performing the following steps for it.
00:10
So step a is we're going to state our hypothesis and identify the claim.
00:15
Then we're going to find our critical value.
00:17
Then we're going to compute our test value.
00:19
We're going to make a decision on our test, and then we're going to summarize the results.
00:23
And this is known as the traditional method of hypothesis testing.
00:27
So the example we're given, we're given raw data, and this is a number of pups per pack of montana and idaho wolf packs, and our alpha level is 0 .05.
00:42
So what we want to know is does the variance and the number of pups per pack differ in between these two different locations? so step a, we're going to state our hypothesis and identify our claim.
01:00
And because we just want to know if the variances in the number of pups per pack differ, that is going to tell us something about our alternative hypothesis.
01:13
So it's going to look something like this.
01:17
So this is our null hypothesis, and it's going to be that our variances are equal because the null hypothesis is always that there is no change.
01:32
So our variances are equal to each other.
01:34
Now, our alternative hypothesis is pretty much the exact opposite in this case.
01:40
It's going to be that our variances are not equal to each other.
01:48
And because this is a not equal symbol, this tells us that we're going to be doing a two, two -tailed test.
02:02
So because it's a two -tailed test, our alpha level is going to be divided in two.
02:13
And this is the value that we're going to use for our each table in the next step.
02:22
Sorry, i have a little frog in my throat.
02:26
So step b is find the critical, oh, i'm sorry.
02:30
So step a, so we stated our hypothesis.
02:32
Now we have to identify our plane and our claim is the alternative hypothesis.
02:42
So step b we're going to find our critical value.
02:46
So because we have a two -tail test, our alpha level is now 0 .025 and that's the alpha level we're going to use for our h table.
02:55
So to find the critical value we need to look at the h table.
03:05
And if we pull this up, i'm going to pull the 0 .025 h table up.
03:17
So here's that alpha level, you can see that we're going to need degrees of freedom of the numerator and degrees of freedom of the denominator before we can actually find that critical value.
03:28
So to find that, we have to look at the sample sizes for montana and idaho.
03:33
This is the sample size for montana and this is the sample size for idaho.
03:37
So we have 13 observations for montana and 12 observations for idaho.
03:44
And to find which of these we are going to use as the degrees of freedom for the numerator, we have to calculate the variances of the sample because the larger variance, the larger variance always goes in the numerator.
04:13
So before we find the degrees of freedom that we're going to use on the h table, we have to find the variances of our samples because as you can see we were just given the raw data.
04:27
So we have to calculate those numbers ourselves.
04:34
So what i'm going to do is i'm going to pull up an excel spreadsheet and i'm just going to walk you guys how to calculate these numbers on excel.
04:43
So this is going to be our variance for montana and this is going to be our variance for idaho.
04:48
So i'm going to pull up that excel sheet.
04:53
And i already entered the data.
04:55
So these are our observations for montana, and these are our observations for idaho.
05:02
And i'm just going to go ahead and delete these.
05:04
So i can just show you guys step by step.
05:08
So in this cell, i'm going to calculate the standard deviation because we find the variance by squaring that number.
05:18
So i'm going to put an equal sign.
05:21
I'm going to type in standard deviation.
05:24
And then i'm going to highlight these examples.
05:28
Close those parentheses.
05:31
Enter.
05:32
So this is our standard deviation for the number of pups per pack in montana.
05:37
I'm going to do the same thing for idaho, equal sign.
05:41
Standard deviation.
05:43
Select all the observations.
05:45
Close your parentheses.
05:47
Bam.
05:48
Standard deviation for idaho.
05:51
So to get our variance, we're just going to square these numbers.
05:55
So equal sign, select that cell, and we're gonna square it.
06:02
Same thing.
06:04
Select that cell, we're gonna square it.
06:08
So these are our sample variances, and we can see that montana is bigger.
06:20
So i'm gonna copy these values over onto our whiteboard.
06:28
So the variance for montana was 5 .24.
06:39
And our sample variance for idaho was 2 .52.
06:47
I'm going to round up.
06:54
So this variance, montana's variance, is larger than idaho's variance...