The Bayesian choice of crop variety and fertilizer dose