A Spatiotemporal Approach to Measure Impact of Factors of Production on Innovations