{"id":159,"date":"2018-03-04T02:47:00","date_gmt":"2018-03-04T01:47:00","guid":{"rendered":"https:\/\/kindsonthegenius.com\/blog\/2018\/03\/04\/hypothesis-testing-problems-question-5-a-clinic-provides-a-program-to\/"},"modified":"2019-03-29T17:53:53","modified_gmt":"2019-03-29T16:53:53","slug":"hypothesis-testing-problems-question-5-a-clinic-provides-a-program-to","status":"publish","type":"post","link":"https:\/\/kindsonthegenius.com\/blog\/hypothesis-testing-problems-question-5-a-clinic-provides-a-program-to\/","title":{"rendered":"Hypothesis Testing Problems &#8211; Question 5 ( A clinic provides a program to&#8230;"},"content":{"rendered":"<div style=\"color: #555555; font-size: 18px; line-height: 30px; text-align: justify;\">\n<div style=\"font-family: 'segoe ui';\">\n<div style=\"text-align: center;\"><span style=\"font-size: large;\"><b><span style=\"color: #cc0000;\"><span style=\"color: black;\">&nbsp;How to Perform Paired-Sample t-Test<\/span><\/span><\/b><\/span><\/div>\n<p><span style=\"font-size: large;\"><b><span style=\"color: #cc0000;\">Question<\/span> <\/b><\/span><br \/>A clinic provides a program to help their clients lose weight and asks a consumer agency to investigate the effectiveness of the program. The agency takes a sample of 15 people, weighing each person in the sample before the program begins and 3 months later.<br \/>The results a tabulated below<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/2.bp.blogspot.com\/-4NtiDYv3KWA\/WptN-pZ2YdI\/AAAAAAAABAI\/AVd6ybV-ar8zCX4XBNIQwGw4iKrS5jxUQCLcBGAs\/s1600\/Weight-Loss.jpg\" style=\"margin-left: 1em; margin-right: 1em;\"><img decoding=\"async\" loading=\"lazy\" border=\"0\" data-original-height=\"598\" data-original-width=\"451\" height=\"320\" src=\"https:\/\/2.bp.blogspot.com\/-4NtiDYv3KWA\/WptN-pZ2YdI\/AAAAAAAABAI\/AVd6ybV-ar8zCX4XBNIQwGw4iKrS5jxUQCLcBGAs\/s320\/Weight-Loss.jpg\" width=\"240\" \/><\/a><\/div>\n<p>Determine is the program is effective.<\/p>\n<p><span style=\"font-size: large;\"><br \/><\/span><span style=\"color: #274e13;\"><span style=\"font-size: large;\"><b>Solution Steps<\/b><\/span><\/span><br \/>As usual, you need to try to understand the question clearly. And note the following:<br \/>there are wo samples<br \/>we want to compare before&#8230; and after&#8230;<\/p>\n<p><b>Step 1: Set up the null hypothesis and the alternate hypothesis<\/b><br \/>&nbsp;From the question, we can say that the initial assumption is that the program is effective. Which means that the average weight after the program would be significantly different from before the program. This forms out alternate hypothesis. The null hypothesis states that there is no difference in weight before and after the program <\/p>\n<p><b>H<sub>0<\/sub>:<\/b> \u03bc<sub>0<\/sub> = \u03bc<sub>1<\/sub><br \/><b>H<sub>a<\/sub><\/b>: \u03bc<sub>0<\/sub> &lt;= \u03bc<sub>1<\/sub><\/p>\n<p><b>Step 2: Expand the given table to calculate the difference and square differences<\/b><br \/>This can be done using excel. Also, if the difference is not given, you can calculate it in excel.<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/1.bp.blogspot.com\/-Yj04BqkwXpY\/WptXEAOICwI\/AAAAAAAABAY\/_dxYhRm3oa8hJs-nNXWFlWwk72p7SQXKwCLcBGAs\/s1600\/Weight-Loss2.jpg\" style=\"margin-left: 1em; margin-right: 1em;\"><img decoding=\"async\" loading=\"lazy\" border=\"0\" data-original-height=\"726\" data-original-width=\"773\" height=\"375\" src=\"https:\/\/1.bp.blogspot.com\/-Yj04BqkwXpY\/WptXEAOICwI\/AAAAAAAABAY\/_dxYhRm3oa8hJs-nNXWFlWwk72p7SQXKwCLcBGAs\/s400\/Weight-Loss2.jpg\" width=\"400\" \/><\/a><\/div>\n<p>In this case, the the table have been extended to accomodate:<br \/>the difference between the two samples<br \/>the difference between from the mean<br \/>the square of&nbsp; the difference from the mean.<\/p>\n<p><a href=\"http:\/\/#\" target=\"_blank\">Watch a the video that shows how this calculation is done in excel<\/a><\/p>\n<p><b>Step 3: Calculate the standard deviation<\/b><br \/>You could calculate the standard deviation using the formular<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/1.bp.blogspot.com\/-DaClsR2jUEE\/WptaC4IsMaI\/AAAAAAAABAk\/JQtqfw6OTIAbfMLxWyzlw-GovX0Q2sIOgCLcBGAs\/s1600\/Standard-deviation-formular%2Bfor%2Bpaired%2Bsample.jpg\" style=\"margin-left: 1em; margin-right: 1em;\"><img decoding=\"async\" loading=\"lazy\" border=\"0\" data-original-height=\"113\" data-original-width=\"430\" height=\"52\" src=\"https:\/\/1.bp.blogspot.com\/-DaClsR2jUEE\/WptaC4IsMaI\/AAAAAAAABAk\/JQtqfw6OTIAbfMLxWyzlw-GovX0Q2sIOgCLcBGAs\/s200\/Standard-deviation-formular%2Bfor%2Bpaired%2Bsample.jpg\" width=\"200\" \/><\/a><\/div>\n<p>If you put in the correct values as gotten from the table above, you will have<\/p>\n<p>S<sub>d<\/sub> = 6.329<\/p>\n<p><b>Step 4: Calculate the t, tested statistic<\/b><br \/>You can calculate the tested statistic t using the formula. The two formulas are the same<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/3.bp.blogspot.com\/-MwPbMr3rSPA\/Wptbgv-JVSI\/AAAAAAAABAw\/pNGRGIte8acKlpYkg5Lo2lpbA9Eur7ZEACLcBGAs\/s1600\/t-test-Formular-from-%2BFatima.jpg\" style=\"margin-left: 1em; margin-right: 1em;\"><img decoding=\"async\" loading=\"lazy\" border=\"0\" data-original-height=\"304\" data-original-width=\"201\" height=\"200\" src=\"https:\/\/3.bp.blogspot.com\/-MwPbMr3rSPA\/Wptbgv-JVSI\/AAAAAAAABAw\/pNGRGIte8acKlpYkg5Lo2lpbA9Eur7ZEACLcBGAs\/s200\/t-test-Formular-from-%2BFatima.jpg\" width=\"131\" \/><\/a><\/div>\n<p>If you use the values given, you will arive at<\/p>\n<p>t = 6.6895<\/p>\n<p><b>Step 5: Look up value of t from the statistical tables<\/b><br \/>Look up value of t using degree of freedom of 14(that is n-1) and 0.05 significance. Compare it with the calculated value of t. From the table of t-test we have<\/p>\n<p>t = 2.1448<\/p>\n<p><b>Step 6: Draw conclusion<\/b><br \/>When you compare the calculated value of t with the tabulated critical value<br \/>tcal &gt; 2.14448.<br \/>In this case, this means that there is significant difference in the weight after the program. Therfore we reject the null hypothesis<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;How to Perform Paired-Sample t-Test Question A clinic provides a program to help their clients lose weight and asks a consumer agency to investigate the &hellip; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[223],"tags":[544],"_links":{"self":[{"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts\/159"}],"collection":[{"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/comments?post=159"}],"version-history":[{"count":1,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts\/159\/revisions"}],"predecessor-version":[{"id":864,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts\/159\/revisions\/864"}],"wp:attachment":[{"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/media?parent=159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/categories?post=159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/tags?post=159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}