🎓 University of America — Course Portal
Data ScienceSTAT201 › Week 1
📊 Data Science Week 1 of 14 BSc · Y2 S1 ⏱ ~50 min

Week 1: Probability Spaces, Random Variables & Bayesian Inference

Deep dive into probability: random variables, joint distributions, Bayesian inference, and stochastic processes used throughout ML.

UA
University of America
STAT201 — Lecture 1 · BSc Y2 S1
🎬 CC Licensed Lecture
0:00 / —:—— 📺 MIT OpenCourseWare (CC BY-NC-SA)
🎯 Learning Objectives
  • Define probability spaces, events, and axioms formally
  • Work with joint, marginal, and conditional distributions
  • Apply Bayes' theorem to posterior inference
  • Understand the law of large numbers and CLT
Topics Covered This Lecture
Probability Axioms & Spaces
Conditional Probability & Bayes
Joint & Marginal Distributions
Limit Theorems & CLT
📖 Lecture Overview

This first lecture establishes the foundational framework for Probability Theory. By the end of this session, you will have the conceptual grounding and practical starting point needed for the rest of the course.

Why this matters Deep dive into probability: random variables, joint distributions, Bayesian inference, and stochastic processes used throughout ML. This lecture sets up everything that follows — make sure you understand the core concepts before proceeding to Week 2.

Key Concepts

The lecture introduces the four main pillars of this course: Probability Axioms & Spaces, Conditional Probability & Bayes, Joint & Marginal Distributions, Limit Theorems & CLT. Each will be explored in depth over the 14-week curriculum, with hands-on projects reinforcing theory at every stage.

# Quick Start: verify your environment is ready for STAT201 import sys print(f"Python {sys.version}") # Check key libraries are installed try: import numpy, pandas, matplotlib print("✅ Core libraries ready") except ImportError as e: print(f"❌ Missing: {e} — run: pip install numpy pandas matplotlib")

This Week's Focus

Focus on mastering: Probability Axioms & Spaces and Conditional Probability & Bayes. These are the prerequisites for everything in Week 2. The concepts build on each other — do not skip the practice exercises.

📋 Project 1 of 3 50% of Final Grade

STAT201 Project 1: Bayesian Inference Simulation

Implement a Bayesian updating simulation for a coin-flip experiment. Visualize prior, likelihood, and posterior distributions as evidence accumulates.

  • Bayesian update implementation in Python
  • Animated visualization of prior→posterior shift
  • Comparison of 3 different prior distributions
  • Written explanation of the Bayesian workflow
50%
3 Projects
20%
Midterm Exam
30%
Final Exam
📝 Sample Exam Questions

These represent the style and difficulty of questions you'll see on the midterm and final. Start thinking about them now.

Conceptual Short Answer

State Bayes' theorem and explain each term (prior, likelihood, posterior, evidence).

Analysis Short Answer

What does the Central Limit Theorem guarantee, and why is it important in practice?

Applied Code / Proof

Two fair dice are rolled. What is the probability that the sum equals 7 given that the first die shows 3?