Statistics for Price-setting Problems and Matroid Bayesian Online Selection