Say I have two treatments, "hot" and "cold". I care about a certain outcome, say "success". I have data on the number of successes out of, say 100 trials in the "hot" treatment. Similarly, I have data on the number of successes out of 100 trials in the "cold" treatment.
What sort of statistical test should I use to determine whether there is any significant difference between my two treatments with respect to success rate?