How to Know When to Invest in New Technology