Philosophical problems of statistical inference