Computer Assignments and Tutorials

Overview

The course includes five 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:

  • Start here after completing r_getting_started and downloading Course Datasets (AppRating).

  • This same dataset is used throughout all five computer assignments

  • Additional tutorial datasets are provided for specific examples

  • See Course Datasets for all download links

Assignment Structure

Five separate assignments, each focusing on distinct statistical concepts:

  • Assignment 1: Data Exploration and Statistical Analysis

  • Assignment 2: Basic hypothesis testing

  • Assignment 3: Two-sample procedures

  • Assignment 4: One-way ANOVA

  • Assignment 5: Simple linear regression

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.

More Help and Reference Pages

If you need additional support while working through the computer assignments, use the following pages: