Mastering the Poisson Process: Key Concepts and Solutions
School
Clemson University**We aren't endorsed by this school
Course
MATH 3020
Subject
Statistics
Date
Dec 12, 2024
Pages
13
Uploaded by BailiffRoseOpossum17
Activity - Lesson 10 - The Poisson Process - Sample Solutions Note: You must attend class and submit your work before leaving to earn credit for this learning activity. This activity covers Lesson 10 and uses the quiz utility in canvas to record your participation. « Your final grade on this activity will be based solely upon participation and attendance. « The correct answers for any auto-graded questions will be shown immediately upon completing the activity. « Sample solutions are provided in the course schedule on our Canvas home page. Use these to learn the material and skills covered and to help you prepare for exams. + PLEASE ask questions and/or meet with the instructor if there are any concepts you still do not understand! Learning Objectives ¢ CO-2: Apply basic concepts of probability, random variables, and commonly used statistical probability distributions, including sampling distributions and the central limit theorem. o LO-2.2: Define the term random variable and distinguish between discrete and continuous random variables. o LO-2.3: Calculate probabilities. o LO-2.4: Use mathematical functions and graphical displays to represent probability models. o LO-2.5: Find the mean and variance for discrete and continuous random variables. o LO-2.6: Find percentiles for random variables. o LO-2.7: Create and interpret QQ-plots to compare a set of data to a specified distribution. o LO-2.8: Estimate parameters for common continuous distributions. BEST PRACTICES FOR CALCULATIONS AND ROUNDING: ¢ |tis best to use R as your calculator and use the round command to determine the final answer! ¢ Do not round in any intermediate steps. ¢ In R, you must always explicitly specify multiplication using * o Example: You cannot type (3+2.4)(8+1.2), you must enter (3+2.4)*(8+1.2) ¢ You can get a different value than R if you round by hand whenever the digit immediately to the right of your desired decimal place is a 5... R uses an International Rounding Standard which does not follow the standard by-hand approach. o Here is the information from R's help page on the round command: "Note that for rounding off a 5, the IEC 60559 standard (see also ‘IEEE 754’) is expected to be used" o For Exams, if you ever believe this issue caused you to miss a question, please put in a request for leniency which details your calculation. We will gladly check if this was the case and, if so, return your points! Question 1 Definitions and Concepts Choose the correct answer to complete each of the statements below. The concepts in this question are covered in Lesson 10. e Answer numbers are given in parentheses (#) before each required answer to help with reviewing your submission. » The specific sections are indicated in brackets {} after each statement to help you find the relevant information in the lesson. Each answer is worth 3 points. o For a given Poisson process: {Introduction to the Poisson Process} o The number of events over an interval is a (1) [DISCRETE] random variable that follows a/an (2) [POISSON] distribution.
o The length of the interval between events is a (3) [CONTINUOUS] random variable that follows a/an (4) [EXPONENTIAL] distribution. o APoisson process is a model for a series of discrete events where: {Poisson Process — Simplistic Definition and Criteria} o the average time between events is (5) [KNOWN] but the exact timing of the events is (6) [RANDOM]. o The arrival of an event is (7) [INDEPENDENT] of the event before. + A Poisson process satisfies the following criteria: {Poisson Process — Simplistic Definition and Criteria} o Two events (8) [CANNOT] occur at the same point. o The average rate (events per interval) is (9) [CONSTANT]. o The events are (10) [INDEPENDENT] of each other. « The exponential distribution with parameter X is the same as: {Exponential Distribution} o The Weibull distribution with 8 = (11) [1, ONE] and § = 1//\ o The gamma distribution with 7 = (12) [1, ONE] and A\ = A\ Question 2 Note: There is a difference between a Poisson PROCESS and a Poisson DISTRIBUTION. Suppose the random variable X follows a Poisson distribution with \ = 1.6. Find P(X = 2). Round your answer to 3 decimal places. {Review The Poisson Distribution including Definition: Poisson Distribution and Poisson Examples} Hint: You should be using the dpois command in R (or the formula for the PMF of a Poisson distribution). Note: | have allowed a small margin of error on this question but if you do not get the EXACT answer, please consider carefully whether you rounded correctly. Mathematical Details This question can be solved manually using the PMF of a Poisson distribution: e A)\® x! [ f(m) = Substituting the values of and \ we get: e 0. 1.6° Sample Code #Question 2 round(dpois(2, 1.6),3) round(exp(-1.6)*1.6"2/factorial(2),3) Sample Output > #Question 2 > round(dpois(2, 1.6),3) [1] e.258
> round(exp(-1.6)*1.6~2/factorial(2),3) [1] e.258 Question 3 Note: There is a difference between a Poisson PROCESS and a Poisson DISTRIBUTION. Suppose the random variable X follows a Poisson distribution with A = 3.72. Find P(X > 3). Round your answer to 3 decimal places. {Review The Poisson Distribution including Definition: Poisson Distribution and Poisson Examples} Hint: You should be using the sum and dpois commands in R (or the formula for the PMF of a Poisson distribution) and the complement rule. Note: | have allowed a small margin of error on this question but if you do not get the EXACT answer, please consider carefully whether you rounded correctly. Mathematical Details This question can be solved manually using the PMF of a Poisson distribution: e A )\® z! . flz) = Applying the complement rule and substituting the appropriate values of and A\ we get: ~3.72 , g o0 -3.72 , 3 791 —8.72 | 3 792 —3.72 . 3 798 «PX>3)=1- |5 = + £ = + £ : 4 £ = ~ 0.51 Sample Code #Question 3 round(1-sum(dpois(@:3, 3.72)),3) round(1-sum(exp(-3.72)*(3.72)~(0:3)/factorial(0:3)),3) Sample Output > #Question 3 > round(1-sum(dpois(@:3, 3.72)),3) [1] e.51 > round(1-sum(exp(-3.72)*(3.72)"(0:3)/factorial(@:3)),3) [1] e.51 Question 4 Suppose the random variable X follows an exponential distribution with parameter A = 1.97. Find P(X > 1). Round your answer to 3 decimal places. {Review The Exponential Distribution including Definition: Exponential Distribution and Exponential Examples} Hint: You should be using either the pexp command in R or the formula for the CDF of an exponential distribution.
Question 13 Consider a Poisson process with an average rate of 0.169 events per hour. What is the mean of X = the time (in hours) between successive events? Round your answer to 2 decimal places. Hint: First determine the appropriate distribution (Poisson, or exponential) and then use the appropriate formula to find this value. Remember there is a difference between a Poisson Process and a Poisson distribution. Note: | have allowed a small margin of error on this question but if you do not get the EXACT answer, please consider carefully whether you rounded correctly. Mathematical Details . N:E(X)=% Sample Code #Question 13 round(1/0.169,2) Sample Output > #Question 13 > round(1/0.169,2) [1] 5.92 Question 14 Consider a Poisson process with an average rate of 0.532 events per hour. What is the variance of X = the time (in hours) between successive events? Round your answer to 2 decimal places. Hint: First determine the appropriate distribution (Poisson, or exponential) and then use the appropriate formula to find this value. Remember there is a difference between a Poisson Process and a Poisson distribution. Note: | have allowed a small margin of error on this question but if you do not get the EXACT answer, please consider carefully whether you rounded correctly. Mathematical Details 1 | ] JZZV(X):F Sample Code #Question 14 round(1/0.532/2,2)
Sample Output > #Question 14 > round(1/0.532/2,2) [1] 3.53 Question 15 Earthquake tremors in a certain area follow a Poisson process with an average rate of 7.22 per 12-month period. Assume the number of tremors from one 12-month period is independent of the number in the next 12-month period. Find the standard deviation of the X = number of tremors which occur during any 15-year period. Round your answer to 2 decimal places. Remember: You must carefully consider the proper unit conversion. You are given the average rate per year (12 months) but the question is asked about a multi-year period. You need to convert the yearly rate into a multi-year rate. Hint: First determine the appropriate distribution (Poisson, or exponential) and then use the appropriate formula to find this value. Remember there is a difference between a Poisson Process and a Poisson distribution. Note: | have allowed a small margin of error on this question but if you do not get the EXACT answer, please consider carefully whether you rounded correctly. Mathematical Details « o=+ Sample Code #Question 15 gql5.rate = 15%7.22 round(sqrt(ql5.rate),2) Sample Output > #Question 15 > q15.rate = 15%7.22 > round(sqrt(qls.rate),2) [1] 10.41 Question 16 This is a difficult question! Pay close attention to the hints below which walk you through the correct solution! Minor flaws occur in a certain indoor-outdoor carpet according to a Poisson process with an average rate of 0.36 minor flaws per square yards. A large hardware store sells this carpet in rolls of 6ft by 9ft (2 yds by 3 yds). If there are 19 rolls in stock, what is the probability at least one of the rolls has no minor flaws? Round your answer to 3 decimal places. Hint:
1. Find the probability that a particular roll of carpet will have no flaws. This follows a Poisson distribution but you must convert the rate to the appropriate sized roll. 2. Find the probability that at least one of the rolls has no flaws using an appropriate binomial distribution. 3. AVOID rounding the first probability when finding the second. (Either copy the exact value from R's output or use the appropriate dpois command directly INSIDE the appropriate dbinom command). Note: | have allowed a small margin of error on this question but if you do not get the EXACT answer, please consider carefully whether you rounded correctly. Review the examples in Lesson 9 involving binomial probabilities and in Lesson 10 involving Poisson probabilities. Mathematical Details Using the complement rule and the PMF for binomial random variables along with the PMF of a Poisson random variable, we can solve this question manually. The PMF for a Poisson is: —AZ2a e A ¢ fl@) = — The PMF for a binomial is: « f(z) = (Z) p* - (L=p)** First we must convert the given rate per square yard to a 6 square yard carpet. « We get 6(0.36) = 2.16. Then, using that rate, we must find the probability that there are NO flaws in a particular carpet using the Poisson distribution. —2162-160 . We get £(0) = GT — 0.1153251 To reasonably find P(X > 1) for the associated binomial distribution, we must use the complement rule. e WegetP(X>1)=1-P(X<1)=1-P(X =0) The probability that any individual carpet has no flaws was found to be 0.1153251 and we have 19 carpets. Thus we have: 1 e P(X>1)=1-P(X=0)=1- [( 09) -(0.1153251)° - (1 — 0.1153251)°~% | ~ 0.903 Sample Code #Question 16 gql6.rate <- 6*0.36 prob.® <- dpois(@, ql6.rate) prob.1 <- round(sum(dbinom(1:19, 19, prob.0)),3) prob.1 #Manually prob.@a <- exp(-2.16)*2.16"0/factorial(e) prob.@a prob.la <- round(1-(choose(19,0)*prob.0a”e*(1-prob.08a)»(19-8)), 3) prob.1la Sample Output > #Question 16 > ql6.rate <- 6*0.36 > prob.@® <- dpois(@, qlé.rate) > prob.1 <- round(sum(dbinom(1:19, 19, prob.e)),3) > prob.1 [1] @.903 > #Manually > prob.@a <- exp(-2.16)*2.1679/factorial(Q)