document.write( "Question 1207926: To test the effect of alcohol in increasing the reaction time to respond to a given stimulus, the reaction times of seven people were measured. After consuming 89 mL of 40% alcohol, the reaction time for each of the seven people was measured again. Do the following data indicate that the mean reaction time after consuming alcohol was greater than the mean reaction time before consuming alcohol? Use 𝛼 = 0.05. (Use πœ‡before βˆ’ πœ‡after = πœ‡d.Round your answers to three decimal places.)
\n" ); document.write( "DATA:-\r
\n" ); document.write( "\n" ); document.write( "Person___1___2___3___4___5____6_____7 (IGNORE THE LINES -represents space)
\n" ); document.write( "Before___5___6___5___5___3____6_____1 (IGNORE THE LINES -represents space)
\n" ); document.write( "After____7___8___3___6___3____4_____6 (IGNORE THE LINES -represents space)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "a. Test statistic: t = __________\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "b. Rejection region: If the test is one-tailed, enter NONE for the unused region.
\n" ); document.write( "t > _______
\n" ); document.write( "t < ________
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #846063 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Answers:
\n" ); document.write( "(a) -0.915
\n" ); document.write( "(b) t > NONE and t < -1.943 \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "----------------------------------------------------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Explanation for part (a)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Here is the original data given to us.
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( "
Person1234567
Before5655361
After7836346

\n" ); document.write( "There are n = 7 pairs of values, i.e. there are n = 7 people.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Subtract the before and after in the order before-after.
\n" ); document.write( "Place the results in a new row.
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( "
Person1234567
Before5655361
After7836346
Before - After-2-22-102-5

\n" ); document.write( "Add up the values in the bottom row. Divide that sum by n = 7 to find the sample mean of these differences is roughly xbard = -0.85714286
\n" ); document.write( "xbar refers to x having a horizontal bar over top.
\n" ); document.write( "xbar is the sample mean.
\n" ); document.write( "The subscript d represents the xbar of these differences.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Use technology (I recommend a spreadsheet) to find the sample standard deviation of the differences.
\n" ); document.write( "sd = 2.4784788 approximately\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "t = test statistic
\n" ); document.write( "t = ( xbard )/( (sd)/sqrt(n) )
\n" ); document.write( "t = (-0.85714286)/( 2.4784788/sqrt(7) )
\n" ); document.write( "t = -0.915 approximately which is the answer to part (a)
\n" ); document.write( " \r
\n" ); document.write( "\n" ); document.write( "----------------------------------------------------------------------------------------------\r
\n" ); document.write( "\n" ); document.write( "Explanation for part (b)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Whenever you have before-and-after type of problems like this, it means you'll be doing a paired T test.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The null hypothesis is πœ‡before = πœ‡after
\n" ); document.write( "Which is the same as saying πœ‡before βˆ’ πœ‡after = 0\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I'll replace \"before\" with the subscript 1.
\n" ); document.write( "I'll replace \"after\" with the subscript 2.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So we have πœ‡1 = πœ‡2 aka πœ‡1 βˆ’ πœ‡2 = 0 as the null.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The instructions ask this question
\n" ); document.write( "\"Do the following data indicate that the mean reaction time after consuming alcohol was greater than the mean reaction time before consuming alcohol?\"
\n" ); document.write( "It boils down to
\n" ); document.write( "\"is before < after?\"
\n" ); document.write( "i.e.
\n" ); document.write( "\"is πœ‡1 < πœ‡2 true?\"
\n" ); document.write( "This would form the alternate hypothesis.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Here are both hypotheses
\n" ); document.write( "Null: πœ‡1 = πœ‡2
\n" ); document.write( "Alternate: πœ‡1 < πœ‡2\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The inequality sign in the alternate hypothesis gives the direction of the test.
\n" ); document.write( "We have a left-tailed test.
\n" ); document.write( "This means we ignore the \"t > \" portion of part (b).
\n" ); document.write( "In other words, we'll have t > NONE as part of the answer.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "n = number of pairs of values = number of people
\n" ); document.write( "n = 7
\n" ); document.write( "df = degrees of freedom
\n" ); document.write( "df = n-1
\n" ); document.write( "df = 7-1
\n" ); document.write( "df = 6\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I'll now use this T table
\n" ); document.write( "https://www.sjsu.edu/faculty/gerstman/StatPrimer/t-table.pdf
\n" ); document.write( "A similar table should be found in your textbook somewhere. Likely in the back (appendix section).
\n" ); document.write( "In that table, highlight the df = 6 row and \"one tail = 0.05\" column.
\n" ); document.write( "The 0.05 refers to the alpha value.
\n" ); document.write( "This row and column intersect to give us the value 1.943 which is approximate.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "It tells us that
\n" ); document.write( "P(T > 1.943) = 0.05 approximately when df = 6
\n" ); document.write( "By symmetry we can say
\n" ); document.write( "P(T < -1.943) = 0.05 approximately when df = 6\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Therefore the rejection region is t < -1.943\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Extra info:
\n" ); document.write( "Recall the test statistic, from part (a), was found to be roughly -0.915
\n" ); document.write( "It is not in the rejection region, so we fail to reject the null.
\n" ); document.write( "We conclude that πœ‡before = πœ‡after appears to be the case.
\n" ); document.write( "
\n" ); document.write( "
\n" );