Text this: Foundations and philosophy of statistical inference