Inferential Statistics
A problem-solving course in inferential statistics for data science. It builds from descriptive statistics and data types, through probability and distributions, to estimation and the full machinery of hypothesis testing: z and t tests, tests of proportion, ANOVA, and chi-square. Every concept is explained in depth, worked through with numerical examples, and implemented in Python.
Course outcomes
By the end of the course, students will be able to:
Categorise various probability representations to understand data
Use appropriate probability models in a problem space
Collect or make sample data and choose hypothesis choices
Apply and perform hypothesis tests to infer the insight of resultant data
Implement various statistical tests to analyse data
Units
The full plan for the course. Units with lectures published are linked.
Introduction to Statistics
9 hoursRole of statistics in data science. Different types of data. Random variable, numerical variable, categorical variable. Data collection and types of sampling. Descriptive statistics: measures of central tendency (mean, median, mode); measures of dispersion (range, quartiles, standard deviation, variance). Distribution of data: skewness and kurtosis. Covariance and correlation, the difference between them and its significance. Python tutorials: statistics packages, descriptive statistics, and correlation analysis.
View 7 lecturesProbability
9 hoursPermutation and combination. Types of probability. Rules for computing probability. Marginal probability, conditional probability. Bayes theorem and its applications, problem-solving with Bayes theorem. Probability distributions: binomial and Poisson. Normal distribution. Python tutorials: probability computation, Bayes theorem applications, plotting and analysing distributions.
View 5 lecturesEstimation and Hypothesis Testing
9 hoursSampling distribution and the central limit theorem. Point estimate, confidence interval. Hypothesis testing basics: null and alternative hypothesis formulation, types of hypotheses, the hypothesis testing process. Errors in hypothesis testing (Type I and Type II). Power of a test. Number of tails. Choice of test statistic with examples. Python tutorials: simulating the central limit theorem, and a case study using estimation and hypothesis testing.
View 4 lecturesTest of Mean and Proportion
9 hoursTest of mean: one-sample z-test, one-sample t-test, two-sample tests (independent and dependent). Test of proportion: one-sample z proportion test and two-sample z proportion test. Case study: categorical vs continuous. More than two samples. Python tutorials: implementing z-tests and t-tests, one-sample and two-sample tests, and a case study in Python.
Coming soonHypothesis Testing: ANOVA and Chi-Square
9 hoursAnalysis of variance: one-way ANOVA and two-way ANOVA. Categorical vs categorical: chi-square test, test of goodness of fit, test of independence. Test of variance. Python tutorials: implementing the chi-square test and non-parametric tests, and a case study in Python.
Coming soon