Psychology of analogical inference