Given:
- an experiment with a yes/no result
- no error in measurement - ie a "yes" is definitely a "yes"
- experiment is performed "n" times (n is largish, say 100+)
- a hypothesis that predicts the expected proportion of yes results
What statistical test should be used to test the accuracy of the hypothesis?
How large does "n" need to be to provide reasonable confidence, and what is the confidence for a given "n"?
Note that for me, "best" means "simplest that works".
My guess is the chi-squared is appropriate, ie:
(obs_yes - exp_yes)^2/exp_yes + (obs_no - exp_no)^2/exp_no
but how to interpret the result given "n" to produce a confidence that the hypothesis is correct?