An Analysis of the Impact of Research and Development on Productivity Using Bayesian Model Averaging with a Reversible Jump Algorithm