December 12, 2014

Introduction to Statistical Computing

At an intersection of Enigmas of Chance and Corrupting the Young.

Class homepage

Fall 2014

Class announcement

    Lectures:
  1. Introduction to the Course; Basic Data Types
  2. Bigger Data Structures
  3. Dataframes and Control
  4. Introduction to Strings
  5. Regular Expressions
  6. Writing Functions
  7. Multiple Functions
  8. Getting Data in and out of R
  9. Dataframes with Regression Models
  10. Random Number Generation
  11. Distributions as Models
  12. Data Selection and Data Transformation
  13. Debugging Code
  14. Testing Code
  15. Top-down Design
  16. Functions as Objects
  17. Optimization I: Basics
  18. Optimization II: Constrained and Penalized Optimization
    Labs:
  1. Exponentially More Fun
  2. Things That Go Vroom
  3. Scrape the Rich!
  4. Heart of the (Tiny) Tiger
  5. Division and Power in the !%
  6. October Surprise
  7. How the Tetracycline Came to Peoria
    Homework:
  1. Rainfall, Data Structures, Sequences
  2. Housing, Dataframes, Control
  3. Super Scalper Scrape
  4. The Death and Life of Great American City Scaling Laws
  5. Pareto and Kuznets on the Grand Tour
  6. Bug Hunt
  7. If All Your Friends Started Prescribing Tetracycline, Would You Start Too?
    Exams:
  1. Midterm Project: Nobody Knows Anything

Fall 2013

Class announcement

    Lectures:
  1. Combined lectures 1 and 2: intro to the class, basic data types, basic data structures, structures of structures
  1. Flow control, iteration, vectorization
  2. Writing and Calling Functions
  3. Writing Multiple Functions
  4. Top-Down Design
  5. Testing
  6. Debugging
  7. Functions as Objects
  8. Optimization I: Simple Optimization
  9. Abstraction and Refactoring
  10. Split, Apply, Combine I: Using Basic R
  11. Split, Apply, Combine II: Using plyr
  12. Simulation I: Generating Random Variables
  13. Simulation II: Markov Chains
  14. Simulation III: Monte Carlo and Markov Chain Monte Carlo
  15. Simulation IV: Quantifying uncertainty with simulations
  16. Optimization II: Deterministic, unconstrained optimization
  17. Optimization III: Stochastic and constrained optimization
  18. Basic character/string manipulation
  19. Regular expressions
  20. Importing data from web pages
  21. Review on text processing
  22. Change of representation; text as vectors
  23. Databases
  24. Simulation V: Matching simulation models to data
  25. Speed, computational complexity, going beyond R
  26. Computing for statistics
Unnumbered because not actually delivered in class: The Scope of Names
    Labs:
  1. Basic Probability, Basic Data Structures
  2. Only the Answers Have Changed
  3. Of Big- and Small- Hearted Cats
  4. Like a Jackknife to the Heart
  5. Testing Our Way to Outliers
  6. I Can Has Likelihood Surface?
  7. Bunches of Novels
  8. How Antiobiotics Came to Peoria
  9. Tremors
  10. Scrape the Rich
  11. Baseball Salaries
    Homework:
  1. Rainfall, Data Structures, Obsessive Doodling
  2. Tweaking Resource-Allocation-by-Tweaking
  3. Hitting Bottom and Calling for a Shovel
  4. Standard Errors of the Cat Heart
  5. Dimensions of Anomaly
  6. I Made You a Likelihood Function, But I Ate It
  7. The Intensity of 19th Century Literature
  8. Antibiotic Diffusion and Outlier Resistance
  9. Canceled
  10. A Maze of Twisty Little Passages
  11. Several Hundred Degrees of Separation
    Exams:
  1. Midterm Exam

Self-Evaluation and Lessons Learned

Fall 2012

Class announcement Lectures with no links haven't been delivered yet, and the order an topics may change.

    Lectures:
  1. Introduction to the class, basic data types, basic data structures
  2. More data structures: matrices, data frames, structures of structures
  3. Flow Control, Looping, Vectorization
  4. Writing and Calling Functions
  5. Writing Multiple Functions
  6. Top-Down Design
  7. Testing
  8. Debugging
  9. The Scope of Names
  10. Functions as Objects
  11. Split/Apply/Combine I: Using Basic R
  12. Split/Apply/Combine II: Using plyr
  13. Abstraction and Refactoring
  14. Graphics (canceled)
  15. Simulation I: Random variable generation
  16. Simulation II: Monte Carlo, Markov chains, Markov chain Monte Carlo
  17. Optimization I: Deterministic, Unconstrained Optimization
  18. Optimization II: Stochastic, Constrained, and Penalized Optimization
  19. Basic Text Manipulation
  20. Regular Expressions I
  21. Regular Expressions II
  22. Importing Data from Web Pages
  23. Reshaping Data
  24. Relational Databases I
  25. Relational Databases II
    Labs:
  1. Basic Probability, Basic Data Structures
  2. Flow Control and the Urban Economy
  3. Of Big- and Small- Hearted Cats
  4. Like a Jackknife to the Heart
  5. Testing Our Way to Outliers
  6. I Can Has Likelihood Surface?
  7. Bunches of Novels, or, Representation and the History of Genre
  8. How Antibiotics Came to Peoria
  9. A Maze of Twisty Little Passages
    Homework:
  1. Rainfall, Data Structures, Obsessive Doodling
  2. Tweaking Resource-Allocation-by-Tweaking
  3. Hitting Bottom and Calling for a Shovel
  4. Standard Errors of the Cat Heart
  5. Dimensions of Anomaly
  6. I Made You a Likelihood Function, But I Ate It
  7. canceled
  8. The Intensity of 19th Century Literature
  9. Antibiotic Diffusion and Outlier Resistance
  10. Several Hundred Degrees of Separation
    Exams:
  1. Midterm Exam
  2. Final Project Options

Fall 2011

Class announcement

    Lectures:
  1. Introduction to the class, basic data types, basic data structures
  2. More Data Structures: Matrices, Lists, Data Frames, Structures of Structures
  3. Flow Control, Looping, Vectorization
  4. Writing and Calling Functions
  5. Writing Multiple Functions
  6. Top-Down Design
  7. The Scope of Names
  8. Debugging
  9. Testing
  10. Functions as Arguments
  11. Functions as Return Values
  12. Exam briefing
  13. Split, Apply, Combine: Using Base R
  14. Split, Apply, Combine: Using plyr
  15. Abstraction and Refactoring
  16. Simulation I: Random Variable Generation
  17. Exam debriefing
  18. Simulation II: Monte Carlo and Markov Chains
  19. Simulation III: Mixing and Markov Chain Monte Carlo
  20. Basic Character Manipulation
  21. Regular Expressions I
  22. Regular Expressions II
  23. Importing Data from Webpages I
  24. Importing Data from Webpages II
  25. Databases I
  26. Databases II
    Homework:
  1. Rainfall and Data Structures
  2. Tweaking Resource-Allocation-by-Tweaking
  3. Improving Estimation by Nonlinear Least Squares
  4. Standard Errors of the Cat Heart
  5. Rancorous Testing
  6. Outlier-Robust Linear Regression
  7. 'Tis the Season to Be Unemployed
  8. Sampling Accidents
  9. Get (the 400) Rich(est list) Quick
  10. Baseball Salaries
    Labs:
  1. Basic Probability and Basic Data Structures
  2. Flow Control and the Urban Economy
  3. Of Big- and Small- Hearted Cats
  4. Further Errors of the Cat Heart
  5. Testing Our Way to Outliers
  6. Likelihood
  7. Split-Apply-Combine
  8. Changing My Shape, I Feel Like an Accident
  9. Regular Expressions I
    Exams:
  1. Midterm
  2. Final Project Descriptions

My Work Here Is Done

Self-Evaluation and Lessons Learned

Posted at December 12, 2014 23:59 | permanent link

Three-Toed Sloth