An analytical framework for the efficient allocation of agricultural research expenditures by states