Below are data showing the results of six subjects on a memory test. The three
scores per subject are their scores on three trials \((\mathrm{a}, \mathrm{b},\)
and \(\mathrm{c})\) of a memory task. Are the subjects get- ting better each
trial? Test the linear effect of trial for the data.
$$
\begin{array}{|c|c|c|}
\hline a & b & c \\
\hline 4 & 6 & 7 \\
\hline 3 & 7 & 8 \\
\hline 2 & 8 & 5 \\
\hline 1 & 4 & 7 \\
\hline 4 & 6 & 9 \\
\hline 2 & 4 & 2 \\
\hline
\end{array}
$$
a. Compute \(L\) for each subject using the contrast weights \(-1,0,\) and \(1 .\)
That is, compute \((-1)(a)+(0)(b)+(1)(c)\) for each subject.
b. Compute a one-sample t-test on this column (with the \(L\) values for each
subject) you created.