Computer Assignments and Tutorials

Overview

The course includes six computer assignments that progressively build your R skills and statistical analysis capabilities. Each assignment focuses on specific statistical techniques and is accompanied by a detailed tutorial. All assignments use the AppRating dataset as the primary data source, supplemented with additional datasets for practice and demonstration.

Important

Dataset Requirements:

  • Download the appropriate AppRating dataset for your session (Fall or Winter) at the start of the course

  • This same dataset is used throughout ALL six assignments

  • Additional tutorial datasets are provided for specific examples

  • See Course Datasets for all download links

Assignment Structure by Session

Regular Session (Fall/Spring)

Six separate assignments, each focusing on distinct statistical concepts:

  • CA1: Introduction to R and data exploration

  • CA2: Graphical and numerical summaries

  • CA3: Basic hypothesis testing and subsetting

  • CA4: Two-sample procedures

  • CA5: One-way ANOVA

  • CA6: Simple linear regression

Winter Session (Accelerated)

Five assignments with CA1 and CA2 combined:

Note

Winter Session combines the first two assignments and renumbers the rest:

  • Assignment 1: Combined CA1 & CA2 content

  • Assignment 2: Basic hypothesis testing (originally CA3)

  • Assignment 3: Two-sample procedures (originally CA4)

  • Assignment 4: One-way ANOVA (originally CA5)

  • Assignment 5: Simple linear regression (originally CA6)

Course Pipeline (At a Glance)

  1. Import: read.csvinspect with head, str, summary.

  2. Validate & clean: missing data (is.na, complete.cases), types (as.numeric, factor), quick checks (length, nrow, unique).

  3. Explore: core summaries (mean, median, sd, quantile, IQR), plots (ggplot2 histograms/boxplots).

  4. Model: one/two-sample t; ANOVA; SLR via lm; compute p-values/intervals; diagnostics (residual plots, QQ).

  5. Report: figures/tables (ggplot2, knitr::kable + kableExtra), short text with context.