Lon-Capa Exercises
Note: Most problems are randomized. When you enter the problem page, you can click the "New Problem Variation" button at the top left to get a new randomized version of the problem. All submissions are temporay and won't be recorded. This means that if you leave a problem page and then enter it at a latter time, your previous submissions will be lost and you will get a new randomized version of the problem. These problems are mostly the same as the Lon Capa HW problems given to the students.
Week 2 (Data types, missing values, vectorized operations)
Correlation and Generalized Birthday Problem
Week 3 (Loading data files, subsetting, statistical functions)
Shoe Size and Number of Pairs of Shoes Owned
Week 4 (Control functions and logical operations)
Distribution of Sample Correlation and Sample Slope
Microsoft Interview Question: Toggling Lockers
Week 5 (Simple data manipulations)
Week 6 (Writing functions, plottings)
Searching for Two Cities Farthest Apart in a Dataset
Week 7 (R markdown, simple linear regressions)
Practicing Simple Linear Regression
Confidence Interval for the Mean
R Markdown Exercise: GPA and Hours of Study
Week 8 (Loop functions, regression with factor variables)
Weight versus age of chicks on different diets
R Markdown Exercise: Shoe Number vs Shoe Size Confounder Problem Revisited
Optional Material: Introduction to Tidyverse
Week 9 (Simulations, multivariable regressions)
R Markdown Exercise: Galton's Height Data
Week 10 (Date and time in R, Introduction to Monte Carlo simulations)
Calculate π Using a Monte Carlo Method
Simulating the Monty Hall Problem
Simulating the Birthday Problem
R Markdown Exercise: Investment in Two Stocks
Week 11 (Statistical Tests)
Framing: Human's Bounded Rationality
One-Sample Z Test: Exam Scores
What defines Donald Trump supporters?
Checking of Code Related to the Coin Flip Problem
R Markdown Exercise: Multi-Sample Tests and Randomization Test
Week 12 (Transformation of variables)
Week 13 (Logistic regression)
Grade, Learning and Religious Belief
Predicting Donald Trump Supporters
R Markdown Exercise: Mammographic Mass
Week 14 (Nonparametric statistics)
Spearman Rank-Order Correlation Test
R Markdown Exercise: Comparing Grades Between Online and In-Person Stat 100 Classes