Two objects may have the same color, weight, location, or shape, yet not every similarity causes the judgment we wish to transfer.
Two medicines may share a color without having identical effects. The color is a shared attribute, but not necessarily the cause of their effects.
The strength of analogy depends on selecting a pertinent shared feature and establishing its relation to the judgment.