{"id":5065,"date":"2022-08-17T20:41:25","date_gmt":"2022-08-17T20:41:25","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/?post_type=chapter&#038;p=5065"},"modified":"2022-08-17T20:43:18","modified_gmt":"2022-08-17T20:43:18","slug":"13d-preview","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/chapter\/13d-preview\/","title":{"raw":"13D Preview","rendered":"13D Preview"},"content":{"raw":"Preparing for the next class\r\n\r\nIn the next in-class activity, you will need to be able to calculate the mean of a\u00a0 difference and identify the differences between independent and dependent samples.\r\n\r\nDependent Samples vs. Independent Samples\r\n\r\nPreviously, you learned how to create confidence intervals and conduct hypothesis tests\u00a0 with a single variable. You also learned how to compare means or proportions from two\u00a0 samples. Some statistical studies use samples from more than one population. In order\u00a0 to compare the difference between two populations, it is important to identify if the\u00a0 samples are dependent (paired) or independent. Dependent and independent sample hypothesis tests are used to answer questions about the difference between two population means.\r\n\r\nFor dependent (paired) samples, the same variable is recorded for each sample, and\u00a0 there is a logical way to pair the observations from one sample with the observations in\u00a0 the other sample. In contrast, when samples are independently selected, the same\u00a0 variable is measured for both samples, but there is no logical way to pair an observation\u00a0 from one sample with a particular observation from the other sample.\r\n\r\nFor an example of paired samples, consider an investigation on the effectiveness of\u00a0 hypnosis in reducing pain. The variable could be the pain level of a patient, and it could\u00a0 be measured \u201cbefore\u201d hypnosis and then again \u201cafter\u201d hypnosis for the same patient.\u00a0 This would result in two samples, one \u201cbefore\u201d pain measurement and one \u201cafter\u201d pain\u00a0 measurement, and there would be a logical pairing of the \u201cbefore\u201d measurement with\u00a0 the \u201cafter\u201d measurement for the same person. This form of pairing, often referred to as\u00a0 \u201cpre\/post,\u201d is not the only situation where paired samples can be used. Other cases\u00a0 involve using \u201cnatural pairs,\u201d such as twins, siblings, or couples. In either case, it is not\u00a0 reasonable that the measurement from one sample is not related to the measurement in\u00a0 the second sample.\r\n\r\nQuestions 1\u20137: Use the previous information to determine if the following situations\u00a0 would result in dependent or independent samples.\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 1<\/h3>\r\n1) A company that creates fishing accessories is researching two of their most popular\u00a0 fishing rods. The company collects a random sample of the number of sales for each\u00a0 fishing rod from 100 of their stores.\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 2<\/h3>\r\n2) The North Carolina Zoo is researching whether their animals are more active in the\u00a0 morning or in the evening. An employee at the zoo visits each habitat in the zoo and\u00a0 collects information for the study. The employee counts how many of each species\u00a0 is visible in the morning and then visits a second time to count how many of each\u00a0 species is visible during the evening.\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 3<\/h3>\r\n3) A company that creates blood pressure medicine is researching the effectiveness of\u00a0 their new blood pressure medicine. The company conducts a study in which\u00a0 volunteers are randomly assigned to two groups. One group is given the new\u00a0 medication and the other group continues to take their current blood pressure\u00a0 medicine.\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 4<\/h3>\r\n4) The same company that creates blood pressure medicine is still researching the\u00a0 effectiveness of their new blood pressure medicine. The company conducts a\u00a0 second study in which volunteers are all given the new medication. The blood\u00a0pressure of each patient is measured before the study begins. The patients are all\u00a0 given the new medication for six weeks. The blood pressure of each patient is\u00a0 measured after the six-week period.\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 5<\/h3>\r\n5) A psychologist wants to know if children\u2019s levels of anxiety are different if their\u00a0 parents are divorced. The psychologist decides to study 100 children from divorced\u00a0 parents and 100 children from non-divorced parents.\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 6<\/h3>\r\n6) The quality control manager at a manufacturing plant is investigating the production\u00a0 rate of two machines that were built with the same materials and the same design\u00a0 but were manufactured at two different plants.\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 7<\/h3>\r\n7) A statistics teacher wants to know if a curriculum is effective. The teacher conducts\u00a0 a pre-test, implements the curriculum, and then conducts a post-test on the same\u00a0 group of students. The scores on the pre-tests and post-tests are used to compare\u00a0 the difference in understanding of statistics before and after students completed the\u00a0 curriculum.\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 8<\/h3>\r\n8) Suppose you want to study the effectiveness of a diet. Suppose that eight people\u00a0 were randomly selected to participate in your study. The weight (lb) of each of the\u00a0 eight participants is recorded before and after the diet in the following table. You\u00a0 know from past studies that body weight is approximately normally distributed.\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td>Patient<\/td>\r\n<td>Before<\/td>\r\n<td>After<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>1<\/td>\r\n<td>150<\/td>\r\n<td>146<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>2<\/td>\r\n<td>160<\/td>\r\n<td>159<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>3<\/td>\r\n<td>200<\/td>\r\n<td>200<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>4<\/td>\r\n<td>178<\/td>\r\n<td>174<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>5<\/td>\r\n<td>190<\/td>\r\n<td>189<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>6<\/td>\r\n<td>167<\/td>\r\n<td>160<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>7<\/td>\r\n<td>151<\/td>\r\n<td>148<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>8<\/td>\r\n<td>210<\/td>\r\n<td>198<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Mean [latex](\\mu)[\/latex]<\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<p align=\"left\">a) What is the average weight before and after the diet? Fill in your answers in the table.<\/p>\r\nb) On average, how many pounds did the participants lose? In other words,\u00a0 what is the estimated difference between the mean weight before and after the diet?\r\n\r\nc) Are the two samples independent or dependent?\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 9<\/h3>\r\n9) Consider the previous example using this new table:\r\n<div align=\"left\">\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td>Patient<\/td>\r\n<td>Before<\/td>\r\n<td>After<\/td>\r\n<td>Difference [latex](d)[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>1<\/td>\r\n<td>150<\/td>\r\n<td>146<\/td>\r\n<td>146\u2013150 = \u22124<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>2<\/td>\r\n<td>160<\/td>\r\n<td>159<\/td>\r\n<td>159\u2013160 = \u22121<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>3<\/td>\r\n<td>200<\/td>\r\n<td>200<\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>4<\/td>\r\n<td>178<\/td>\r\n<td>174<\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>5<\/td>\r\n<td>190<\/td>\r\n<td>189<\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>6<\/td>\r\n<td>167<\/td>\r\n<td>160<\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>7<\/td>\r\n<td>151<\/td>\r\n<td>148<\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>8<\/td>\r\n<td>210<\/td>\r\n<td>198<\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Mean [latex](\\mu)[\/latex]<\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\r\na) How much weight did each individual lose? Complete the table by finding the\u00a0 difference in each participant\u2019s weight (after\u2212before).\r\n\r\nb) Consider ONLY the difference variable. What is the average weight loss for\u00a0 the eight participants?\r\n\r\nc) How does your answer to Question 9, Part B compare to your answer from\u00a0 Question 8, Part B?\r\n\r\n<\/div>\r\n<p style=\"text-align: center;\"><strong>Comparing Means from Two Dependent (Paired) Samples<\/strong><\/p>\r\nWe will use the individual differences, [latex]d[\/latex], between each pair as our sample. A dependent or paired t-test compares the mean of the differences, [latex]\\mu_{d}[\/latex], to a\u00a0 hypothesized value, which is often 0. Thus, a dependent t-test is the same as a one sample t-test performed on the difference variable, [latex]d[\/latex].\r\n\r\nWhen thinking about the difference variable, we need to use a different calculation for the standard deviation of the estimate. The standard deviation of the difference in the\u00a0 sample means, [latex]\\bar{x}_{1}-\\bar{x}_{2}[\/latex] is NOT the same as the standard deviation of the difference variable, denoted using [latex]s_{d}[\/latex].\r\n\r\nSince a dependent t-test is the same as a one-sample t-test on the mean of the difference variable, the assumptions for a paired t-test are the same as those discussed\u00a0 in In-Class Activity 13.B for a single sample hypothesis test for means.\r\n\r\nConditions for a One-Sample t-Test\r\n<ol>\r\n \t<li>The sample is a random sample from the population of interest or it is\u00a0 reasonable to regard the sample as random. It is reasonable to regard the\u00a0 sample as a random sample if it was selected in a way that should result in a\u00a0 sample that is representative of the population.<\/li>\r\n \t<li>For each population, the distribution of the variable that was measured is\u00a0 approximately normal, or the sample size for the sample from that\u00a0 population is large. Usually, a sample of size 30 or more is considered to be\u00a0 \u201clarge.\u201d If a sample size is less than 30, you should look at a plot of the data\u00a0 from that sample (a dotplot, a boxplot, or, if the sample size isn\u2019t really small, a\u00a0 histogram) to make sure that the distribution looks approximately symmetric\u00a0 and that there are no outliers.<\/li>\r\n<\/ol>\r\nIn summary, where [latex]k[\/latex] is the value of the null hypothesis, we have:\r\n<div align=\"left\">\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td>Null Hypothesis for Independent Samples<\/td>\r\n<td>Null Hypothesis for Dependent Samples<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex]H_{0}:\\mu_{1}-\\mu_{2}=k[\/latex]<\/td>\r\n<td>[latex]H_{0}:\\mu_{d}=k[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\r\n<div align=\"left\">\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td>Alternative Hypothesis for Independent Samples<\/td>\r\n<td>Alternative Hypothesis for Dependent Samples<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex]H_{A}:\\mu_{1}-\\mu_{2}&gt;k[\/latex]<\/td>\r\n<td>[latex]H_{A}:\\mu_{d}&gt;k[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex]H_{A}:\\mu_{1}-\\mu_{2}&lt;k[\/latex]<\/td>\r\n<td>[latex]H_{A}:\\mu_{d}&lt;k[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex]H_{A}:\\mu_{1}-\\mu_{2}\\neq k[\/latex]<\/td>\r\n<td>[latex]H_{A}:\\mu_{d}\\neq k[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\r\nThe notations for the summary statistics used to compare paired populations\/samples\u00a0 are shown in the following table. We will use[latex]d[\/latex] to represent the difference variable.\r\n<div align=\"left\">\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td>Summary Statistics<\/td>\r\n<td>Notation<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Population Mean of Difference<\/td>\r\n<td>[latex]\\mu_{d}[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Sample Mean of Difference<\/td>\r\n<td>[latex]\\bar{d}[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Population Standard Deviation of Difference<\/td>\r\n<td>[latex]\\sigma_{d}[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Sample Standard Deviation of\u00a0 Difference<\/td>\r\n<td>[latex]s_{d}[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Question 10<\/h3>\r\n10) It is a common belief that using higher-octane fuel will improve the gas mileage of a vehicle. In order to test this claim, a mechanic randomly selects 12 customers to\u00a0 participate in a study. The mechanic puts 10 gallons of fuel in each participant\u2019s car\u00a0 and asks participants to circle a racetrack until they run out of gas. Each participant\u00a0 is asked to perform this action two times, once with 87-octane fuel and another time\u00a0 with 92-octane fuel. The differences in miles driven (miles driven with 87-octane fuel and miles driven with 92-octane fuel) are calculated and recorded. The\u00a0 participants do not know which fuels they are using while they are driving around\u00a0 the racetrack.\r\n\r\nWhat are the appropriate null and alternative hypotheses for this scenario?\r\n\r\n<\/div>\r\n&nbsp;","rendered":"<p>Preparing for the next class<\/p>\n<p>In the next in-class activity, you will need to be able to calculate the mean of a\u00a0 difference and identify the differences between independent and dependent samples.<\/p>\n<p>Dependent Samples vs. Independent Samples<\/p>\n<p>Previously, you learned how to create confidence intervals and conduct hypothesis tests\u00a0 with a single variable. You also learned how to compare means or proportions from two\u00a0 samples. Some statistical studies use samples from more than one population. In order\u00a0 to compare the difference between two populations, it is important to identify if the\u00a0 samples are dependent (paired) or independent. Dependent and independent sample hypothesis tests are used to answer questions about the difference between two population means.<\/p>\n<p>For dependent (paired) samples, the same variable is recorded for each sample, and\u00a0 there is a logical way to pair the observations from one sample with the observations in\u00a0 the other sample. In contrast, when samples are independently selected, the same\u00a0 variable is measured for both samples, but there is no logical way to pair an observation\u00a0 from one sample with a particular observation from the other sample.<\/p>\n<p>For an example of paired samples, consider an investigation on the effectiveness of\u00a0 hypnosis in reducing pain. The variable could be the pain level of a patient, and it could\u00a0 be measured \u201cbefore\u201d hypnosis and then again \u201cafter\u201d hypnosis for the same patient.\u00a0 This would result in two samples, one \u201cbefore\u201d pain measurement and one \u201cafter\u201d pain\u00a0 measurement, and there would be a logical pairing of the \u201cbefore\u201d measurement with\u00a0 the \u201cafter\u201d measurement for the same person. This form of pairing, often referred to as\u00a0 \u201cpre\/post,\u201d is not the only situation where paired samples can be used. Other cases\u00a0 involve using \u201cnatural pairs,\u201d such as twins, siblings, or couples. In either case, it is not\u00a0 reasonable that the measurement from one sample is not related to the measurement in\u00a0 the second sample.<\/p>\n<p>Questions 1\u20137: Use the previous information to determine if the following situations\u00a0 would result in dependent or independent samples.<\/p>\n<div class=\"textbox key-takeaways\">\n<h3>Question 1<\/h3>\n<p>1) A company that creates fishing accessories is researching two of their most popular\u00a0 fishing rods. The company collects a random sample of the number of sales for each\u00a0 fishing rod from 100 of their stores.<\/p>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Question 2<\/h3>\n<p>2) The North Carolina Zoo is researching whether their animals are more active in the\u00a0 morning or in the evening. An employee at the zoo visits each habitat in the zoo and\u00a0 collects information for the study. The employee counts how many of each species\u00a0 is visible in the morning and then visits a second time to count how many of each\u00a0 species is visible during the evening.<\/p>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Question 3<\/h3>\n<p>3) A company that creates blood pressure medicine is researching the effectiveness of\u00a0 their new blood pressure medicine. The company conducts a study in which\u00a0 volunteers are randomly assigned to two groups. One group is given the new\u00a0 medication and the other group continues to take their current blood pressure\u00a0 medicine.<\/p>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Question 4<\/h3>\n<p>4) The same company that creates blood pressure medicine is still researching the\u00a0 effectiveness of their new blood pressure medicine. The company conducts a\u00a0 second study in which volunteers are all given the new medication. The blood\u00a0pressure of each patient is measured before the study begins. The patients are all\u00a0 given the new medication for six weeks. The blood pressure of each patient is\u00a0 measured after the six-week period.<\/p>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Question 5<\/h3>\n<p>5) A psychologist wants to know if children\u2019s levels of anxiety are different if their\u00a0 parents are divorced. The psychologist decides to study 100 children from divorced\u00a0 parents and 100 children from non-divorced parents.<\/p>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Question 6<\/h3>\n<p>6) The quality control manager at a manufacturing plant is investigating the production\u00a0 rate of two machines that were built with the same materials and the same design\u00a0 but were manufactured at two different plants.<\/p>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Question 7<\/h3>\n<p>7) A statistics teacher wants to know if a curriculum is effective. The teacher conducts\u00a0 a pre-test, implements the curriculum, and then conducts a post-test on the same\u00a0 group of students. The scores on the pre-tests and post-tests are used to compare\u00a0 the difference in understanding of statistics before and after students completed the\u00a0 curriculum.<\/p>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Question 8<\/h3>\n<p>8) Suppose you want to study the effectiveness of a diet. Suppose that eight people\u00a0 were randomly selected to participate in your study. The weight (lb) of each of the\u00a0 eight participants is recorded before and after the diet in the following table. You\u00a0 know from past studies that body weight is approximately normally distributed.<\/p>\n<table>\n<tbody>\n<tr>\n<td>Patient<\/td>\n<td>Before<\/td>\n<td>After<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>150<\/td>\n<td>146<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>160<\/td>\n<td>159<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>200<\/td>\n<td>200<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>178<\/td>\n<td>174<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>190<\/td>\n<td>189<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>167<\/td>\n<td>160<\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>151<\/td>\n<td>148<\/td>\n<\/tr>\n<tr>\n<td>8<\/td>\n<td>210<\/td>\n<td>198<\/td>\n<\/tr>\n<tr>\n<td>Mean [latex](\\mu)[\/latex]<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: left;\">a) What is the average weight before and after the diet? Fill in your answers in the table.<\/p>\n<p>b) On average, how many pounds did the participants lose? In other words,\u00a0 what is the estimated difference between the mean weight before and after the diet?<\/p>\n<p>c) Are the two samples independent or dependent?<\/p>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Question 9<\/h3>\n<p>9) Consider the previous example using this new table:<\/p>\n<div style=\"text-align: left;\">\n<table>\n<tbody>\n<tr>\n<td>Patient<\/td>\n<td>Before<\/td>\n<td>After<\/td>\n<td>Difference [latex](d)[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>150<\/td>\n<td>146<\/td>\n<td>146\u2013150 = \u22124<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>160<\/td>\n<td>159<\/td>\n<td>159\u2013160 = \u22121<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>200<\/td>\n<td>200<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>178<\/td>\n<td>174<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>190<\/td>\n<td>189<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>167<\/td>\n<td>160<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>151<\/td>\n<td>148<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>8<\/td>\n<td>210<\/td>\n<td>198<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>Mean [latex](\\mu)[\/latex]<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>a) How much weight did each individual lose? Complete the table by finding the\u00a0 difference in each participant\u2019s weight (after\u2212before).<\/p>\n<p>b) Consider ONLY the difference variable. What is the average weight loss for\u00a0 the eight participants?<\/p>\n<p>c) How does your answer to Question 9, Part B compare to your answer from\u00a0 Question 8, Part B?<\/p>\n<\/div>\n<p style=\"text-align: center;\"><strong>Comparing Means from Two Dependent (Paired) Samples<\/strong><\/p>\n<p>We will use the individual differences, [latex]d[\/latex], between each pair as our sample. A dependent or paired t-test compares the mean of the differences, [latex]\\mu_{d}[\/latex], to a\u00a0 hypothesized value, which is often 0. Thus, a dependent t-test is the same as a one sample t-test performed on the difference variable, [latex]d[\/latex].<\/p>\n<p>When thinking about the difference variable, we need to use a different calculation for the standard deviation of the estimate. The standard deviation of the difference in the\u00a0 sample means, [latex]\\bar{x}_{1}-\\bar{x}_{2}[\/latex] is NOT the same as the standard deviation of the difference variable, denoted using [latex]s_{d}[\/latex].<\/p>\n<p>Since a dependent t-test is the same as a one-sample t-test on the mean of the difference variable, the assumptions for a paired t-test are the same as those discussed\u00a0 in In-Class Activity 13.B for a single sample hypothesis test for means.<\/p>\n<p>Conditions for a One-Sample t-Test<\/p>\n<ol>\n<li>The sample is a random sample from the population of interest or it is\u00a0 reasonable to regard the sample as random. It is reasonable to regard the\u00a0 sample as a random sample if it was selected in a way that should result in a\u00a0 sample that is representative of the population.<\/li>\n<li>For each population, the distribution of the variable that was measured is\u00a0 approximately normal, or the sample size for the sample from that\u00a0 population is large. Usually, a sample of size 30 or more is considered to be\u00a0 \u201clarge.\u201d If a sample size is less than 30, you should look at a plot of the data\u00a0 from that sample (a dotplot, a boxplot, or, if the sample size isn\u2019t really small, a\u00a0 histogram) to make sure that the distribution looks approximately symmetric\u00a0 and that there are no outliers.<\/li>\n<\/ol>\n<p>In summary, where [latex]k[\/latex] is the value of the null hypothesis, we have:<\/p>\n<div style=\"text-align: left;\">\n<table>\n<tbody>\n<tr>\n<td>Null Hypothesis for Independent Samples<\/td>\n<td>Null Hypothesis for Dependent Samples<\/td>\n<\/tr>\n<tr>\n<td>[latex]H_{0}:\\mu_{1}-\\mu_{2}=k[\/latex]<\/td>\n<td>[latex]H_{0}:\\mu_{d}=k[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div style=\"text-align: left;\">\n<table>\n<tbody>\n<tr>\n<td>Alternative Hypothesis for Independent Samples<\/td>\n<td>Alternative Hypothesis for Dependent Samples<\/td>\n<\/tr>\n<tr>\n<td>[latex]H_{A}:\\mu_{1}-\\mu_{2}>k[\/latex]<\/td>\n<td>[latex]H_{A}:\\mu_{d}>k[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>[latex]H_{A}:\\mu_{1}-\\mu_{2}<k[\/latex]<\/td>\n<td>[latex]H_{A}:\\mu_{d}<k[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>[latex]H_{A}:\\mu_{1}-\\mu_{2}\\neq k[\/latex]<\/td>\n<td>[latex]H_{A}:\\mu_{d}\\neq k[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>The notations for the summary statistics used to compare paired populations\/samples\u00a0 are shown in the following table. We will use[latex]d[\/latex] to represent the difference variable.<\/p>\n<div style=\"text-align: left;\">\n<table>\n<tbody>\n<tr>\n<td>Summary Statistics<\/td>\n<td>Notation<\/td>\n<\/tr>\n<tr>\n<td>Population Mean of Difference<\/td>\n<td>[latex]\\mu_{d}[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>Sample Mean of Difference<\/td>\n<td>[latex]\\bar{d}[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>Population Standard Deviation of Difference<\/td>\n<td>[latex]\\sigma_{d}[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>Sample Standard Deviation of\u00a0 Difference<\/td>\n<td>[latex]s_{d}[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Question 10<\/h3>\n<p>10) It is a common belief that using higher-octane fuel will improve the gas mileage of a vehicle. In order to test this claim, a mechanic randomly selects 12 customers to\u00a0 participate in a study. The mechanic puts 10 gallons of fuel in each participant\u2019s car\u00a0 and asks participants to circle a racetrack until they run out of gas. Each participant\u00a0 is asked to perform this action two times, once with 87-octane fuel and another time\u00a0 with 92-octane fuel. The differences in miles driven (miles driven with 87-octane fuel and miles driven with 92-octane fuel) are calculated and recorded. The\u00a0 participants do not know which fuels they are using while they are driving around\u00a0 the racetrack.<\/p>\n<p>What are the appropriate null and alternative hypotheses for this scenario?<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"author":23592,"menu_order":70,"template":"","meta":{"_candela_citation":"[]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-5065","chapter","type-chapter","status-publish","hentry"],"part":4875,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapters\/5065","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/wp\/v2\/users\/23592"}],"version-history":[{"count":3,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapters\/5065\/revisions"}],"predecessor-version":[{"id":5077,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapters\/5065\/revisions\/5077"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/parts\/4875"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapters\/5065\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/wp\/v2\/media?parent=5065"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/pressbooks\/v2\/chapter-type?post=5065"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/wp\/v2\/contributor?post=5065"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/lumen-danacenter-statsmockup\/wp-json\/wp\/v2\/license?post=5065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}