概述
基本概念&离散型随机变量
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 24=16 possible events.
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 (9)(8)/2=36 ways to pick which two out of the first nine flips will be heads. This is also (92)=9!2!7!=36 . So there are 36 possible outcomes.
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 Aj denote the event that exactly j of the red bears are chosen during the 5 draws. Do the events A0 , A1 , A2 , A3 constitute a partition of the sample space? (As always, be sure to justify your answer.)
4a. Yes, the events are a partition of the sample space. Each outcome has either 0, 1, 2, or 3 bears, so A0∪A1∪A2∪A3 is the whole sample space, and the events A0 , A1 , A2 , A3 are disjoint, so the events do constitute a sample space.
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 (.45+.42)5=(.87)5=0.4984 .
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 21/36 . So the probability that we get two results of 8 or higher, followed by a result of 7 or less, is (15/36)2(21/36)=0.1013 .
2b. The probability that 1 or 2 rolls is sufficient is 2136+(1536)(2136)=119/144=0.8264 . So the probability of the complementary event, i.e., the probability that 3 or more rolls are needed, is 1−119/144=25/144=0.1736 .
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 6/36 and the probability of a bad trial is 15/36 . So the desired probability is 6/366/36+15/36=6/21=2/7=0.2857 .
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
B1
,
B2
,
B3
denote the events that the 4-sided die has a result of 1, 2, or 3 (resp.). Let
A
be the event that the sum of the dice is 5 or larger. Then
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
12/18=2/3
.
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 X be the number of flips needed.
Find
The mass of
X
is
Problem 9
Let Alice roll a 6-sided die and let
X
denote the result of her roll. Let Bob roll a pair of 4-sided dice and let
The probability mass function of
X
is
P(X<2,Y=2)+P(X<3,Y=3)+P(X<4,Y=4)+P(X<5,Y=5)+P(X<6,Y=6)+P(Y=7)+P(Y=8)
which simply turns out to be
21/32=0.65625
.
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
Y
denote the number of rolls that are needed. Let
If we are given
Y=y
, then the first
y−1
rolls do not have any occurrences of
4
, but the other 5 results are equally likely. So the probability that exactly
y−1
results are 3’s is:
(y−1x)(1/5)x(4/5)y−1−x
.
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 X=1 if all of the red fish are selected, before the green fish is selected; and X=0 otherwise. Find E(X) . (Hint: You already found pX(1) on Monday, and pX(0) is just the complementary probability.)
We have pX(1)=1/4 and so pX(0)=3/4 . Thus, we have ℰ(X)=1/4 .
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 Y denote the number of red marbles that Alice gets.
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
X
denote the number of chocolate chip cookies that you get, when you choose 5 cookies from the cookie jar.
Suppose that your brother also chooses 5 cookies, and let
Assume that
X
and
3b. Is U=2X−Y a Binomial random variable? (and why?)
3b. No,
U
is not a Binomial random variable. An easy way to see this is to note, for instance, that if
Problem 8
Let
8a. Find
P(X>10)
. Give your answer as a decimal to at least 6 decimal places.
8b. Find
P(X+Y>10)
. Give your answer as a decimal to at least 4 decimal places.
8c. Find
P(X+Y+Z>10)
. Give your answer as a decimal to at least 4 decimal places.
8a. We have
P(X>10)=(2/5)10
.
8b. We have
P(X+Y>10)=(2/5)10+(101)(2/5)9(3/5)
.
8c. We have
P(X+Y+Z>10)=(2/5)10+(101)(2/5)9(3/5)+(102)(2/5)8(3/5)2
.
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 rq/p2=(5)(1/10)/(9/10)2=50/81=0.6173 .
Problem 11
Let
X1
,
X2
,
X3
be independent Geometric random variables, each with expected value
10/7
. Let
Y
be a Negative Binomial random variable, with parameters
11a. Do
X1
+
X2
+
X3
and
Y
have the same distribution? Why or why not?
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
X
a negative binomial random variable? If so, what are the parameters? If not, then why not?
12b. Find
Hint: Let
Xi
denote the number of additional rolls needed until the ith new result appears. So
X=X1+⋯+X6
.
12a. No,
X
is not a Negative Binomial random variable. Instead,
12b. We have
Unit 6: Models of Discrete Random Variables II
Problem 4
Suppose that
X
is a Poisson random variable with
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
X
be the number of the people that reach for burgers with guacamole. What are the expected number and variance of
5b. More realistically, if they take turns, without replacement, and each person draws blindly from the remaining burgers, this is choosing without replacement. Let
Y
be the number of the people that get burgers with guacamole. What are the expected number and variance of
Problem 6
Suppose that
X
and
We have
P(X=Y)=P(X=Y=0)+P(X=Y=1)+P(X=Y=2)=(1/5)2+(3/5)2+(1/5)2=11/25
.
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
X
denote the number of songs played before the country music song (but not including the country music song itself). [[Hint: Write
9a. Find
ℰ(X)
.
9b. Find
Var(X)
.
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 X denote the number of students who get one red and one green candy.
11a. Find
11b. Find
Var(X)
.
一些接地气的考点
最后
以上就是健壮鸭子为你收集整理的概率论学习笔记基本概念&离散型随机变量一些接地气的考点的全部内容,希望文章能够帮你解决概率论学习笔记基本概念&离散型随机变量一些接地气的考点所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复