Lab Assignments
MA-292: Statistical Data Analysis
Site overview
This site contains the lab assignments and their solutions (following the lab class).
Lab 1
In this lab we will cover the following topics:
Importing datasets into RStudio;
Testing normality of data;
Creating conventional and bootstrap confidence intervals.
Here are the solutions: Lab 1 - Solutions
Lab 2
In this lab we will cover the following topics:
Visualising data;
The Mann-Whitney U test;
The Wilcoxon signed-rank test.
Here are the solutions: Lab 2 - Solutions
Lab 3
In this lab we will cover the following topics:
The Kruskal-Wallis H test;
Dunn post hoc testing;
The Friedman test;
Nemenyi post hoc testing.
Here are the solutions: Lab 3 - Solutions
Lab 4
In this lab we will cover the following topics:
The chi-square distribution;
The chi-square goodness-of-fit test.
Here are the solutions: Lab 4 - Solutions
Lab 5
In this lab we will cover the following topics:
The chi-square test of association between categorical variables;
The linear-by-linear option when testing for association between ordinal variables.
Here are the solutions: Lab 5 - Solutions
Lab 6
In this lab we will cover the following topics:
The hypergeometric distribution;
Fisher’s Exact Test.
Here are the solutions: Lab 6 - Solutions
Lab 7
In this lab we will cover the following topics:
The Poisson Distribution;
Poisson regression/log-linear models.
Here are the solutions: Lab 7 - Solutions
Lab 8
In this lab we will cover the following topics:
The Binomial Distribution;
Logistic regression.
Here are the solutions: Lab 8 - Solutions
Lab 9
In this lab we will cover the following topics:
The Gamma Distribution;
Gamma regression.
Here are the solutions: Lab 9 - Solutions
Lab 10
In this lab we will cover the following topics:
Factor Analysis (FA);
Principal Component Analysis (PCA).
Here are the solutions: Lab 10 - Solutions