I'm trying to display how the subject's test result compares with determined normative values. I figured putting the normative values into lists with similar indices would be a good start, as noted below:
<list RTminranges>
/ items = (384, 498, 524, 540, 552, 563, 575, 583, 593, 604, 613, 627, 640, 653, 666, 680, 693, 713, 739, 794, 1297)
</list>
<list RTmaxranges>
/ items = (383,497,523,539,551,562,574,582,592,603,612,626,639,652,665,679,692,712,738,793,1296)
</list>
<list RTpercentiles>
/ items = (99, 95, 90, 85, 80, 75, 70, 65, 60, 55, 50, 45, 40, 35, 30, 25, 20, 15, 10, 5, 0)
</list>
How would I compare the result
meanRTcomplexRT
with the listed percentiles? In traditional programming, I feel like there would be some way to iterate the value through comparisons, but I'm not sure what to do here. Any advice or alternative solutions would be appreciated