My data comes from subjects performing the same task under different conditions—in other words, I have data from each subject under both the control condition and the experimental condition. This seems like a good place to use a paired-sample t-test.
However, each subject also performed the task 32 times (16 under one condition, 16 under the other).
Is there a good way to modify the paired-sample t-test to include multiple measurements of each subject, rather than just one? I know I could just take the mean of the measurements and perform the t-test on that, but that would be completely ignoring the variance within each subject.