Probability and Statistics with R
Basic Information
Instructor
:
Siva Athreya.
Email
: athreya@isibang.ac.in or athreya@cmi.ac.i
Classes
: Wednesday and Friday : 9:10-10:25
Scoring
: Final Exam: 40%, Midterm Exam: 20%, Quizzes: 25%, In-class Worksheets and Homework: 15%.
Program
: Msc. Data Science, Chennai Mathematical Institute.
Submission Platform
:
Moodle.
References
Statistics: The Art and Science of Learning from Data by by Alan Agresti, Christine A. Franklin, Bernhard Klingenberg.
Using R for Introductory Statistics by John Verzani.
simpleR – Using R for Introductory Statistics
by John Verzani.
Probability and Statistics with Examples Using R
by Siva Athreya, Deepayan Sarkar, and Steve Tanner.
R for Data Science
by Hadley Wickham and Garlett Grolemund.
Week 1 : September 22nd and 24th
First day Handout.
September 22nd-
Slides.
Recording
Class Poll Results.
September 24th-
Slides.
Recording
Class Poll Results.
Homework 1
,
Solutions
HW Submission Instructions,
Example RNW File.
From a past course, $\LaTeX$ Information:
Slides
,
First File (first.tex)
,
Assignment.tex
Topics Covered
R- Basics, In built functions, Slicing, Logical Operators, Creating sequence of vectors
Data: Categorical, Discrete Numeric, Continuous Numeric.
Basic Plots, ggplot2 basics.
Articles:-
Ross Ihaka and Robert Gentlemen on making R
R: A language for Data Analysis and Graphics
from S.
Oft referenced : The first classification of data by
On the Theory of Scales of Measurement By S. S. Stevens
Week 2 : September 29th and October 1st
Week 2 Slides.
September 29th, 2021
Notes/Slides.
Recording
Class Poll Results.
October 1st,2021
Notes/Slides.
Recording
Worksheet 1
,
Solutions
Worksheet 2,
,
Solutions
Homework 2,
Solutions
Topics Covered
R-Computing Binomial Probabilities, Functions in R
Sample Space, Events, Probability
Equally likely Outcomes
Conditional Probability
Bayes Theorem
Readings:-
Chapter1
in Probability and Statistics with Examples using R by Siva Athreya, Deepayan Sarkar, and Steve Tanner.
Week 3 : October 6th and October 8th, 2021
Week 3 Slides.
October 6th, 2021
Notes/Slides.
Recording
October 8th,2021
Notes/Slides.
Recording
Class Poll Results.
Worksheet 3
,
Solutions
Homework 3,
Solutions
Topics Covered
Discrete Random Variables
Expectation and Variance
De Moivre's Binomial Central Limit Theorem
Readings:-
Chapter 4
in Probability and Statistics with Examples using R by Siva Athreya, Deepayan Sarkar, and Steve Tanner.
Week 4 : October 13th and October 15th, 2021
October 13th, 2021
Notes/Slides.
Recording
October 15th,2021
Notes/Slides.
Recording
Class Poll Results.
Worksheet 4,
,
Solutions
Homework 4,
Solutions
Topics Covered
De Moivre's Binomial Central Limit Theorem
Poisson Approximation
Sampling with and without replacement
Probability Density Function
Continuous random variables
Uniform and Normal Distribution
Readings:-
Chapter 4
and
Chapter 5
in Probability and Statistics with Examples using R by Siva Athreya, Deepayan Sarkar, and Steve Tanner.
Week 5 : October 20th and October 22nd, 2021
October 20th, 2021
Notes/Slides.
Recording
October 22nd,2021
Notes/Slides.
Recording
Class Poll Results
Worksheet 5,
,
Solutions
Homework 5.
Solutions
Topics Covered
Probability on uncountable sample spaces.
Continuous Random Variables
Normal Random Variable and Exponential Random Variable
Distribution Function
Readings:-
Chapter 4
and
Chapter 5
in Probability and Statistics with Examples using R by Siva Athreya, Deepayan Sarkar, and Steve Tanner.
Week 6 : October 27th and October 29th, 2021
October 27th, 2021
Notes/Slides.
Recording
Class Poll Results.
October 29th,2021
Notes/Slides.
Recording
Dice-Toss Data set.
Worksheet 6,
,
Solutions
Homework 6
,
Solutions
Topics Covered
Independence of Events and Random Variables
Joint Distribution and Conditional Distribution of Random Variables
Conditional Expectation and Variance
Readings:-
Chapter 1
and
Chapter 3
in Probability and Statistics with Examples using R by Siva Athreya, Deepayan Sarkar, and Steve Tanner.
Week 7 : November 3rd, 2021
November 3rd, 2021
Notes/Slides.
Recording
Class Poll Results.
Midterm Solutions.
Topics Covered
Covariance
Sums of Random Variables
Readings:-
Chapter 4
in Probability and Statistics with Examples using R by Siva Athreya, Deepayan Sarkar, and Steve Tanner.
Week 8 : November 10th and November 12th, 2021
November 10th, 2021
Notes/Slides.
Recording
November 12th, 2021
Notes/Slides.
Recording
Worksheet 7
,
Solutions
Homework 7.
,
Solutions
Topics Covered
Readings:-
Chapter 4
in Probability and Statistics with Examples using R by Siva Athreya, Deepayan Sarkar, and Steve Tanner.
Week 9 : November 16th, November 17th and November 19th, 2021
November 16th, 2021
Notes/Slides.
Worksheet 8,
,
Solutions
November 17th, 2021
Notes/Slides.
Recording
November 19th, 2021
Notes/Slides.
Recording
Worksheet 9
,
Solutions
Homework 8
,
Solutions
Topics Covered
Symmetry, Skewness and Kurtosis
Central Limit Theorem
Confidence Intervals
Readings:-
Central Limit Theorem.
Confidence Interval.
Week 10 : November 23rd, 24th, 26th 2021
November 23rd, 2021
Notes/Slides.
Recording
November 24th, 2021
Notes/Slides.
Recording
November 26th, 2021
Notes/Slides:
Part I
,
Part II
Recording:
Part 1
,
Part 2
Worksheet 9,
,
Solutions
Homework 9,
,
Solutions
Class Poll Results.
Topics Covered
Empirical Distribution
Unbiased and Consistent Estimate
Weak Law of Large Numbers.
Strong Law of Large Numbers (Statement).
Simulating Random Variables.
Readings:-
Chapter7
and
Chapter8
in Probability and Statistics with Examples using R by Siva Athreya, Deepayan Sarkar, and Steve Tanner.
Week 11 : November 30th, December 1, 3 2021
November 30th, 2021
Notes/Slides.
Recording
December 1, 2021
Notes/Slides.
Recording
December 3rd, 2021
Worksheet 10
,
Solutions
Images of Erdos Renyi Graphs
Homework 10
, ,
Solutions
Topics Covered
$t$-confidence interval when variance is not known.
Method of Moments Estimate.
Maximum Likelihood Estimator.
Readings:-
Week 12 : December 7th,8th, and 10th 2021
December 7th, 2021
Notes/Slides.
Recording
December 8th, 2021
Notes/Slides.
Recording
December 10th, 2021
Notes/Slides.
Recording
Homework 11
,
Solutions
Topics Covered
Maximum Likelihood Estimator.
Hypothesis Testing
$z$-test for means with variance known
$t$-test for means with variance unknown
Readings:-
Week 13 : December 14th, 15th, and 17th 2021
December 14th, 2021
Notes/Slides.
Recording
December 15th, 2021
Worksheet 13
,
Solutions
December 17th, 2021
Notes/Slides.
Recording
Topics Covered
$z$-test for comparison of sample means
$\chi^2$-goodness of fit test.
Readings:-
Chapter 9
in Probability and Statistics with Examples using R by Siva Athreya, Deepayan Sarkar, and Steve Tanner.
Last Modified: December 17th, 2021.
CMI Moodle page
Teaching Page