00:01
So we're looking at people wearing seatbelts and not wearing seatbelts children and finding out how many days they stay in the icu.
00:07
And so we're going to assume that those students with a seatbelt have equal stay in the hospital as those who do not wear a seatbelt.
00:18
And alternately, that these seat -beled children have a mean stay less than those who are not seat -beled.
00:24
And so we're assuming that the difference between these two seatbelt minus not seatbelt is zero.
00:36
And we're actually getting something that's negative.
00:39
And this will be our p value.
00:40
So let's look at the data and let's get our test statistic.
00:44
And we had sample sizes, two sample sizes.
00:47
One sample size was 123 and the other was 290.
00:51
So that was for the seatbelt.
00:54
And this is for the non -seat belt.
00:57
And so we're going to use degrees of freedom of 122 to be conservative.
01:02
And there are relatively large sample sizes anyway.
01:05
And so let's find our test statistic.
01:08
And we have our 0 .83 minus our 1 .39.
01:13
And then we're going to divide that by the standard deviation of the seat belted group squared, divided by the sample size.
01:22
And then the standard deviation of the non -seat belted children divided by the sample size of it.
01:32
And when we do that calculation, we get the test statistic comes out to be negative 2 .330.
01:40
And so now we want to find, and that's what this value is, we want to find a likelihood if the difference is actually zero or the means are equal, how likely is this number or more extreme to come up.
01:54
And so i'm going to use my tcdf to find this, my tcdf, and i'm going to use negative.
02:04
Well, mine already has negative 1 times 10 to the 99th hour in it.
02:08
And then our upper value is going to be that negative 2 .330.
02:14
My degrees of freedom is again the 122.
02:17
And i will paste and let that do the calculation.
02:21
And i have a p value of about 1%.
02:24
And that is less than my 5 % significance level.
02:28
So i definitely have sufficient evidence to reject the null, meaning that we believe that the children that had seatbelts on have a smaller stay in icu than those that are.
02:48
Our non -seat belt.
02:49
And again, you'd write a nice sentence for that.
02:51
So now we want to find the confidence interval...