Stav dette: Some basic theory for statistical inference