Testing stochastic rationality and predicting stochastic demand: the case of two goods