document.write( "Question 1208012: Suppose that a word-association experiment is conducted using eight people as blocks and making a comparison of reaction times within each person; that is, each person is subjected to both stimuli in a random order. The reaction times (in seconds) for the experiment are as follows.
\n" ); document.write( "Person__________Stimulus 1__________Stimulus 2 (IGNORE THE LINES - space)
\n" ); document.write( "1__________________2__________________5 (IGNORE THE LINES - space)
\n" ); document.write( "2__________________1__________________3 (IGNORE THE LINES - space)
\n" ); document.write( "3__________________1__________________4 (IGNORE THE LINES - space)
\n" ); document.write( "4__________________2__________________2 (IGNORE THE LINES - space)
\n" ); document.write( "5__________________1__________________3 (IGNORE THE LINES - space)
\n" ); document.write( "6__________________2__________________3 (IGNORE THE LINES - space)
\n" ); document.write( "7__________________3__________________4 (IGNORE THE LINES - space)
\n" ); document.write( "8__________________2__________________3 (IGNORE THE LINES - space)\r
\n" ); document.write( "\n" ); document.write( "Do the data present sufficient evidence to indicate a difference in mean reaction times for the two stimuli? Test using 𝛼 = 0.05. (Use 𝜇1 − 𝜇2 = 𝜇d.)\r
\n" ); document.write( "\n" ); document.write( "a) State the test statistic. (Round your answer to three decimal places.)
\n" ); document.write( "t = __________\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "b) State the rejection region. (If the test is one-tailed, enter NONE for the unused region. Round your answers to three decimal places.)
\n" ); document.write( "t > __________
\n" ); document.write( "t < ___________
\n" ); document.write( "
\n" ); document.write( "

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

\n" ); document.write( "Answers:
\n" ); document.write( "(a) -4.333
\n" ); document.write( "(b) t > 2.365 or t < -2.365
\n" ); document.write( "All decimal values mentioned are approximate.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-------------------------------------------------------------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Part (a)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Given data
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( "
PersonStimulus 1Stimulus 2
125
213
314
422
513
623
734
823

\n" ); document.write( "There are n = 8 people which is the sample size.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Subtract the first two columns to form a new column of values.
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( "
PersonStimulus 1Stimulus 2 Stim1-Stim2
125-3
213-2
314-3
4220
513-2
623-1
734-1
823-1

\n" ); document.write( "Example: 2-5 = -3 in the first row of this new column.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Add up the values in that new column to get -13.
\n" ); document.write( "Divide this sum over the sample size n = 8 to get -13/8 = -1.625 which is the value of xbard
\n" ); document.write( "xbar = x with a horizontal bar over top = sample mean
\n" ); document.write( "xbar with a subscript \"d\" indicates we're looking at the sample mean of the differences.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If you want, you can compute the sample standard deviation of the differences by hand, but it's much better to use technology.
\n" ); document.write( "Grab your favorite calculator. I used the spreadsheet's calculator since the data is already in spreadsheet form.
\n" ); document.write( "You should find that
\n" ); document.write( "sd = 1.06066017 approximately
\n" ); document.write( "Caution: Do not mix up sample standard deviation with population standard deviation. You'll be using the sample version.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Then,
\n" ); document.write( "Test Statistic = (xbard)/( (sd)/sqrt(n) )
\n" ); document.write( "Test Statistic = (-1.625)/( (1.06066017)/sqrt(8) )
\n" ); document.write( "Test Statistic = -4.333333340605
\n" ); document.write( "Test Statistic = -4.333\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-------------------------------------------------------------------------------------------------------
\n" ); document.write( "Part (b)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We're doing a paired T-test.
\n" ); document.write( "𝜇 = greek letter mu = population mean
\n" ); document.write( "𝜇1 = population mean of stimulus 1.
\n" ); document.write( "𝜇2 = population mean of stimulus 2.
\n" ); document.write( "𝜇d = 𝜇1-𝜇2 = population mean of the differences.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Hypotheses
\n" ); document.write( "Null: 𝜇d = 0
\n" ); document.write( "Alternative: 𝜇d =/= 0\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The alternative hypothesis has the \"not equal\" sign because of the phrasing \"Do the data present sufficient evidence to indicate a difference in mean reaction times for the two stimuli?\"
\n" ); document.write( "If the answer to this question was \"no\", then we'd stick with the null.
\n" ); document.write( "The \"not equal\" sign in the alternative means we have a two-tailed test.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "As mentioned, we're doing a paired T-test.
\n" ); document.write( "We'll be using the T distribution.
\n" ); document.write( "n = 8 = sample size
\n" ); document.write( "df = degrees of freedom
\n" ); document.write( "df = n-1
\n" ); document.write( "df = 8-1
\n" ); document.write( "df = 7\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). Alternatively you can use a stats calculator such as a TI83.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "In that table, highlight the df = 7 row and \"two 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 2.365 which is approximate.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "It tells us that P(-2.365 < t < 2.365) = 0.95 when df = 7.
\n" ); document.write( "i.e. the area under the curve between t = -2.365 and t = 2.365 is roughly 0.95
\n" ); document.write( "This applies only when df = 7.
\n" ); document.write( "This corresponds to a 95% confidence interval.
\n" ); document.write( "The remaining 1-0.95 = 0.05 is the combined area of both tails.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If the test statistic is in the interval -2.365 < t < 2.365, then we fail to reject the null.
\n" ); document.write( "Otherwise the test statistic is in the rejection region and we would reject the null.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Therefore the rejection region is:
\n" ); document.write( "t > 2.365 or t < -2.365\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Extra info:
\n" ); document.write( "Test Statistic = -4.333 was found earlier in part (a).
\n" ); document.write( "It is outside the interval -2.365 < t < 2.365 and fits with t < -2.365 instead.
\n" ); document.write( "We're in the rejection region.
\n" ); document.write( "This means we'll reject the null. We'll conclude that there appears to be a difference in the reaction times for the two stimuli.
\n" ); document.write( "
\n" ); document.write( "
\n" );