1. Home
  2. Explore
  3. Statistics
  4. Confidence Interval Critical Values

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Confidence Interval Critical Values

Transcript

Rebbecca Guevara: Alright. So these are the remaining 8 questions that would be on your exam. So remember, the 1st 22 were just Rebbecca Guevara: problems that came from Exam 1, 2, and 3, or approximately, and then these are the ones that are our new problems that we haven't done on exam before. Rebbecca Guevara: Alright. Rebbecca Guevara: So the 1st one here we want to find the critical value, Ec. Rebbecca Guevara: For a confidence interval of 98% in a sample size of 29 Rebbecca Guevara: when we were looking for our ease. We needed to know Rebbecca Guevara: 2 things. We need to know the level of confidence where we need to know an alpha level. If we're doing hypothesis. But since we're doing confidence intervals, we just need the level of confidence, and we need degrees of freedom.

Rebbecca Guevara: the degrees of freedom. We're always one minus or minus one. Rebbecca Guevara: So our N is 29. So it's gonna be 29 minus one. We have 28 degrees of freedom. Rebbecca Guevara: Alright. So if we went to the table here. Rebbecca Guevara: So we're just trying to find that level of confidence which is right here. Rebbecca Guevara: Tim, I do this so we can kind of see where we're going. That's my level of confidence. Rebbecca Guevara: And if I go down.

Rebbecca Guevara: just need to find those 28 degrees of freedom, which is right here. Rebbecca Guevara: So my PC will be 2.4 6 7. Rebbecca Guevara: Okay. Rebbecca Guevara: so for this next part here, we're going to be looking at a confidence interval. And this is the case where Rebbecca Guevara: we know us. Rebbecca Guevara: So we know the sample standard deviation Rebbecca Guevara: is what we have here. So what we don't know Rebbecca Guevara: is, we don't know what Sigma is, which is our population standard deviation.

Rebbecca Guevara: but because what we know is sample standard deviation. Rebbecca Guevara: This means I have to find a t 4. Rebbecca Guevara: Okay, so find that again, we want to find this. Cp. Rebbecca Guevara: we know that our level of confidence is 90 Rebbecca Guevara: are 0 point 9 0. Our degrees of freedom Rebbecca Guevara: is going to be N minus one. So for us, and it's 15. So this will be 15 minus one, and it will be 14.

Rebbecca Guevara: Okay, so let me go back and get our key table. Rebbecca Guevara: There it is. Rebbecca Guevara: So we are looking for a confidence level of 90%. And then we want a level of confidence.

Rebbecca Guevara: a 15 Rebbecca Guevara: or sorry level, not level confidence. We have a level of confidence of 90%, and we want degrees of freedom of 14, which is right here. Rebbecca Guevara: So we get is that my T is gonna have to be 1.7 6 1. Rebbecca Guevara: Okay, let's go back over here now to a actual problem that we were working on.

Rebbecca Guevara: Oh, no, there we go, or my breathing for a second. Rebbecca Guevara: Okay, so if we want a comp an interval. Rebbecca Guevara: It's always our point estimate, which is our X bar in our case, plus or minus. Rebbecca Guevara: It's going to be that E score. And then this time we're going to have S divided by the square root Rebbecca Guevara: of N.

Rebbecca Guevara: So Rx Bar, our point estimates, this is my sample mean, it's 13.9. Rebbecca Guevara: My P. Score is 1.7 6 1 Rebbecca Guevara: my s. My sample standard deviation is 0 point 7 6, Rebbecca Guevara: and then my sample size is supposed to 15. That's the square root of 15. Rebbecca Guevara: Second, my calculator's me giving me an issue here.

Rebbecca Guevara: Everything's going to be slow today. So 0 point 7 6, divided by the square root of 15, and then we have a Z or T score of 1.7 6 1. Rebbecca Guevara: So this part here, it's my margin of error. Rebbecca Guevara: and what we have is 13.9 plus or minus a margin of error of 0 point 3. Rebbecca Guevara: We'll say 3, 4, 6. Rebbecca Guevara: We only need to run one decimal place. But I'm gonna do a couple extra right now.

Rebbecca Guevara: So if I want that confidence interval. Rebbecca Guevara: it's just going to be the 13.9 minus the 0 point 3 4 6, and the 13.9 plus the 0 point 3 4 6 Rebbecca Guevara: minus point 3 4 6. Rebbecca Guevara: This is going to give me. Rebbecca Guevara: I'm doing a bunch of rounding here, but Rebbecca Guevara: if we round it to one decimal place this would be 13.6, Rebbecca Guevara: and this one here will end up, being Rebbecca Guevara: most row 1314.2 if we round it.

Rebbecca Guevara: So my confidence interval from 13.6 to 14.2. Rebbecca Guevara: So that's where I expect population to mean be mean to be somewhere in there. Rebbecca Guevara: Well, what we have left is hypothesis testing. So we're kind of hitting hypothesis, testing all over place. Rebbecca Guevara: We need a null and alternative hypothesis Rebbecca Guevara: or sorry. Our null and our alternative hypothesis are given. We don't determine whether the hypothesis is a left tail, right tail or 2 tail test. Rebbecca Guevara: we said. What determined the test was your alternative hypothesis.

Rebbecca Guevara: So it is telling me that I expect my mean to be less than 8.2. Rebbecca Guevara: I got our 8.2 here. So we're looking something that is less than it. Rebbecca Guevara: So that's gonna make us be in this side. So that'd be our tail. Rebbecca Guevara: This would end up being a left tail pest. Rebbecca Guevara: just to say here, just in case it was a different way. If my null hypothesis was, Sigma is greater than Rebbecca Guevara: that means I'm looking for values that are greater than an 8.2. So then that would be a right tail.

Rebbecca Guevara: and if your null hypo or so, your alternative hypothesis was simply just not equal to 8.2, Rebbecca Guevara: and that was our two-tailed test Rebbecca Guevara: meant that either I'm looking down here or I'm looking up here. Rebbecca Guevara: Another thing you might be asked is to actually write down what the hypotheses would be. So we have a medical research team is investigating the mean cost of a 30 day supply of certain heart medication. A pharmaceutical company thinks that the mean cost is more than $93. If you want to support this, you want to support this claim, how would you write the null and alternative hypothesis?

Rebbecca Guevara: So the pharmaceutical cause says that the mean cost is more than this, though they claim Rebbecca Guevara: is that my mean? It has to be more than 39. I'm sorry. $93. Rebbecca Guevara: So because this is more and there's no equality, no equal. Rebbecca Guevara: This makes this an alternative hypothesis. Rebbecca Guevara: So my HA. Is just simply going to be my mean is greater than 93.

Rebbecca Guevara: So the opposite of that is going to be your null hypothesis and your null hypothesis always has an equality. Rebbecca Guevara: So if I'm looking for the opposite Rebbecca Guevara: of being greater than 93 well, that would have to be being less than 93, Rebbecca Guevara: or equal to it. Rebbecca Guevara: And like, I said, because the equality is here, make this Rebbecca Guevara: your null hypothesis. So null hypothesis. Is that my mean would have to be less than or equal to Rebbecca Guevara: 93.

Rebbecca Guevara: This one I'm going to have to do in little parts. Rebbecca Guevara: So the p-value of the hypothesis test is going to be shown. Rebbecca Guevara: The P is going to be 0 point 0 7 6 7. We want to use a P. Use the P value to determine whether Rebbecca Guevara: I got interrupted there. So we have our p-value here. So when we use a p-value, decide whether we reject the null hypothesis. Rebbecca Guevara: or we fail to reject it. And we're going to look at a significance level of alpha is Rebbecca Guevara: a point 0 1 1%. Rebbecca Guevara: 0 point 0 5 5% 0 point 1 to 10%. Rebbecca Guevara: So this is my p-value.

Rebbecca Guevara: We reject the null hypothesis. As long as that p-value is less than the alpha value Rebbecca Guevara: or equal to, then we reject. Rebbecca Guevara: If my P. Happens to be greater than Alpha, then we fail to reject. Rebbecca Guevara: and it's always that null hypothesis we're rejecting or not rejecting. Rebbecca Guevara: So the 1st one here do we reject the null hypothesis with a significant level of 0 point 0. 1. Rebbecca Guevara: Well, my p-value is 0 point 0 7 6 Rebbecca Guevara: 7, and that happens to be greater than the alpha of 0 point 0 1. Rebbecca Guevara: So in this case we are going to fail to reject.

Rebbecca Guevara: and we're going to fail to reject, because the P value is greater than the alpha value. Rebbecca Guevara: Alright, it's the second part, let's erase this. Rebbecca Guevara: Now, we have a different alpha level. So we want to know is, do I reject or fail to reject? If my alpha level is 5%. Rebbecca Guevara: So if we look at the 5%, we see that point 0 7 6 7 is still greater than 5. This is still greater. So we're once again, we're going to fail to reject.

Rebbecca Guevara: and we are going to fail to reject the same reason as we did before, because our P value is greater than our alpha value. Rebbecca Guevara: Okay? And our last case here. Rebbecca Guevara: So now, Alpha is 10%. Rebbecca Guevara: And in this case he is actually going to be less than this, so point 0 7 6 7 is less than point 1. Rebbecca Guevara: This case we reject the null hypothesis. Rebbecca Guevara: and we are going to reject it Rebbecca Guevara: because our p-value is less than Alpha.

Rebbecca Guevara: The other way we can test the hypothesis is with critical values. Rebbecca Guevara: So we want to find the critical value for a left tail test Rebbecca Guevara: with a Z score or sorry left tail Rebbecca Guevara: C test with Alpha being 0 point 0 2. So we're looking for a Z score. Rebbecca Guevara: Remember, we're looking for a left tail test. Rebbecca Guevara: So when we're doing the critical values. Rebbecca Guevara: you said that this was my rejection region.

Rebbecca Guevara: and with that rejection region is, it was always equal to our alpha. So our alpha is going to be 0 point 0 2. So that's what we're looking at. Rebbecca Guevara: Okay. Rebbecca Guevara: so with our tables. And like I said, we're doing a left tail. So we're we're looking to an area bound to the left. Rebbecca Guevara: Let me erase this for a second. Rebbecca Guevara: So we're using one of these tables here. So we're trying to find that 2%.

Rebbecca Guevara: So we see that it is roughly, oh, there we go. Rebbecca Guevara: So right there is that 2%. So that is going to be a negative. 2 oops Rebbecca Guevara: not quite there. I was off by a decimal. Rebbecca Guevara: We found that, too, again. Rebbecca Guevara: And these things are a pain to find. Sometimes there you go.

Rebbecca Guevara: We pick the one of these that is closest to point 0 2. Rebbecca Guevara: This is only a point Rebbecca Guevara: 0 0 1 2 way. This is point 0 0 sorry point 0 0 2 way point 0 0 3 away. This is the slightly closer one. Rebbecca Guevara: so that score is going to be. Rebbecca Guevara: We call this one the Z. Naught where we're looking for the critical value score. So it's the Z scores to be negative, 2.0 Rebbecca Guevara: 5.

Rebbecca Guevara: So that was how we find that score. Rebbecca Guevara: Then we just need to figure out which one of these tests matches it. Rebbecca Guevara: So we had said that what we're looking at is an area bound to the left. Rebbecca Guevara: and Alpha should be in that tail. Rebbecca Guevara: So it'd be this one right here. Rebbecca Guevara: So our last 2 questions are going to be just some hypothesis tests. Rebbecca Guevara: So we're going to have one that has C scores and one that has T scores. Rebbecca Guevara: So a nutritionist claims that the mean consumption for an average person is 3.3 pounds.

Rebbecca Guevara: A sample of 50 people shows that the mean tuna consumption to be by a person is 3.2 pounds per year. We assume the population standard deviation. So we're told population standard deviation. Rebbecca Guevara: That's how I know I'm going to use the Z score. Rebbecca Guevara: If I knew S. Then it would look like a T score. Rebbecca Guevara: and then we are going to test our claim at point or 0 point 1.

Rebbecca Guevara: So the claim Rebbecca Guevara: that we were looking at is that tuna consumption is at 3.3. So we didn't say it's greater than this or less than this. We says exactly 3.3. Rebbecca Guevara: So this is an equality that would have to be the null hypothesis. Rebbecca Guevara: So my claim is going to be a null hypothesis. Rebbecca Guevara: That means the alternative. Hypothesis is that Rebbecca Guevara: it's just not going to be Rebbecca Guevara: equal to 3.3 pounds per year.

Rebbecca Guevara: Okay, so we just need to find the test that matches Rebbecca Guevara: and it will be number. It will be F here. Rebbecca Guevara: So we need to identify the standardized test statistic. Rebbecca Guevara: So that means I need to find a Z score. Rebbecca Guevara: And what we're going to do that C score for is always going to be a sample mean. So if we go back to this data, the information that we are given is we're told Rebbecca Guevara: Sigma claim here tells me my mu of 3.3. Rebbecca Guevara: We have a sample Rebbecca Guevara: of 50 people, and we've shown that from that 50 people the consumption was 3.2 pounds per year. Rebbecca Guevara: So X bar is 3.2.

Rebbecca Guevara: We need to do a Z score of the 3.2. So we have to do a Z bar for a mean. Rebbecca Guevara: So it's going to be X bar, minus mu divided by sigma, divided by the square root of N. Rebbecca Guevara: So 3.2 minus 3.3, Rebbecca Guevara: divided by a standard deviation of 1.1 3, which is divided by the square root of 50. Rebbecca Guevara: And remember, if you do this in a calculator, put parentheses here and here.

Rebbecca Guevara: Okay, so we have 3.2 minus 3.3, divided by 1.3 Rebbecca Guevara: point 3, divided by the square root of 50, Rebbecca Guevara: and we get a C score of 0 point 1. How many places 2 decimal places. So this would be negative 0 point 6 3. Rebbecca Guevara: Next thing this question asks us is to do p-value because we're going to do a p-value test. We're not testing critical values. Rebbecca Guevara: So remember, the kind of test I have Rebbecca Guevara: is the 2 tail.

Rebbecca Guevara: So we're going to find this area because we're doing a two-tailed test. Rebbecca Guevara: We're going to have to double that p-value. Rebbecca Guevara: We'll find our Z or not our Z score, but our probability over here. Rebbecca Guevara: Let me see. Rebbecca Guevara: I'll highlight this and make it a little easier Rebbecca Guevara: getting caught again.

Rebbecca Guevara: We know that we're gonna end in a 3 here, I'm just highlighting the 3. Rebbecca Guevara: So we need a negative 0 point 6, we need to find that 0 point 6. Rebbecca Guevara: And we get here that this area Rebbecca Guevara: is 0 point 2 6 1 1.

Rebbecca Guevara: Remember, when we do the p-value of the 2 tail test, this is going to be double that area so double the 0 point 2 6 1 1, Rebbecca Guevara: which is going to give me a point 0 5 2 2 2 Rebbecca Guevara: made a sleep mistake. There. Rebbecca Guevara: I'm slightly off. I was over here. I should have been here. This is the point 0, yeah. Sorry point Rebbecca Guevara: 6 3. Rebbecca Guevara: It's right here. So that area was actually point 2 6 4, 2, 4, 3.

Rebbecca Guevara: It keeps freezing as I'm trying to do it. Rebbecca Guevara: That means this P value would have been 2 times 0 point Rebbecca Guevara: 2 6 4 3, and that would have gave me the 0 point 5 2 8 6. Rebbecca Guevara: Okay? So the last part of this question. Rebbecca Guevara: like, I said, we double that p-value because of the details. Rebbecca Guevara: because that means over here was also 0 point 2 6 4 3.

Rebbecca Guevara: So my last part is my p-value. Rebbecca Guevara: we said, is 0 point 5 2 8 6, and our alpha is 0 point 1. Rebbecca Guevara: So what we have here is P is greater than Alpha. Rebbecca Guevara: and that means that we are going to Rebbecca Guevara: fail to reject the null hypothesis Rebbecca Guevara: and the null hypothesis was my claim. So I also failed to reject the claim.

Rebbecca Guevara: So what I end up saying here? Rebbecca Guevara: okay, so it's neither of these ones. We failed to reduce null hypothesis, not sufficient evidence to reject the claim. Rebbecca Guevara: Yes, so there's not sufficient evidence to reject the claim that the mean to the consumption equal to Rebbecca Guevara: 3.3 Rebbecca Guevara: I wasn't able to reject. Like I said, I failed to reject the null hypothesis, which means I failed to reject the claim. I don't have evidence. Rebbecca Guevara: I get that.

Rebbecca Guevara: Okay, so this one here, this is gonna end up being a critical value with scores. Rebbecca Guevara: So an employment Information Service claims that the mean annual salary for a Senior level product engineer is $99,000. Rebbecca Guevara: So their claim Rebbecca Guevara: is that the mean salary is going to be $99,000, Rebbecca Guevara: the annual salaries in a random sample of 15. So we take a sample of 16 Level Senior Level Product Engineers shown in the table to the right.

Rebbecca Guevara: at an alpha Rebbecca Guevara: of 0 point 1 0. We want to claim to the mean salary is 99. So 1st thing we need to do is we need to figure out what the Rebbecca Guevara: mean and standard deviation are for this data set. Rebbecca Guevara: Okay, so mean and standard deviation.

Rebbecca Guevara: So what we have is we can use the T the like, I said, the Ti 84 app, and we can put in this data. And then we can calculate that mean and standard deviation. I'm going to do that very quickly here in a second. Rebbecca Guevara: Okay. So after I went and calculated those quickly, that was 205.5, and this one is 233.8 6 4 4. Rebbecca Guevara: So I'll be honest, I'll probably gonna give you these ones when we get to the test. Rebbecca Guevara: maybe the time to calculate it.

Rebbecca Guevara: Okay, so right now then, all that information. So we set our Alpha level Rebbecca Guevara: is going to be 0 point 10. We want to claim that the mean salary is 99%. Rebbecca Guevara: So like I said, this was our claim. We have an equality. Rebbecca Guevara: That's a null hypothesis. Rebbecca Guevara: That means so part of hypothesis is that Rebbecca Guevara: mean sellers are just not 99, Rebbecca Guevara: just a second. I go back and recalculate that both numbers are off.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent