Question 1207926
<font color=black size=3>
Answers:
(a)  <font color=red>-0.915</font>
(b)  <font color=red>t > NONE</font> and <font color=red>t < -1.943</font>  


----------------------------------------------------------------------------------------------


Explanation for part (a)


Here is the original data given to us.
<table border = "1" cellpadding = "5"><tr><td>Person</td><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td><td>7  </td></tr><tr><td>Before</td><td>5</td><td>6</td><td>5</td><td>5</td><td>3</td><td>6</td><td>1  </td></tr><tr><td>After</td><td>7</td><td>8</td><td>3</td><td>6</td><td>3</td><td>4</td><td>6  </td></tr></table>
There are n = 7 pairs of values, i.e. there are n = 7 people.


Subtract the before and after in the order before-after.
Place the results in a new row.
<table border = "1" cellpadding = "5"><tr><td>Person</td><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td><td>7</td></tr><tr><td>Before</td><td>5</td><td>6</td><td>5</td><td>5</td><td>3</td><td>6</td><td>1</td></tr><tr><td>After</td><td>7</td><td>8</td><td>3</td><td>6</td><td>3</td><td>4</td><td>6</td></tr><tr><td>Before - After</td><td>-2</td><td>-2</td><td>2</td><td>-1</td><td>0</td><td>2</td><td>-5</td></tr></table>
Add up the values in the bottom row. Divide that sum by n = 7 to find the sample mean of these differences is roughly xbar<sub>d</sub> = -0.85714286
xbar refers to x having a horizontal bar over top.
xbar is the sample mean.
The subscript d represents the xbar of these differences.


Use technology (I recommend a spreadsheet) to find the sample standard deviation of the differences.
s<sub>d</sub> = 2.4784788 approximately


t = test statistic
t = ( xbar<sub>d</sub> )/(  (s<sub>d</sub>)/sqrt(n)  )
t = (-0.85714286)/( 2.4784788/sqrt(7) )
t = <font color=red>-0.915</font> approximately which is the answer to part (a)
 

----------------------------------------------------------------------------------------------

Explanation for part (b)


Whenever you have before-and-after type of problems like this, it means you'll be doing a paired T test.


The null hypothesis is 𝜇<sub>before</sub> = 𝜇<sub>after</sub>
Which is the same as saying 𝜇<sub>before</sub> − 𝜇<sub>after</sub> = 0


I'll replace "before" with the subscript 1.
I'll replace "after" with the subscript 2.


So we have 𝜇<sub>1</sub> = 𝜇<sub>2</sub> aka 𝜇<sub>1</sub> − 𝜇<sub>2</sub> = 0 as the null.



The instructions ask this question
"Do the following data indicate that the mean reaction time after consuming alcohol was greater than the mean reaction time before consuming alcohol?"
It boils down to 
"is before < after?"
i.e.
"is 𝜇<sub>1</sub> < 𝜇<sub>2</sub> true?"
This would form the alternate hypothesis.


Here are both hypotheses
Null: 𝜇<sub>1</sub> = 𝜇<sub>2</sub>
Alternate: 𝜇<sub>1</sub> < 𝜇<sub>2</sub>


The inequality sign in the alternate hypothesis gives the direction of the test.
We have a left-tailed test. 
This means we ignore the "t > " portion of part (b).
In other words, we'll have <font color=red>t > NONE</font> as part of the answer.


n = number of pairs of values = number of people
n = 7
df = degrees of freedom
df = n-1
df = 7-1
df = 6


I'll now use this T table
https://www.sjsu.edu/faculty/gerstman/StatPrimer/t-table.pdf
A similar table should be found in your textbook somewhere. Likely in the back (appendix section).
In that table, highlight the df = 6 row and "one tail = 0.05" column.
The 0.05 refers to the alpha value. 
This row and column intersect to give us the value 1.943 which is approximate.


It tells us that
P(T > 1.943) = 0.05 approximately when df = 6
By symmetry we can say
P(T < -1.943) = 0.05 approximately when df = 6


Therefore the rejection region is <font color=red>t < -1.943</font>



Extra info:
Recall the test statistic, from part (a), was found to be roughly -0.915
It is not in the rejection region, so we fail to reject the null. 
We conclude that 𝜇<sub>before</sub> = 𝜇<sub>after</sub> appears to be the case.
</font>