I conducted an experiment and had participants indicate binary judgments by either pressing "1" or "0" when seeing different types of stimuli. Now I want to test whether the proportions of number presses differ from chance likelihood of 50% for the different stimulus conditions. My supervisor always used to run a one-sample t-test against 0.5 on the subject-level aggregated data (with the resulting mean representing the percentage of 1-presses); however, I am wondering this is the best way to do it. Since I am dealing with a binary variable (1/0), wouldn't it be more appropriate to run a chi-square goodness of fit test on the unaggregated data? Any input is highly appreciated!
[Update] This is a fictive example for my data structure:
Subj type response 1 target_top 1 1 target_bottom 0 1 target_bottom 0 1 target_top 1 1 target_bottom 0 1 target_top 1 2 target_bottom 0 2 target_top 0 2 target_top 0 2 target_bottom 1 2 target_bottom 1 2 target_top 0
As can be seen, it is a repeated measures design. Stimuli differ in their vertical position and we test the hypothesis that spatial position influences judgments (i.e., for example, 1-presses when presented on top position significantly differ from chance likelihood).