Using StatCrunch to perform hypothesis testing on two matched pair means of acting award ages10/16/2018 Intro Howdy! I’m Professor Curtis of Aspire Mountain Academy here with more statistics homework hep, Today we’re going to learn how to use StatCrunch to perform hypothesis testing on two matched pair means of acting award ages. Here's our problem statement: The following data list the ages of a random selection of actresses when they won an award in the category of Best Actress along with the ages of actors when they won in the category of Best Actor. The ages are matched according to the year that the awards were presented. Complete Parts A and B below. Part A OK, the first part of Part A asks us to find the null and alternative hypothesis for a hypothesis test. We’re asked to use a 5% significance level to test the claim that, for the population of ages of best actresses and best actors, the differences have a mean less than zero, indicating that the best actresses are generally younger than the best actors. OK, so the null hypothesis by definition is a statement of equality. And the claimed value here is going to be zero; we get that from the problem statement. And then the claim is just going to be that the main difference is less than zero, which is the claimed value. I check the answer. Well done! Now the next part of Part A asks me to identify the test statistic. To do this, I’m going to take this data, and I’m going to dump it into StatCrunch. Here’s my data in StatCrunch. I’m going to resize this window so we can see everything a bit better. OK, here's my data in StatCrunch. So now we’re looking at matched pairs here. And the reason why we know they’re matched pairs is that there's a unique value for the actor age for every value of the actress age, and they’re uniquely paired together. So that tells me I have matched pairs. So in StatCrunch I’m going to go to Stat –> T Stats –> Paired. And here in my options window, I need to tell StatCrunch where my data is located. So which goes in Sample 1, and which goes in Sample 2? Well, generally it's going to be the order in which they are listed in the problem statement. Here the actress is listed first, the actor is listed second, so that’s the order I’m going to put them in here in my options window. We want the hypothesis test to make sure these values match what we have earlier. And now they do. I hit Compute! and here is my test statistic in the results window. The second to last number in that table in the results window is always your test statistic. I’m asked to round to two decimal places. Nice work! And now the next part in Part A asks me to identify the Pvalue. I also get that from the table here in my results window. It's the last value in that table that you see right here in the end. I’m asked to round that number to three decimal places. Well done! And now the final part of Part A asks me to make a conclusion on the hypothesis test. We’re going to compare the Pvalue here with the significance level. Our significance level, if you remember, here is 5%. So we compare that with our Pvalue, which is about 1.6%., so definitely less than 5%. So we’re less than our significance level. That means we’re inside the region of rejection, and therefore we’re going to reject the null hypothesis. Every time you reject the null hypothesis, “there is sufficient evidence.” I check my answer. Nice work! Part B Now Part B has two parts to it. The first part of Part B asks me to construct a confidence interval based on the hypothesis test that we just conducted. I could go through the menu options in StatCrunch again, or I could just go up here to Options –> Edit and I'm back into my options window. I click the radio button for Confidence Interval, and now I need to make sure I have the right confidence level. So back here in StatCrunch, our significance level is 5%, but we’re looking at matched pairs.
So normally we would just take the confidence level as the complement of our significance level. But because we have matched pairs, we have to take the complement of two alpha — so I’m taking the complement of 10%, not the complement of 5%. The complement of 10% is 90%. And I could put the extra zero here, but I don’t have to; it’s all the same number. I hit Compute! and here in my results window the lower and upper limits of my confidence interval. So I come back down here. I put those numbers here in my answer fields. Nice work! And the final piece asks, “What feature of the confidence interval leads to the same conclusion reached in Part A? Well, here we’re going to go back and look at our null hypothesis. Remember, our null hypothesis is that the mean of the differences is zero. So we look to see if zero is part of our confidence interval. Zero is outside of the confidence interval; in fact, zero is up here ahead of our confidence interval. So all the values that we get in our confidence interval are going to be less than zero. So the confidence interval contains only negative numbers and, because zero's not a part of that, that means we’re, you know, 90% confident that zero is not going to be the mean of the differences. Therefore, we could say that the null hypothesis is going to be rejected, because that’s what the null hypothesis says. The null hypothesis says that it’s zero, but here zero’s not a part of our confidence interval, so we’re pretty confident it's not zero. And therefore were going to reject the null hypothesis. Nice work! And that's how we do it at Aspire Mountain Academy. Be sure to leave your comments below and let us know how good a job we did or how we can improve. And if your stats teacher is boring or just doesn't want to help you learn stats, go to aspiremountainacademy.com, where you can learn more about accessing our lecture videos or provide feedback on what you’d like to see. Thanks for watching! We’ll see you in the next video.
12 Comments
Adam
11/11/2019 03:12:19 pm
Thank you so much! Instructions were absolutely clear and understandable. My professor confused me in class, but this was so easy to understand
Reply
Prof. Curtis
6/29/2020 11:39:36 am
Yeah, one thing I've learned about statisticians is they don't think like the rest of us, so what makes perfect sense to them often looks like a confused mess to everyone else. Glad I could help you clear away your confusion!
Reply
Lavinia Harris
4/26/2020 06:45:19 pm
Thank you! My teacher is awesome, but I have hard time using statdisk to upload my data from the homework assignments. I followed this video and it made my life easier. Thank you again
Reply
Prof. Curtis
6/29/2020 11:38:03 am
You're most welcome. Please tell your friends about all this so they can be helped as well.
Reply
Elizabeth
5/10/2020 01:51:46 am
THANK YOU FOR SHOWING ME HOW TO DO THIS TYPE OF QUESTIONS I AM UNDERSTANDING IT MUCH MORE NOW !!
Reply
Prof. Curtis
6/29/2020 11:36:54 am
Thanks for your comments. I'm happy to make new videos by request, but simply copying the text of your problem statement doesn't help me much because instructors for the Pearson course have access to a database of literally hundreds of problems they can use to make their assignments. Those assignments are not the same for all students everywhere. BUT what is the same is the problem ID number you can find at the top left corner of your screen when looking at your problem. You can use that number to find a video for your problem in two ways: (1) On the website, go to the problem index page and scroll down the list of problems (they're organized by ID #) and then click on the link next to it, OR (2) go to our YouTube channel and search for the video by entering "AspireMtnAcademy" and the problem ID # in the search field. If I don't have the video made, you can request it, and I'll put it in my queue to get made. Hope that helps you. And glad to hear about your success!
Reply
Professor Curtis is the man. Has such a great way of simplifying complex concepts. I always wait for the "Niiice Woooork" and "Fantastique!!" sing along when he gets the answer right, which he seems to do every time lol. I do it my self now every time I get an answer right. TY :)
Reply
Prof. Curtis
6/29/2020 11:29:04 am
Oh, yeah, life's way more fun when you make it a musical! Glad to hear I could help. Please tell all your friends about what I do here so more people can be helped.
Reply
Tina Tran
12/10/2020 05:27:34 am
Hi I was wondering how you get access to Statcrunch?
Reply
Tammy
8/7/2021 10:00:37 pm
You guys have saved my grade! I take online classes and it has been so hard trying to figure out how to navigate StatCrunch. LIFESAVERS!
Reply
Rebecca Donton
11/28/2022 05:21:57 pm
Your statcrunch walk throughs have helped me very much in my statistics online class. Thank you!
Reply
Lily
4/30/2023 07:13:23 pm
Thank you so much!!!!
Reply
Leave a Reply. 
AuthorFrustrated with a particular MyStatLab/MyMathLab homework problem? No worries! I'm Professor Curtis, and I'm here to help. Archives
July 2020

Stats

Company 
