User blog comment:Willb32764/Health vs Armor/Magic Resist/@comment-24905320-20140829105446/@comment-4593717-20140829142042

It's based on how much survivability they'll give you for their unit cost afaik. It's based on gold cost but not on gold efficiency.