I typically weigh a few variables: opp. def. set and my depth at the pos. in question. If you are playing a 2-3 def. for example, you probably want to have your best perimeter shooters in the game as much as possible. Against the press, you probably want to ensure your best ball handler(s)/passer(s) stay in the game.
As far as depth at the pos. in question, alblack hit it on the head. I'd also have to agree with what Hannibal wrote.