Answered step by step
Verified Expert Solution
Question
1 Approved Answer
https://www.stat.auckland.ac.nz/~wild/VITonline/ Question 3 (continued) (a) (i) Why would the median be a better estimate of the centre of this data than the mean? (ii) Generate
https://www.stat.auckland.ac.nz/~wild/VITonline/
Question 3 (continued) (a) (i) Why would the median be a better estimate of the centre of this data than the mean? (ii) Generate a bootstrap confidence interval for the median wait time of customers. (DO NOT use the variable Type at this point.) Include the output (see VIT Guide) in your assignment answers. (iii) What is the parameter we are estimating using this bootstrap confidence interval? (iv) Do we know the true value of this parameter? (v) Interpret the bootstrap confidence interval. (b) (i) Generate a bootstrap confidence interval for the difference in the median wait time between regular and fancy coffees. Include the output (see VIT Guide) in your assignment answers. (ii) What is the parameter we are estimating using this bootstrap confidence interval? (iii) Interpret the bootstrap confidence interval. (iv) Based on the bootstrap confidence interval, is it believable that the median wait time for regular coffees is the same as the median wait time for fancy coffees? Briefly justify your answer.Question 3. . How long do you have to wait for your coffee after placing an order":I Does the wait time depend on the type of coffee ordered? A study to investigate this was carried out on a random sample of customers in Boston-area coffee shops. For each customer, the time (in seconds) between ordering and receiving their coffee was recorded as was the type of coffee ordered. The resulting data is stored in the le "CoffeeType . csv" which can be downloaded from Canvas. The data contains two variables: Wait The wait time between placing the order and receiving the coffee (in seconds) Type The type of coffee ordered (coded as either Regular or Fancy) Load the le Co ff ee Type . :31: into VIT Online or iNZightVIT A B Wait Type 42 Fancy 142 Fancy 127 Fancy 114 Fancy 6 238 Fancy 45 Fancy 8 45 Regular 26 Regular 10 123 Fancy 11 104 Fancy 12 64 Fancy 13 113 Fancy 14 92 Fancy 15 32 Regular 16 37 Regular 17 49 Fancy 18 50 Regular 35 Regular 20 57 Regular 21 75 Fancy 22 117 Fancy 23 44 Regular 24 64 Fancy 25 166 Fancy 86 48 Regular 27 40 Regular 28 36 Regular 29 106 Fancy 30 109 Fancy 31 29 Regular 32 45 Regular 33 82 Fancy 34 71 Fancy 35 97 Fancy 36 60 Regular 37 67 Fancy 38 71 Fancy 42 Regular 40 54 Regular 41 44 Regular 42 51 Regular 43 84 Fancy 4 4 139 Fancy 45 184 Fancy 46 178 Fancy 47 95 Regular 48 98 Fancy 49 223 Fancy 50 140 Fancy51 39 Regular 52 48 Regular 53 166 Fancy 54 61 Regular 55 174 Fancy 56 86 Fancy 57 185 Fancy 58 28 Regular 59 99 Fancy 60 55 Fancy 61 48 Regular 62 39 Regular 63 54 Fancy 64 51 Regular 44 Regular 66 37 Regular 67 52 Fancy 60 Fancy 69 81 Regular 70 112 Fancy 71 55 Regular 72 28 Regular 73 99 Fancy 74 51 Regular 75 45 Regular 76 227 Fancy 77 94 Fancy 78 39 Fancy 79 34 Regular 80 33 Regular 81 42 Regular 82 99 Fancy 83 170 Fancy 84 180 Fancy 85 29 Regular 36 Regular 87 136 Fancy 88 71 Regular 89 114 Regular 141 Fancy 31 93 Fancy 92 47 Regular 93 47 Regular 94 63 RegularStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started