My Math Forum  

Go Back   My Math Forum > College Math Forum > Advanced Statistics

Advanced Statistics Advanced Probability and Statistics Math Forum

LinkBack Thread Tools Display Modes
October 13th, 2013, 02:51 PM   #1
Joined: Oct 2013

Posts: 23
Thanks: 0

I'm stuck on these two problems.

Hello, I've been trying to figure out these two problems, and I just can't seem to do it.

1.) A delicate part in a machine breaks, on average, 26 times per year. It takes two weeks to get a replacement part. How many of the delicate parts should be kept on hand so that the machine has no more than 1% downtime? The parts are expensive, so the stock should be minimal.
- I know it's supposed to be a Poisson problem, but I've never seen one like this.

2.) A character in On the Beach by Neville Shute says "if an infinite number of monkeys start playing with an infinite number of typewriters, one of them is going to write a play of Shakespeare." The shortest play of Shakespeare is a A Midsummer Night's Dream with about 72,000 characters, including all punctuation and spacing. Of these characters, there are 1440 instances of the letter f. Assuming that a monkey types 72,000 characters (allowing for all printable characters on a standard QWERTY keyboard), find:
(i) the probability that the monkey types too few f's (this is a cumulative binomial from 0-1439)
(ii) the probability that the monkey types just the right number of f's (binomial for 1440)
(iii) the probability that the monkey types just the right number of f's in the right places.

You may want to state your estimates in terms of logarithms. Monkeys may be assumed to show no preference for particular characters.
My teacher said to use a probability of 1/100 for the probability of typing an f.

Please someone help me, I have been trying to figure out these problems for days.
kaybees17 is offline  
October 13th, 2013, 05:10 PM   #2
Joined: Oct 2013

Posts: 23
Thanks: 0

Re: I'm stuck on these two problems.

Do I have any brave souls?
kaybees17 is offline  
October 14th, 2013, 09:19 PM   #3
Senior Member
jks's Avatar
Joined: Jul 2012
From: DFW Area

Posts: 642
Thanks: 99

Math Focus: Electrical Engineering Applications
Re: I'm stuck on these two problems.

Hi kaybees17,

I don't know about brave, more likely foolish, but here goes:

1) I must admit that I spent most of my time on the next problem. However, following your lead on the Poisson distribution, it seems to me that this problem boils down to the question:

What is the minimum n such that:

I arrived at this equation by reasoning that the expected value of a failure in the 2 week period was 1 (26/52 failures per week).

The minimum n that I came up with is 4. By my calculations there is a 98.1% chance of 0,1,2, or 3 failures in a 2 week period and a 99.6% chance of 0,1,2,3 or 4 failures. I hope this is correct.

2) Let's solve (i) last.

First, let's do (ii), the probability that the monkey types just the right number of f's (binomial for 1440):

The PMF equation is:

and if we use Stirling's Approximation we get:

Taking the natural log we get:

So the probability is

(iii) It seems to me that there are possible patterns and correct ones. This gives a probability of:

This also equals the probability of each of the 1440 places where there is an f being correct and the other places having any character, which is

EDIT: Oops, the above calculation is the probability that all of the f's are in the correct location, but there could be other f's in other locations. That is not what the question asks. The questions asks for the probability that the monkey types just the right number of f's in the right places. So I think the correct answer is:

(i) I think that the answer is for all practical purposes 1.0

The probability of the monkeys typing a certain number of f's peaks at 720, the expected value (72000*0.01). To at least verify that the probability is higher in this region, we have seen that the probability that the number of f's is 1440 is

Recalculating for 720 gives:

so the probability of 720 is

This reference shows that the distribution may be compared to a Normal Distribution with mean 72000*0.01=720 and variance sqrt(72000*0.01*0.99)=26.7

The standard deviation is sqrt(26.7)=5.16 so we can see that 1440 is many, many standard deviations from the mean. Therefore, the CDF for less than 1440 is 1.0

Editorial Note: I have not read the book (On The Beach) nor have I seen the movie, but Morrissey wrote a song based on the book / movie about people on the beach waiting for the nuclear fallout. It is called Every Day is Like Sunday. I like Morrissey's original version and 10000 Maniacs' cover. However, one of my favorite 'relax' songs is The Pretenders' cover. Kind of odd that a song with such a morbid theme is relaxing to me.
jks is offline  

  My Math Forum > College Math Forum > Advanced Statistics

problems, stuck

Search tags for this page
Click on a term to search for related topics.
Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
a few problems I'm stuck on jkh1919 Calculus 3 November 3rd, 2012 12:18 PM
I'm stuck on these word problems hagtos Elementary Math 2 June 21st, 2012 08:35 AM
i am so stuck on these math problems jaigooroo Algebra 1 July 21st, 2008 12:16 PM
i've been stuck on these problems FOREVER. please help redwood Physics 2 October 27th, 2007 06:42 AM
A few problems that I'm stuck on.. mathboy77 Algebra 2 September 7th, 2007 07:59 AM

Copyright © 2019 My Math Forum. All rights reserved.