sentence1: That's a good analogy to an election with many equally plausible candidates whose odds of winning might depend only on how much they spend compared with everyone else.
sentence2: That analogy is also similar to one regarding food selection.