For our primary attributes, we have each 16 available and we want two, however, once we got one of these our chance changes. For our secondary stats, there are 15 different attributes and we want one of those. To determine the chance we need to know how many options we want and how many options are available. The secondary effect is your personal preference, never the less I'd assume reduced damage from ranged attacks would most likely be the best. Which stat combination is the best, of course, depends on your current stats, most often you will see amulets rolled with critical hit chance and critical hit damage as primary stats though. Leftover is the three others from which two are primary and one is secondary. This means we have two of five variables we don't need to worry about. It will always have a socket, which we need and it will always have the main stat, for demon hunters its dexterity, that we choose when crafting.
There are five attributes on it aside from the passive ability. We can only switch one stat but if we roll badly twice it'll look bad. Even if we get a primal ancient item, it may have stats we don't want.