{"id":559,"date":"2017-04-15T03:27:27","date_gmt":"2017-04-15T03:27:27","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/conceptstest1\/chapter\/assignment-using-technology-with-data-to-run-a-hypothesis-test\/"},"modified":"2017-05-31T04:16:04","modified_gmt":"2017-05-31T04:16:04","slug":"assignment-using-technology-with-data-to-run-a-hypothesis-test","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/chapter\/assignment-using-technology-with-data-to-run-a-hypothesis-test\/","title":{"raw":"Assignment: Using Technology with Data to Run a Hypothesis Test","rendered":"Assignment: Using Technology with Data to Run a Hypothesis Test"},"content":{"raw":"&nbsp;\r\n\r\nThe purpose of this activity is to give you guided practice in carrying out the two-sample t-test, and to show you how to use software to aid in the process.\r\n<h3>Background<\/h3>\r\nDo undergraduates sleep less than graduate students? A student conducted a study of sleep habits at a large state university. His hypothesis is that undergraduates will party more and sleep less than graduate students. He surveyed random samples of 75 undergraduate students and 50 graduate students. Subjects reported the hours they sleep in a typical night.\r\n\r\nFor this hypothesis test, he defined the population means as follows:\r\n<ul>\r\n \t<li>\u03bc<sub>1<\/sub> is the mean number of hours undergraduate students sleep in a typical night.<\/li>\r\n \t<li>\u03bc<sub>2<\/sub> is the mean number of hours graduate students sleep in a typical night.<\/li>\r\n<\/ul>\r\n<h3>Question 1:<\/h3>\r\nState the null and alternative hypotheses that are being tested here.\r\n<h3>Question 2:<\/h3>\r\nExplain why we can safely use the two-sample T-test in this case.\r\n\r\n<strong>Comment:<\/strong> Before we move on to carry out the test, it is important to realize that in the two-sample problem, the data can be provided in three possible ways:\r\n\r\n(i) Sample data in one column, and another column that indicates which sample the observation belongs to. Recall that this is the way the data were given in our leading example (looks vs. personality score and gender):\r\n\r\n<img class=\"alignnone\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/1729\/2017\/04\/15032710\/m10_inference_mean_topic_10_4_m10_hypo_test_diff_two_pop_prop_2_image405.gif\" alt=\"Column chart with looks vs. personality (Y) score in one column, and gender (X) in another column. \" width=\"194\" height=\"167\" \/>&nbsp;\r\n\r\nNote that essentially, one column contains the explanatory variable, and one contains the response.\r\n\r\n(ii) Sample data in different columns\u2014data from each of the two samples appear in a column dedicated to that category. As you'll see, this is the way the data are provided in this example:\r\n\r\n<img class=\"alignnone\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/1729\/2017\/04\/15032711\/m10_inference_mean_topic_10_4_m10_hypo_test_diff_two_pop_prop_2_image406.gif\" alt=\"Columns of data. Undergraduate and graduate columns. \" width=\"265\" height=\"100\" \/>&nbsp;\r\n\r\n(iii) Summarized data\u2014we are not given the actual data, but just the data summaries: sample sizes, sample means and sample standard deviations of both samples. Recall that in our second example, the data were given in this format.\r\n\r\n<img class=\"alignnone\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/1729\/2017\/04\/15032713\/m10_inference_mean_topic_10_4_m10_hypo_test_diff_two_pop_prop_2_image407.gif\" alt=\"columns of summarized data. One column has ages: 20-29 years old and 75+ years old. Data summaries: sample sizes, sample means and sample standard deviations of both samples.\" width=\"339\" height=\"113\" \/>\r\n<h3>Instructions<\/h3>\r\nClick on the link corresponding to your statistical package to see instructions for completing the activity, and then answer the questions below.\r\n\r\n<a href=\"https:\/\/s3-us-west-2.amazonaws.com\/oerfiles\/Concepts+in+Statistics\/assignments\/_u5_m2_lbd2\/_u5_m2_lbd2_r0.html\" target=\"new\"> R <\/a> | <a href=\"https:\/\/s3-us-west-2.amazonaws.com\/oerfiles\/Concepts+in+Statistics\/assignments\/_u5_m2_lbd2\/_u5_m2_lbd2_statcrunch0.html\" target=\"new\"> StatCrunch <\/a> | <a href=\"https:\/\/s3-us-west-2.amazonaws.com\/oerfiles\/Concepts+in+Statistics\/assignments\/_u5_m2_lbd2\/_u5_m2_lbd2_minitab0.html\" target=\"new\"> Minitab <\/a> | <a href=\"https:\/\/s3-us-west-2.amazonaws.com\/oerfiles\/Concepts+in+Statistics\/assignments\/_u5_m2_lbd2\/_u5_m2_lbd2_excel0.html\" target=\"new\"> Excel 2007 <\/a> | <a href=\"https:\/\/s3-us-west-2.amazonaws.com\/oerfiles\/Concepts+in+Statistics\/assignments\/_u5_m2_lbd2\/_u5_m2_lbd2_ti0.html\" target=\"new\"> TI Calculator <\/a>\r\n<h3>Question 3:<\/h3>\r\nCarry out the test and report the test statistic and P-value.\r\n<h3>Question 4:<\/h3>\r\nDraw your conclusions in context.\r\n<h3><\/h3>","rendered":"<p>&nbsp;<\/p>\n<p>The purpose of this activity is to give you guided practice in carrying out the two-sample t-test, and to show you how to use software to aid in the process.<\/p>\n<h3>Background<\/h3>\n<p>Do undergraduates sleep less than graduate students? A student conducted a study of sleep habits at a large state university. His hypothesis is that undergraduates will party more and sleep less than graduate students. He surveyed random samples of 75 undergraduate students and 50 graduate students. Subjects reported the hours they sleep in a typical night.<\/p>\n<p>For this hypothesis test, he defined the population means as follows:<\/p>\n<ul>\n<li>\u03bc<sub>1<\/sub> is the mean number of hours undergraduate students sleep in a typical night.<\/li>\n<li>\u03bc<sub>2<\/sub> is the mean number of hours graduate students sleep in a typical night.<\/li>\n<\/ul>\n<h3>Question 1:<\/h3>\n<p>State the null and alternative hypotheses that are being tested here.<\/p>\n<h3>Question 2:<\/h3>\n<p>Explain why we can safely use the two-sample T-test in this case.<\/p>\n<p><strong>Comment:<\/strong> Before we move on to carry out the test, it is important to realize that in the two-sample problem, the data can be provided in three possible ways:<\/p>\n<p>(i) Sample data in one column, and another column that indicates which sample the observation belongs to. Recall that this is the way the data were given in our leading example (looks vs. personality score and gender):<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/1729\/2017\/04\/15032710\/m10_inference_mean_topic_10_4_m10_hypo_test_diff_two_pop_prop_2_image405.gif\" alt=\"Column chart with looks vs. personality (Y) score in one column, and gender (X) in another column.\" width=\"194\" height=\"167\" \/>&nbsp;<\/p>\n<p>Note that essentially, one column contains the explanatory variable, and one contains the response.<\/p>\n<p>(ii) Sample data in different columns\u2014data from each of the two samples appear in a column dedicated to that category. As you&#8217;ll see, this is the way the data are provided in this example:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/1729\/2017\/04\/15032711\/m10_inference_mean_topic_10_4_m10_hypo_test_diff_two_pop_prop_2_image406.gif\" alt=\"Columns of data. Undergraduate and graduate columns.\" width=\"265\" height=\"100\" \/>&nbsp;<\/p>\n<p>(iii) Summarized data\u2014we are not given the actual data, but just the data summaries: sample sizes, sample means and sample standard deviations of both samples. Recall that in our second example, the data were given in this format.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/1729\/2017\/04\/15032713\/m10_inference_mean_topic_10_4_m10_hypo_test_diff_two_pop_prop_2_image407.gif\" alt=\"columns of summarized data. One column has ages: 20-29 years old and 75+ years old. Data summaries: sample sizes, sample means and sample standard deviations of both samples.\" width=\"339\" height=\"113\" \/><\/p>\n<h3>Instructions<\/h3>\n<p>Click on the link corresponding to your statistical package to see instructions for completing the activity, and then answer the questions below.<\/p>\n<p><a href=\"https:\/\/s3-us-west-2.amazonaws.com\/oerfiles\/Concepts+in+Statistics\/assignments\/_u5_m2_lbd2\/_u5_m2_lbd2_r0.html\" target=\"new\"> R <\/a> | <a href=\"https:\/\/s3-us-west-2.amazonaws.com\/oerfiles\/Concepts+in+Statistics\/assignments\/_u5_m2_lbd2\/_u5_m2_lbd2_statcrunch0.html\" target=\"new\"> StatCrunch <\/a> | <a href=\"https:\/\/s3-us-west-2.amazonaws.com\/oerfiles\/Concepts+in+Statistics\/assignments\/_u5_m2_lbd2\/_u5_m2_lbd2_minitab0.html\" target=\"new\"> Minitab <\/a> | <a href=\"https:\/\/s3-us-west-2.amazonaws.com\/oerfiles\/Concepts+in+Statistics\/assignments\/_u5_m2_lbd2\/_u5_m2_lbd2_excel0.html\" target=\"new\"> Excel 2007 <\/a> | <a href=\"https:\/\/s3-us-west-2.amazonaws.com\/oerfiles\/Concepts+in+Statistics\/assignments\/_u5_m2_lbd2\/_u5_m2_lbd2_ti0.html\" target=\"new\"> TI Calculator <\/a><\/p>\n<h3>Question 3:<\/h3>\n<p>Carry out the test and report the test statistic and P-value.<\/p>\n<h3>Question 4:<\/h3>\n<p>Draw your conclusions in context.<\/p>\n<h3><\/h3>\n\n\t\t\t <section class=\"citations-section\" role=\"contentinfo\">\n\t\t\t <h3>Candela Citations<\/h3>\n\t\t\t\t\t <div>\n\t\t\t\t\t\t <div id=\"citation-list-559\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Shared previously<\/div><ul class=\"citation-list\"><li>Concepts in Statistics. <strong>Provided by<\/strong>: Open Learning Initiative. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/oli.cmu.edu\">http:\/\/oli.cmu.edu<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section>","protected":false},"author":163,"menu_order":25,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc\",\"description\":\"Concepts in Statistics\",\"author\":\"\",\"organization\":\"Open Learning Initiative\",\"url\":\"http:\/\/oli.cmu.edu\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"}]","CANDELA_OUTCOMES_GUID":"42d99716-e4a1-4b31-ae10-22e50b365052","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-559","chapter","type-chapter","status-publish","hentry"],"part":474,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/pressbooks\/v2\/chapters\/559","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/wp\/v2\/users\/163"}],"version-history":[{"count":6,"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/pressbooks\/v2\/chapters\/559\/revisions"}],"predecessor-version":[{"id":1510,"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/pressbooks\/v2\/chapters\/559\/revisions\/1510"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/pressbooks\/v2\/parts\/474"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/pressbooks\/v2\/chapters\/559\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/wp\/v2\/media?parent=559"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/pressbooks\/v2\/chapter-type?post=559"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/wp\/v2\/contributor?post=559"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/suny-wmopen-concepts-statistics\/wp-json\/wp\/v2\/license?post=559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}