Survey

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts

Statistics wikipedia, lookup

History of statistics wikipedia, lookup

Probability wikipedia, lookup

Randomness wikipedia, lookup

Transcript
```HW_1 _AMS_570
1.5 Approximately one-third of all human twins are identical (one-egg) and twothirds are fraternal (two egg) twins. Identical twins are necessarily the same sex,
with male and female being equally likely. Among fraternal twins, approximately
one-fourth are both female, one-fourth are both male, and half are one male and one
female. Finally, among all U.S. births, approximately 1 in 90 is a twin birth. Define
the following events:
π¨ = {π πΌ. πΊ. πππππ πππππππ ππ ππππ πππππππ}
π© = {π πΌ. πΊ. πππππ πππππππ ππ πππππππππ πππππ}
πͺ = {π πΌ. πΊ. πππππ πππππππ ππ πππππ}
a. A β© B β© C = {a U.S. birth results in identical twins that are female}
b. P (A β© B β© C) = 1/90 * 1/3 * 1/2 = 1/540
1.33 Suppose that 5% of men and 0.25% of women are color-blind. A person is
chosen at random and that person is color-blind. What is the probability that the
person is male? (Assume males and females to be in equal numbers.)
Using Bayes rule
π(πΆπ΅|π)π(π)
P (M|CB) = π(πΆπ΅|π)π(π) + π(πΆπ΅|πΉ)π(πΉ) =
1
2
0.05β
1
2
1
2
0.05β +0.0025β
= 0.9524.
1.41 As in example 1.3.6, consider telegraph signals βdotβ and βdashβ sent in the
proportion 3:4, where erratic transmissions cause a dot to become a dash with
π
π
probability π and a dash to become a dot with probabilityπ.
(a) If a dash is received, what is the probability that a dash has been sent?
(b) Assuming independence between signals, if the message dot-dot was received,
what is the probability distribution of the four possible messages that could have
been sent?
a. P (dash sent | dash rec) =
π ( dash rec | dash sent)π ( dash sent)
π ( dash rec | dash sent)π ( dash sent) + π ( dash rec | dot sent)π ( dot sent)
32
.
41
(2/3)(4/7)
= (2/3)(4/7) + (1/4)(3/7) =
b. By a similar calculation as the one in (a) P (dot sent|dot rec) = 27/43. Then we have P
(dash sent|dot rec) =16/43.Given that dot-dot was received, the distribution of the four
possibilities of what was sent are:
Event
dash-dash
dash-dot
dot-dash
dot-dot
Probability
(16/43)2
(16/43)*(27/43)
(27/43)*(16/43)
(27/43)2
1.51 An appliance store receives a shipment of 30 microwave ovens, 5 of which are
(unknown to the manager) defective. The store manager selects 4 ovens at random,
without replacement, and tests to see if they are defective. Let X = number of
defectives found. Calculate the pmf and cdf of X and plot the cdf.
This kind of random variable is called hypergeometric in Chapter 3. The probabilities are
obtained by counting arguments, as follows.
The c.d.f is a step function with jumps at x=0, 1, 2, 3, and 4.
2.12 A random right triangle can be constructed in the following manner. Let X be a
π
random angle whose distribution is uniform on(π, π ). For each X, construct a
triangle as pictured below. Here, Y = height of the random triangle. For a fixed
constant d, find the distribution of Y and EY.
We have tan(x) = y/d, therefore tan-1 (y/d) = x, and
ππ (π¦) =
2
β
ππ
1
π¦ 2
1+( )
π
π¦
π
π tanβ1 ( )
ππ¦
=
1
π¦ 2
1+( )
π
1
ππ₯
β π = ππ¦. Thus,
, 0 < π¦ < β.
This is a Cauchy distribution restricted to(0, β), and the mean is infinite.
2.15 Betteley provides an interesting addition law for expectations. Let X and Y be
any two random variables and define
πΏ β§ π = πππ(πΏ, π) πππ πΏ β¨ π = πππ(πΏ, π).
π¬(πΏ β¨ π) = π¬πΏ + π¬π β π¬(πΏ β§ π)
(Hint: Establish thatπΏ + π = (πΏ β§ π) + (πΏ β¨ π).)
Assume without loss of generality that X β€ Y. Then X β¨ Y = Y and X β§ Y = X. Thus, X + Y
= (X β§ Y) + (X β¨ Y). Taking expectations:
E[X] +E[Y] =E[X + Y] = E [(X β§ Y) + (X β¨ Y)] = E(X β§ Y) + E(X β¨ Y).
Therefore, E(X β¨ Y) = EX + EY β E(X β§ Y).
π
2.17 A median of a distribution is a value m such that π·(πΏ β€ π) β₯ π and
π
π
β
π
π·(πΏ β₯ π) β₯ π. (if X is continuous, m satisfiesβ«ββ π(π)ππ = β«π π(π)ππ = π.) Find
the median of the following distribution.
(a) π(π) = πππ , π < π < π
(b) π(π) =
π
π(π+ππ )
, ββ < π < β
1
a.
π
β«0 3
2
3
1
β π₯ ππ₯ = π = 2 , πππ£ππ  π =
1 3
(2)
= 0.794.
b. The function is symmetric about zero, therefore m=0 as long as the integral is finite.
+β
We know itβs a Cauchy p.d.f andβ«ββ π(π₯)ππ₯ = 1.
2.20 A couple decides to continue to have children until a daughter is born. What is
the expected number of children of this couple?
From Example 1.5.4, if X = number of children until the first daughter, then
π(π = π) = (1 β π)πβ1 π, where p = probability of a daughter. Thus, X is geometric
random variable, and
β
πΈπ = β π β (1 β π)
π=1
πβ1
β
β
π=1
π=1
π
π
(1 β π)π = βπ β
β π = βπ β β
[β(1 β π)π ]
ππ
ππ
π 1
1
= βπ β
[ β 1] = .
ππ π
π
Therefore, if p=1/2, the expected number of children is two.
2.28 Let ππ denote the nth central moment of a random variable X. Two quantities
of interest, in addition to the mean and variance, are
πΆπ =
ππ
ππ
πππ
πΆ
=
π
(ππ )π/π
πππ
The value πΆπ is called the skewness and πΆπ is called the kurtosis. The skewness
measures the lack of symmetry in the pdf. The kurtosis, although harder to
interpret, measures the peakedness or flatness of the pdf.
(a) Show that if a pdf is symmetric about a pointπΆ, then πΆπ = π.
(b) Calculate πΆπ for π(π) = πβπ , π β₯ π, a pdf that is skewed to the right.
(c) Calculate πΆπ for each of the following pdfs and comment on the peakedness of
each.
π(π) =
π
βππ
π(π) =
π(π) =
ππ
β πβ π , ββ < π < β
π
, βπ < π < π
π
π β|π|
π , ββ < π < β
π
a.
β
π
3
β
3
π3 = β« (π₯ β π) π(π₯)ππ₯ = β« (π₯ β π) π(π₯)ππ₯ + β« (π₯ β π)3 π(π₯)ππ₯
ββ
0
ββ
π
β
= β« π¦ 3 π(π¦ + π)ππ¦ + β« π¦ 3 π(π¦ + π)ππ¦ (πβππππ ππ π£πππππππ)
ββ
0
β
β
= β« βπ¦ 3 π(βπ¦ + π)ππ¦ + β« π¦ 3 π(π¦ + π)ππ¦
0
(π(βπ¦ + π)
0
= π(π¦ + π), ππ’π π‘π π π¦πππ‘πππ π. π. π)
=0
b.
For π(π₯) = π βπ₯ , π1 = π2 = 1, therefore, πΌ3 = π3 .
β
β
π3 = β«0 (π₯ β 1)3 π βπ₯ ππ₯ = β«0 (π₯ 3 β 3π₯ 2 + 3π₯ β 1)π βπ₯ ππ₯ = 3! β 3 β 2! + 3 β 1 = 2.
c.
Each distribution hasπ1 = 0, therefore we must calculate π2 = πΈπ 2 πππ π4 = πΈπ 4 .
π
πΌ4 = π42 = 3.
π2 = 1, π4 = 3,
For (i),
1
2
1
π
2
π4
π2 = 2, π4 = 24,
For (iii),
9
πΌ4 = π42 = 5.
π2 = 3 , π4 = 5 ,
For (ii),
πΌ4 = π2 = 6.
2
Therefore, (iii) is the most peaked one, (i) next, and (ii) is least peaked.
2.33 In each of the following cases verify the expression given for the moment
generating function, and in each case use the mgf to calculate EX and VarX.
(a) π·(πΏ = π) =
πβπ ππ
π!
π
, π΄πΏ (π) = ππ(π βπ) , π = π, π, β¦ ; π > π
π
(b) π·(πΏ = π) = π(π β π)π , π΄πΏ (π) = πβ(πβπ)ππ , π = π, π, β¦ ; π < π < π
(c) ππΏ (π) =
π
βπππ
π
β
(πβπ)π
πππ
π‘π₯
a. ππ (π‘) = ββ
β
π₯=0 π
πΈπ =
π π π
π
, π΄πΏ (π) = πππ+ππ
π βπ ππ₯
π₯!
=π
βπ
β ββ
π₯=0
, ββ < π < β, ββ < π < β, π > π
(ππ π‘ )
π₯!
π₯
π‘
= π βπ β π ππ = π π(π
π‘ β1)
.
π
π2
ππ (π‘)|π‘=0 = π; πΈπ 2 = 2 ππ (π‘)|π‘=0 = π2 + π
ππ‘
ππ‘
ππππ = πΈπ 2 β (πΈπ)2 = π
π
β
π‘π₯
π₯
π‘ π₯
b. ππ (π‘) = ββ
π₯=0 π β π(1 β π) = π βπ₯=0((1 β π)π ) = 1β(1βπ)π π‘
πΈπ =
π
1βπ
π2
π(1 β π) + 2(1 β π)2
ππ (π‘)|π‘=0 =
; πΈπ 2 = 2 ππ (π‘)|π‘=0 =
ππ‘
π
ππ‘
π2
ππππ = πΈπ 2 β (πΈπ)2 =
c. ππ (π‘) =
β
β«ββ π π‘π₯
β
1
1βπ
π2
1
β2π
βπ π
β
(π₯βπ)2
2π2
ππ₯ =
2
2 π‘π₯+π2
β βπ₯ β2ππ₯β2π
2
2π
β« π
β2ππ ββ
1
ππ₯.
π₯ 2 β 2ππ₯ β 2π 2 π‘π₯ + π 2 = π₯ 2 β 2(π + π 2 π‘)π₯ ± (π + π 2 π‘)2 + π 2 = (π₯ β
2
(π + π 2 π‘)) β [2ππ 2 π‘ + (π 2 π‘)2 ],
Then we haveππ (π‘) = π
1 2 2
π‘
π ππ‘+2π
.
1
2
ππ‘+ π2 π‘ 2
β
β β
β« π
β2ππ ββ
1
(π₯β(π+π2 π‘))
2π2
2
1 2 2
π‘
ππ₯ = π ππ‘+2π
β1=
π
π2
2
πΈπ = ππ (π‘)|π‘=0 = π; πΈπ = 2 ππ (π‘)|π‘=0 = π 2 + π 2
ππ‘
ππ‘
ππππ = πΈπ 2 β (πΈπ)2 = π 2 .
```
Related documents