Week 4
Random variables and probability distributions
Day06
- Random variables: Section 3.1
- Binomial distribution: Section 3.2
Slides
Class discussion
Class discussion Google doc link
- Example 3.3 on pg 2 of slides
- Write R code to calculate the expected value by defining vectors in R with the relevant values and then doing the appropriate calculations with the vectors.
- Hint: start with
x <- 1:6
.
- Example 3.10 on pg 5 of slides
- Write R code to calculate the variance and standard deviation by defining vectors in R with the relevant values and then doing the appropriate calculations with the vectors.
- Example 3.11 on pg 6 of slides
- Example 3.17 on pg 10 of slides
- Hint: If you are unsure how to define the random variable T, take a look at how we defined the random variable M in example 3.16 for the amount of money one gets from 3 rolls of a die.
- Example 3.22 parts (1) and (2) on pg 14 of slides
Day07
- Normal distribution: Section 3.3
- Poisson distribution: Section 3.4
Slides
Class discussion
Class discussion Google doc link
- Example 3.3 parts (1) and (3) on pg 7 of slides
- Example 3.8 parts (2) and (3) on pg 11 of slides
- HW problems
- 3.28, 3.32
Homework
- HW 3 due on Sat, 10/21
- Covers Days 6-7
Why is {.unnumbered}
included at the end of some of the section headers on the HW?
- I added the option for the sections to be numbered in the YAML (
number-sections: true
) so that the R exercises at the end of the file are numbered. - However, the book exercises already have their own numbering, and so I added
{.unnumbered}
to the section headers of the book exercises so that they are not numbered twice.
Recordings
- Pre-recorded lessons are on Echo Cloud (aka echo 360 or echo video).
- These can be accessed in Sakai by navigating to the BSTA 511/611 page and clicking on the
Echo Cloud
option in the left-side menu. - This will redirect you to an echo video page with a list of pre-recorded videos.
- These can be accessed in Sakai by navigating to the BSTA 511/611 page and clicking on the
- In-class recording links are on Sakai. Navigate to Course Materials -> Schedule with links to in-class recordings. Note that the password to the recordings is at the top of the page.