Foundation of Statistics for data science