Patents, R&D, and invention potential: International evidence · Study