I have multiple subjects walking under three experimental conditions to investigate how the step lengths are affected. Each subject performed all three conditions but the number of steps recorded is different for each experiment. I understand that I have to apply repeated measures ANOVA or paired t-test as the data are sampled from the same subjects but what is the proper way of dealing with the mismatch in sample sizes?
I am running this in Python so it will be great if pointers are given on how to code it.
Added fictitious data samples. For each condition, each subject may have different number of samples.
Condition | Subj A | Subj B | Subj C | Cond. 1 |0.5, 0.5, 0.55|1.1, 1.0, 1.05 |0.7, 0.75, 0.8| Cond. 2 |0.3, 0.35, 0.4|0.9, 1.0 |0.5, 0.6, 0.5 | Cond. 3 |0.4, 0.35 |0.9, 0.8, 0.8 |0.6, 0.5 |