My best guess is that if the player's ratings and age would get him a larger contract in free agency, the player will opt out. However, if the player's rating and age will net him a smaller contract, he will stick around. I would also guess that patience rating has a bit to do with it as well -- if he has a high patience rating, he will stick around even if he can get more money.