Psychometric study of the classic Muller-Lyer illusion using an adaptive staircase to find the point of subjective equality.
A horizontal line with arrowheads is displayed briefly. A central set of arrowheads divides the line into two segments. Participants judge which segment is longer (left or right). An adaptive staircase adjusts the difference between segments to converge on the participant's point of subjective equality — the offset at which both segments appear equal in length.
Measures: Susceptibility to the Muller-Lyer illusion, perceptual judgment accuracy
| prestime | how long to do the presentation, in ms (default: 400) |
| trials | Number of trials (default: 50) |
| spread | How many pixels left and right of the centerline will the stimuli be (default: 125) |
| giveFeedback | whether feedback should be given (default: 0) |
| stepsize | How big of a step to make after judgement? (default: 10) |
| randomstep | How much randomness to include in step? (default: 16) |
| diff | start diff value. It should be somewhat negative. (default: -40) |
| responsemode | Response method for left/right judgment (default: auto) |
| responselabels | Semantic labels for left and right responses (default: Array) |
| subnum | Participant ID |
| trial | Trial number |
| diff | Current offset of the central arrowhead from true center (pixels). Negative = shifted left, positive = shifted right. |
| resp | Participant response (left or right) |
| corr | Whether response was correct (1=correct, 0=incorrect) |
| abstime | Absolute time of response (ms since test start) |
| rt | Response time in milliseconds |