AFM 113, W21 Assignment 2 Example Template
Assignment 2 Example Template
Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: THEend8_
AFM 113, W21 Assignment 2 Example Template
Question 1
A small college town has 2 pizza stores that make deliveries. A student doing a research paper
for their business management class decides to compare how promptly each store delivers. On
six randomly chosen nights, they order a large pepperoni pizza from each establishment, then
they record the elapsed time until the pizza is delivered to the apartment. Assume that the
apartment is approximately the same distance from the two pizza stores. The table below shows
the times (in minutes) for these deliveries. It is also known that the group variances are not
equal.
Tony’s Luigi’s
20.0 22.1
24.0 27.0
18.3 20.2
22.0 32.0
20.8 26.0
19.0 24.8
Mean
Standard
Deviation
a) (Do by hand) You are interested in testing whether the average time of delivery is different
between the two stores.
- Use the data to test the hypothesis of interest by performing a hypothesis test at a 5%
level of significance.
- Clearly show all four steps of your hypothesis test and use the critical value to make a
clear conclusion.
b) Use R to solve for a 95% confidence interval of the average difference in delivery time
between the pizza stores.
- Interpret your interval, what does this suggest about the difference in the average
delivery time between the two stores??
- Is this a matching confidence interval to the hypothesis test performed in part a)?
Explain.
Question 2
A home improvement show gives tips on ways to improve your house before it is listed for sale.
The show claims that their tips will help to sell your house faster. To test the claim a researcher
found five pairs of houses that were similar in condition, area, and asking price. In each pair the
homeowners of one house were asked to follow the tips given in the show before putting their
houses on the market (no major renovations were allowed). The table lists the number of weeks
it took for the houses to sell.
Without Tips 9 10.5 3 5.5 14.5
Tips 7 6 5 1 4
a) Use R to solve for a 90% confidence interval for the true mean difference between the
number of weeks required to sell a house for homeowners that follow the show’s tips and
those who do not. Interpret your interval, what does this suggest about the tips given and
the number of weeks to sell a home?
b) Test the shows claim by performing a hypothesis test.
- Use R to perform a hypothesis test at a 10% level of significance.
- Your solution should clearly state the hypothesis being tested using the notation
introduced in the course lessons.
- Your solution should include a clear conclusion statement.