Question

In: Statistics and Probability

Problem 8.3 In 1693, Samuel Pepys, a former Member of Parliament and Secretary to the Admiralty,...

Problem 8.3

In 1693, Samuel Pepys, a former Member of Parliament and Secretary to the Admiralty, had to write to Isaac Newton to solve a problem that you are well-equipped to solve yourself. The problem was:

Which of the following three propositions has the greatest chance of success?

A. Six fair dice are tossed independently and at least one “6” appears.

B. Twelve fair dice are tossed independently and at least two “6”s appear.

C. Eighteen fair dice are tossed independently and at least three “6”s appear.

QUESTION BEGINS HERE

To establish a common notation for the parts below, define the following random variables:

- W: number of times 6 appears in 6 tosses of a fair 6-sided die

- X: number of times 6 appears in 12 tosses of a fair 6-sided die

- Y : number of times 6 appears in 18 tosses of a fair 6-sided die

Then we have events A = {W ≥ 1}, B = {X ≥ 2}, and C = {Y ≥ 3}.

(a) Write exact expressions for P[A], P[B], and P[C]. (You do not need to simplify each answer to a number.)

(b) Many slightly different CLT-based approximations for the three probabilities are justifiable. Write a set of CLT-based approximations where you get the same result for each of the three probabilities. (Roughly speaking, the equality of these approximations is probably related to why Pepys found the situation puzzling.)

(c) Write approximate expressions for the three probabilities using the De Moivre–Laplace formula.

(d) Evaluate the expressions in parts (a) and (c) above using a software tool (MATLAB, Python, or something similar). Include your code and results.

(e) Again using the software tool of your choice, make a plot that shows the CDFs of W, X/2, and Y/3. On the same plot, show the CDF of the Gaussian approximation for these random variables. Finally, use this plot to explain the relative ordering of your answers to parts (a) and (

Solutions

Expert Solution

(d)

P_A=1-(5/6)^6 #P(A) (Part a)
P_B=1-(5/6)^(12)-12*(1/6)*(5/6)^(11)# P(B) (Part a)
P_C=1-(5/6)^(18)-18*(1/6)*(5/6)^(17)-choose(18,2)*(1/6)^2*(5/6)^(16) #P(C) (Part a)
P_A
P_B
P_C

Output:

> P_A
[1] 0.665102
> P_B
[1] 0.6186674
> P_C
[1] 0.5973457

Whereas using CLT, P(A)=P(B)=P(C)=0.5

(e)

R code:

w=0:6
p1=choose(6,w)*(1/6)^w*(5/6)^(6-w)
F1=0:6*0# CDF of w
F1[1]=p1[1]
for(i in 1:6)
{
F1[i+1]=F1[i]+p1[i+1]
}
F1

x=0:12
x_1=x/2 #x_1=x/2
p2=choose(12,x)*(1/6)^x*(5/6)^(12-x)
F2=0:12*0# CDF of x_1 or x
F2[1]=p2[1]
for(i in 1:12)
{
F2[i+1]=F2[i]+p2[i+1]
}
F2


y=0:18
y_1=y/3 #y_1=y/3
p3=choose(18,y)*(1/6)^y*(5/6)^(18-y)
F3=0:18*0# CDF of y_1 or y
F3[1]=p3[1]
for(i in 1:18)
{
F3[i+1]=F3[i]+p3[i+1]
}
F3
plot(w,F1,ylim=c(0,1.1),type="o",col=1,lwd=2,xlab="",ylab="CDF")
lines(x_1,F2,type="o",col=2,lwd=2)
lines(y_1,F3,type="o",col=3,lwd=2)
lines(w,pnorm(w,1,sqrt(5/6)),type="l",col=1,lty=2,lwd=2)
lines(x_1,pnorm(x_1,2,sqrt(5/3)),type="l",col=2,lty=2,lwd=2)
lines(y_1,pnorm(y_1,3,sqrt(5/2)),type="l",col=3,lty=2,lwd=2)

Here Green line corresponds to the CDF of Y, green dotted line correspond to the CDF of approximate distribution of Y;

Red line corresponds to the CDF of X, red dotted line correspond to the CDF of approximate distribution of X;

Black line corresponds to the CDF of W, black dotted line correspond to the CDF of approximate distribution of W.

Hence P(A)>P(B)>P(C).


Related Solutions

Question Two James is aspiring to become an MP (Member of Parliament) in Ghana and he...
Question Two James is aspiring to become an MP (Member of Parliament) in Ghana and he has realized a basic knowledge in Development Finance would help him to be effective in the House even though this is not a condition precedent to him receiving his salary and something called ex-gratia at the end. He however, developed an extra interest in portfolio theory from financial management lecture. His friend, who is already an MP had a certain amount of money to...
An article in the new york times about former secretary of state Hillary Clintons campaign for...
An article in the new york times about former secretary of state Hillary Clintons campaign for president notes that she proposed to "increase taxes on the wealthiest Americans to combat a widening gap between rich and poor people". currently does the effect of federal taxes make the distribution of income more or less equal? Briefly explain. what are the benefits and drawbacks of using the federal income tax code to reduce income inequality?
Former U.S. Secretary of State Lawrence Eagleburger claims that instead of an embargo, a more effective...
Former U.S. Secretary of State Lawrence Eagleburger claims that instead of an embargo, a more effective way to bring democracy to Cuba and other repressive nations would be to increase their exposure to the United States and other industrialized nations through trade and travel. Others claim, however, that governments that choose to violate human rights, expropriate private property, etc. must not be economically rewarded. Write a short essay that discusses the tension that frequently accompanies the use of economic means...
Question: Consider yourself as a member of parliament in your constituency. The government has approved 2...
Question: Consider yourself as a member of parliament in your constituency. The government has approved 2 million dollars for you to use to undertake housing upgrading in your constituency. Discuss five possible challenges you are likely to face in the implementation of the project. You are also required to propose possible solutions to each of the problem.
“Some economists, like, Former Treasury Secretary – Mr. Martin Parkinson - have argued that the Australia’s...
“Some economists, like, Former Treasury Secretary – Mr. Martin Parkinson - have argued that the Australia’s economy was already weak before the coronavirus forced the economy into a lockdown. Productivity growth and income growth was very weak while economic growth was quite anaemic”. Evaluate the statement and observation made by Josh and Martin by plotting the data on the major macroeconomic indicators of the Australian economy - GDP growth rates, Inflation and Unemployment - for the past 10 years.
b) A member of parliament (MP) who has never visited his constituency form the time he...
b) A member of parliament (MP) who has never visited his constituency form the time he was elected is contemplating on recontesting his seat and wants to determine if he is still having enough support to validate the expenditure on campaigns. From a sample of 150, it was found that 75 voters were satisfied with his performance. Construct a 95% confidence interval of the proportion of voters who still support the candidature of the MP. [6 Marks] c) Assume that...
COMPREHENSIVE PROBLEM Sam started Samuel Technology Service in February, 2015. The following transactions occurred in March,...
COMPREHENSIVE PROBLEM Sam started Samuel Technology Service in February, 2015. The following transactions occurred in March, 2015: Mar 1 Received cash from customers on account, $ 3,500. 2 Paid cash for advertising on a local website, $ 600. 3 Received cash from customers as an advance payment for technical support services to be provided in the future, $ 5,000. 6 Paid technician $ 1,500 in salary, including the amount owed at the end of February. 8 Paid $ 800 on...
COMPREHENSIVE PROBLEM Sam started Samuel Technology Service in February, 2015. The following transactions occurred in March,...
COMPREHENSIVE PROBLEM Sam started Samuel Technology Service in February, 2015. The following transactions occurred in March, 2015: Mar 1 Received cash from customers on account, $ 3,500. 2 Paid cash for advertising on a local website, $ 600. 3 Received cash from customers as an advance payment for technical support services to be provided in the future, $ 5,000. 6 Paid technician $ 1,500 in salary, including the amount owed at the end of February. 8 Paid $ 800 on...
Jack Nelson's Problem As a new member of the Board of Directors for a local bank,...
Jack Nelson's Problem As a new member of the Board of Directors for a local bank, Jack Nelson was being introduces to all the emplohees in the home office. When he was introduced to Ruth Johnsons, he was curious about her work and asked her what her machine did. Johnsons replied she did not know what the machine was called or what it did. she explained that she had been working there for only two months. She did however know...
Case Incident 1 Jack Nelson’s Problem As a new member of the board of directors for...
Case Incident 1 Jack Nelson’s Problem As a new member of the board of directors for a local bank, Jack Nelson was being introduced to all the employees in the home office. When he was introduced to Ruth Johnson he was curious about her work and asked her what the machine she was using did. Johnson replied that she really did not know what the machine was called or what it did. She explained that she had only been working...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT