Does a batter actually change his behavior if he intends to try for a home run as opposed to a base hit? It looks to me as if they're just trying to get the best hit they can. If so, the analogy isn't very good.
You can even attempt to hit a ball out of play just to bring the pitcher's pitch count up and extend the batting series long enough for him to make a mistake, or at least have to come out a little earlier than he would normally.
Some of this depends on the pitch you see. Professional players are making these decisions based on how they see the pitch unravel.
Then, there's attempting for a home run. You put everything you have into the swing and let it fly.
(These are all based on how early or late you start your swing, and how high or low you swing.)