基本概念&离散型随机变量
Probability: Basic Concepts & Discrete Random Variables
(PurdueX - 416.1x)
Course Syllabus
Unit 1: Sample Space and Probability
Introduction to basic concepts, such as outcomes, events, sample spaces, and probability.
Unit 2: Independent Events, Conditional Probability and Bayes’ Theorem
Introduction to independent events, conditional probability and Bayes’ Theorem with examples
Unit 3: Random Variables, Probability and Distributions
Random variables, probability mass functions and CDFs, joint distributions
Unit 4: Expected Values
Expected values of discrete random variables, sum of random variables and functions of random variables with lots of examples
Unit 5: Models of Discrete Random Variables I
Bernoulli and Binomial random variables; Geometric random variables; Negative Binomial random variables
Unit 6: Models of Discrete Random Variables II
Poisson random variables; Hypergeometric random variables; discrete uniform random variables and counting
Quiz
Unit 1: Sample Space and Probability
Problem 2
Consider a collection of 4 suite-mates. They choose which one of them (exactly 1 of them) goes to the store on Wednesday night.
2a. How many outcomes are there?
2b. How many possible events are there?
2ab. There are 4 outcomes, and thus, there are
Problem 3
Consider 10 consecutive tosses of a coin.
In how many of the outcomes does the 3rd head occur on the 10th flip?
There are
Problem 4
Consider a collection of 9 bears. There is a family of red bears consisting of one father bear, one mother bear, and one baby bear. There is a similar green bear family, and a similar blue bear family. We draw 5 consecutive times from this collection without replacement (i.e., not returning the bear after each draw). We keep track (in order) of the kind of bears that we get.
4a. Let
4a. Yes, the events are a partition of the sample space. Each outcome has either 0, 1, 2, or 3 bears, so
Unit 2: Independent Events, Conditional Probability and Bayes’ Theorem
Problem 1
It is estimated that, of the people viewing a certain movie over the weekend, 45 percent were adult women, 42 percent were adult men, and 13 percent were children.
If we randomly interview people at a theatre about the movie, each interview takes a few minutes, so we will not interview people in the same group or family. So we may assume that their gender and age classification is independent from person to person.
1a. What is the probability that the first five people we interview are all adults?
The probability is
Problem 2
Suppose that we roll a pair of (6 sided) dice until the first value appears that is 7 or less, and then we stop afterwards.
2a. What is the probability that exactly three (pairs of) rolls are required?
2b. What is the probability that at least three (pairs of) rolls are needed?
2c. What is the probability that, on the last rolled pair, we get a result of exactly 7?
2a. On a given roll, the probability that a value is 7 or less is
2b. The probability that 1 or 2 rolls is sufficient is
2c. We let the sum of the dice be a trial. Then a good trial is exactly a 7, a bad trial is a value (strictly) less than 7, and a neutral trial is (strictly) more than 7. (Notice that we stop when a good or bad trial occurs, i.e., when a roll of 7 or less occurs.) Then the probability of a good trial is
Problem 11
Roll a 4-sided die and a 6-sided die. Given that the 4-sided die has a result of 1, 2, or 3 (but not 4), find the conditional probability that the sum of the two dice is 5 or larger.
Let
An alternative method is to recognize that there are 18 equally likely outcomes in which the 4-sided die has a result of 1, 2, or 3, and exactly 12 of these 18 outcomes has a sum of 5 or larger on the dice, so the desired probability is
Unit 3: Random Variables, Probability and Distributions
Problem 5
Suppose that we choose cards from a standard 52-card deck, with replacement and shuffling in between cards, until the first card with value 6, 7, 8, 9, or 10 appears, and then we stop. Let
Find
The mass of
Problem 9
Let Alice roll a 6-sided die and let
The probability mass function of
which simply turns out to be
Problem 11
Suppose that a person rolls a 6-sided die until the first occurrence of 4 appears, and then the person stops afterwards. Let
If we are given
Unit 4: Expected Values
Problem 1
Consider 5 fish in a bowl: 3 of them are red, and 1 is green, and 1 is blue. Select the fish one at a time, without replacement, until the bowl is empty. Let
We have
Problem 10
Suppose that a drawer contains 8 marbles: 2 are red, 2 are blue, 2 are green, and 2 are yellow. The marbles are rolling around in a drawer, so that all possibilities are equally likely when they are drawn. Alice chooses 2 marbles without replacement, and then Bob also chooses 2 marbles without replacement. Let
10a. Find
10b. Find
Unit 5: Models of Discrete Random Variables I
Problem 3
You randomly choose cookies from a very large container. Assume that 35% of the cookies are chocolate chip and 65% of the cookies are not chocolate. Assume that your selections of cookies are independent, and assume that the container is so large that these percentages do not change with each subsequent draw. (If you prefer, you can just sample the cookies with replacement, but nobody likes to put cookies back!) Let
Suppose that your brother also chooses 5 cookies, and let
Assume that
3b. Is
3b. No,
Problem 8
Let
8a. Find
8b. Find
8c. Find
8a. We have
8b. We have
8c. We have
Problem 9
Suppose Jessica picks homework problems at random to practice for her midterm exam. She practices until she has solved 5 worthwhile questions, and then she quits after that. Her selections of problems are independent, each with a probability of 0.90 of being worthwhile.
9a. Find the probability that she solves 8 or fewer questions.
9b. Find the conditional probability that she solves 6 or fewer questions, given that she solves 8 or fewer questions.
9c. Find the variance of the total number of questions that she solves.
9c. The variance is
Problem 11
Let
11a. Do
11b. Do
11c. Do
11a. Yes,
11b. No,
11c. No,
Problem 12
Roll a 6 sided die until you have seen all of the sides as a result. Let
12a. Is
12b. Find
Hint: Let
12a. No,
12b. We have
Unit 6: Models of Discrete Random Variables II
Problem 4
Suppose that
Problem 5
At a lunch buffet there are 13 burgers without guacamole and 7 burgers with guacamole. Isabella, Rodrigo, and their two children each blindly reach for a burger.
5a. If they independently pick at once and (chaotically!) reach for their burger-and all selections are equally likely-this is just like choosing with replacement. Let
5b. More realistically, if they take turns, without replacement, and each person draws blindly from the remaining burgers, this is choosing without replacement. Let
Problem 6
Suppose that
We have
Problem 9
A playlist contains 10 rock songs, 3 country songs, 5 R&B songs, and 2 blues songs. In shuffle mode, each song is played exactly once, and all possible equal orderings are equally likely. Suppose that a person starts this playlist in shuffle mode and continues until a country music song plays, and then stops. Let
9a. Find
9b. Find
Problem 11
A bag of candy contains 10 green M&M’s and 10 red M&M’s. Suppose that 10 students pick 2 candies each, without replacement. Let
11a. Find
11b. Find