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
Assignment Tutorials (Links)
Computer Assignment 1 Tutorial — Data Exploration and Statistical Analysis: CA1 Tutorial
Computer Assignment 2 Tutorial — Subsetting and Basic Statistical Inference: CA2 Tutorial
Computer Assignment 3 Tutorial — Two-sample Procedures: CA3 Tutorial
Computer Assignment 4 Tutorial — One-way ANOVA: CA4 Tutorial
Computer Assignment 5 Tutorial — Simple linear regression: CA5 Tutorial
Course Pipeline (At a Glance)
Import:
read.csv→ inspect withhead,str,summary.Validate & clean: missing data (
is.na,complete.cases), types (as.numeric,factor), quick checks (length,nrow,unique).Explore: core summaries (
mean,median,sd,quantile,IQR), plots (ggplot2histograms/boxplots).Model: one/two-sample t; ANOVA; SLR via
lm; compute p-values/intervals; diagnostics (residual plots, QQ).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:
Function reference and examples: Function Reference Part 1, Function Reference Part 2: Inference Functions
ggplot2 plotting guide: Graphics (ggplot2)
Best practices and workflow: Best Practices & Common Pitfalls
Additional external resources: Alternative Resources (Tutorials)
Quick lookup table: r_quick_reference