Something other posters have overlooked here is that one life is guaranteed to be saved if you pull the lever. There are 5 tracks in the image, but the ratios use quarters. If you pull the lever, you have saved one life. You have a 75% chance that you have saved one life with no consequences. You have a 25% chance of killing a net of 4 people. By that method, your expected number of kills is 1, no matter your choice.
However, I really think I look at it more on the chance of good outcomes, personally. If I pull the lever I have a 75% chance of saving everyone, and only a 25% chance of bad outcomes. I can live with that choice. I can live with the decision to take action, because to not take action is still choice.