Question

In: Statistics and Probability

Using R-Studio find the answer to The average number of patrons arriving at a restaurant per...

Using R-Studio find the answer to

The average number of patrons arriving at a restaurant per hour is eleven. What is the probability that eight or less will arrive in the next hour?

1. 0.232

2. 0.173

3. 0.1432

4. 0.8881

Solutions

Expert Solution

Solution:

We are given that: The average number of patrons arriving at a restaurant per hour is eleven.

That is :

Thus X = number of patrons arriving at a restaurant per hour follows Poisson distribution with parameter .

We have to use R-Studio to find the probability that eight or less will arrive in the next hour.

That is:

Use following R command:

> ppois( x value , lambda= parameter)

thus

> ppois(8, lambda=11)

which gives result

0.2319851

thus

Thus correct option is: 1) 0.232


Related Solutions

Can You please Answer the question using R studio and R cloud Telomeres are complexes of...
Can You please Answer the question using R studio and R cloud Telomeres are complexes of DNA and protein that cap chromosomal ends. They consist of the same short DNA sequence TTAGGG repeated over and over again. They tend to shorted with cell divisions and with advancing cellular age, which will lead to chromosome instability or apoptosis (programmed cell death). Eukaryotic cells have the ability to reverse telomere shortening by expressing telomerase, an enzyme that extends the telomeres of chromosomes....
** Number 2 implemented in R (R Studio) ** Set up the Auto data: Load the...
** Number 2 implemented in R (R Studio) ** Set up the Auto data: Load the ISLR package and the Auto data Determine the median value for mpg Use the median to create a new column in the data set named mpglevel, which is 1 if mpg>median and otherwise is 0. Make sure this variable is a factor. We will use mpglevel as the target (response) variable for the algorithms. Use the names() function to verify that your new column...
I want this to be solved using R studio or R software, please. Here is the...
I want this to be solved using R studio or R software, please. Here is the example: The data in stat4_prob5 present the performance of a chemical process as a function of sever controllable process variables. (a) Fit a multiple regression modelrelating CO2product (y) to total solvent (x1) and hydrogen consumption (x2) and report the fitted regression line. (b) Find a point estimatefor the variance term σ2. (c) Construct the ANOVA tableand test for the significance of the regression using...
Suppose the number of customers arriving at a store obeys a Poisson distribution with an average...
Suppose the number of customers arriving at a store obeys a Poisson distribution with an average of λ customers per unit time. That is, if Y is the number of customers arriving in an interval of length t, then Y∼Poisson(λt). Suppose that the store opens at time t=0. Let X be the arrival time of the first customer. Show that X∼Exponential(λ).
Answer using R Studio Here we consider the amount of data needed to perform hypothesis testing....
Answer using R Studio Here we consider the amount of data needed to perform hypothesis testing. Suppose we are testing a coin using observations of tosses. We wish to test H0: p = 0.5 against an alternative of HA : p = 0.6 (in this question use one-sided tests only). How many tosses are needed to guarantee a size Æ∑ 0.05 and Ø∑ 0.2? Now generalize to consider HA : p = 0.5+delta. Choose sensible values for delta and quantify...
In R/ R Studio, what code would I enter to find the answers to these questions?...
In R/ R Studio, what code would I enter to find the answers to these questions? What is the code to find the descriptive/ summary statistics of all variables in a data set and how do i find the mean values? What is the code to measure the skewness measure of delta time for all of all the values in the data set? What is the code to draw a histogram and q-q plot of the natural log of a...
*Please provide r studio code/file* 1) Find the equation of the best fit line using least...
*Please provide r studio code/file* 1) Find the equation of the best fit line using least squares linear fit of x,y: set.seed(88) x <- 1:100 y <- jitter(1.5*x+8,amount=10) 2) For question 1, Draw the P=0.95 prediction intervals for y when x=1:150 3) For question 1, Find the equation of the best fit line using median-based linear fit of x,y. 4) For question 3, draw the P=0.95 prediction interval for y # when x=1:150
Use R studio As of March 23, 2020, the number of COVID19 cases in the state...
Use R studio As of March 23, 2020, the number of COVID19 cases in the state of Florida was 1007, with 13 deaths. The number of cases in Louisiana was 837, with 20 deaths. We are interested in comparing the state’s mortality rates.   Construct a 95% confidence intervals for the difference of the two unknown population proportions. Draw some conclusions. Test the hypothesis that the state of Louisiana has a higher mortality rate at a = 0.1. What are the...
The number of emails arriving at a server per minute is claimed to follow a Poisson distribution.
  The number of emails arriving at a server per minute is claimed to follow a Poisson distribution. To test this claim, the number of emails arriving in 70 randomly chosen 1-minute intervals is recorded. The table below summarizes the result.           Number of emails 0 1 2 ≥ 3 Observed Frequency 13 22 23 12 Test the hypothesis that the number of emails per minute follows a Poisson distribution? Use a significance level of α...
The number of customers arriving per hour at a certain automobile service facility is assumed to...
The number of customers arriving per hour at a certain automobile service facility is assumed to follow a Poisson distribution with mean λ=5. a) Compute the probability that more than 11 customers will arrive in a 2​-hour period. b) What is the mean number of arrivals during a 2​-hour ​period?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT