Determining R&D intensity under different market conditions