I currently am conducting a study in 8 subjects. I continuously measure the subject's heartrate before, during, and after administering a treatment. For each subject, I average the heart rate into two 20 min bins for each section (before/during/after; total 6 bins/subject) and then normalize the bins to the bin immediately before drug administration (Before2). Would a repeated measures test be appropriate for this model? If so, how do I organize the data appropriately in the spreadsheet?
Currently I have the following setup for the data sheet, however, when I perform the repeated measures analysis, the program throws an error (pictured). I am not sure whether it is how I am organizing the table, if I am performing the wrong test, or if I am performing it incorrectly.


