Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q5 (15 points) Continuing the scenario from the previous question, let's look at Lucy and Lei's waiting time data: waiting.csv. Part (i) Run this

 
 

Q5 (15 points) Continuing the scenario from the previous question, let's look at Lucy and Lei's waiting time data: waiting.csv. Part (i) Run this code to load and to transform the data. Make sure the data file is in your working directory before you run the code. waiting % group_by (numberofminutes) %>% summarize (numberofcustomers = n()) zeroes % replace_na(list (numberofcustomers = 0)) What is the variable name for the Y;'s? What is the value of m? Part (ii) For the random sample Y,..., Y. it can be shown that Ho ~N (0, #) where it is the MLE from Question 4. Compute a 95% confidence interval for using this asymptotic distribution and the observed values of the random sample Y,..., Ym. Part (iii) Compute the likelihood ratio A based on the sample Y,..., Ym and evaluate the claim that = 2, that is, two customers enter the shop per minute. Is this claim supported by the data? Part (iv) Use a bootstrap procedure to estimate a p-value corresponding to the claim that = 2 based on Y,..., Ym. Is your value different than what you got in Part (iii)? Say why you would expect them to be the same OR explain why they are different.

Step by Step Solution

3.46 Rating (162 Votes )

There are 3 Steps involved in it

Step: 1

Part i The variable name for the Ys is numberofcustomers and m is the total number of observations t... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Personal Finance

Authors: Jeff Madura

5th edition

132994348, 978-0132994347

More Books

Students also viewed these Organizational Behavior questions

Question

What factors contribute to distortions in memory?

Answered: 1 week ago

Question

List and briefly describe the types of bond mutual funds.

Answered: 1 week ago