Question

In: Statistics and Probability

(3) A family owns a restaurant that has two locations: one in the town of Rabbit...

(3) A family owns a restaurant that has two locations: one in the town of Rabbit Hash, Kentucky and the other in the town of Deer Lick, Kentucky. The owners of the restaurants want to know if there is a difference in the tenure of their employees (how long an employee works there from hiring to quitting / firing) between the two locations. They collect the following data on the tenure of six recent employees. The data is the number of years the employee worked at that location.

Rabbit Hash, KY location

Deer Lick, KY location

9.1

3.8

3.7

12.1

0.1

5.2

1.1

5.1

0.3

4.8

0.5

5.0

  • (a) Make a Q-Q plot for the Rabit Hash location.
  • (b) Estimate a 95% confidence interval for the difference in the median tenure between the two locations.
  • (c) Using the Wilcoxon Rank Sum Test, determine if there is a difference in the tenure between the two locations. Use a fixed type I error rate of 0.10.
  • (d) What is the level of significance of the test that you conducted in part (c).

Solutions

Expert Solution

## R command

Rabbit_Hash=c(9.1,3.7,0.1,1.1,0.3,0.5)
Deer_Lick=c(3.8,12.1,5.2,5.1,4.8,5)

## a)
boxplot(Rabbit_Hash, Deer_Lick,
names=c("Rabbit Hash", "Deer Lick") )


## b)
t.test(Rabbit_Hash, Deer_Lick)

## c)
wilcox.test(x=Rabbit_Hash, y=Deer_Lick, alternative = "two.sided")

## End command

(a) Make a Q-Q plot for the Rabit Hash location.

The boxplot of Rabit Hash's location is the left side. From this box plot, we can see that the observation includes one outlier.

(b) Estimate a 95% confidence interval for the difference in the mean tenure between the two locations is (-7.7630938 0.6964272). It includes the value zero. Hence, there is no difference in the tenure of their employees at the 0.05 level of significance.

c) Using the Wilcoxon Rank Sum Test, determine if there is a difference in the tenure between the two locations. Use a fixed type I error rate of 0.10.

The p-value for the Wilcoxon Rank Sum Test statistic W = 5 is 0.04113. The p-value is smaller than 0.10. Hence, we can conclude that two locations have significantly different medians in the tenure of their employees at the 0.05 level of significance

d) What is the level of significance of the test that you conducted in part (c).

Ans: The level of significance of the test that you conducted in part is 0.10.


Related Solutions

Ed's Tires and Brakes has two locations, one on the northwest side of town and one...
Ed's Tires and Brakes has two locations, one on the northwest side of town and one on the southeast side of town. At both locations are performed routine tire repairs and rotations, as well as expensive brake repairs. This past week, 60% of the cars serviced at Ed's were serviced at the northwest location, while 40% of the cars were serviced at the southeast location. (No car was serviced at both locations.) Brake repairs were more typical at the northwest...
A restaurant chain that has 3 locations in Portland is trying to determine which of their...
A restaurant chain that has 3 locations in Portland is trying to determine which of their 3 locations they should keep open on New Year’s Eve. They survey a random sample of customers at each location and ask each whether or not they plan on going out to eat on New Year’s Eve. The results are below. Run a test for independence to decide if the proportion of customers that will go out to eat on New Year’s Eve is...
A restaurant chain that has 3 locations in Portland is trying to determine which of their...
A restaurant chain that has 3 locations in Portland is trying to determine which of their 3 locations they should keep open on New Year’s Eve. They survey a random sample of customers at each location and ask each whether or not they plan on going out to eat on New Year’s Eve. The results are below. Run a test for independence to decide if the proportion of customers that will go out to eat on New Year’s Eve is...
The restaurant hamburger market in a small town has two firms. The product is undifferentiated (in...
The restaurant hamburger market in a small town has two firms. The product is undifferentiated (in other words, homogeneous) and the demand curve is Q = 200 – 2P. Firm 1 has constant average total cost of $4 per unit, and firm 2 has constant average total cost of $7. If the two firms simultaneously choose prices, what is the Bertrand equilibrium? How much will each firm sell, and what will each firm’s profit be?
Jonathan owns and operates a deli restaurant in New York City. It is a family business...
Jonathan owns and operates a deli restaurant in New York City. It is a family business and all of the employees are family members. Jonathan wants to establish a retirement plan so he can save for retirement and the retirement of his employees on a tax deferred basis. Jonathan only wants to contribute to the plan when the business makes a profit. He is happy to contribute on behalf of his employees if the business is doing well. He wants...
Mr Rabbit, Mr Bear and Mr Fox go to town. A new bakery has just opened,...
Mr Rabbit, Mr Bear and Mr Fox go to town. A new bakery has just opened, and in an attempt to attract awareness, it is offering free unlimited samples of its chocolate chip cookies. However, the free cookies can only be consumed in-store (you cannot take them home). Mr. Rabbit ate 10 cookies and then stopped Mr. Bear ate 25 cookies before he stopped, then bought a milkshake. Mr. Fox had 30 cookies and then stopped. The owner of the...
Management discovers that a supervisor at one of their restaurant locations removes excess cash and resets...
Management discovers that a supervisor at one of their restaurant locations removes excess cash and resets sales totals throughout the day on the point of sale (POS) system. At closing the supervisor deposits cash equal to the recorded sales on the POS system and keeps the rest. The supervisor forwards the close-of-day POS reports from the POS system along with a copy of the bank deposit slip to the company’s revenue accounting department. The revenue accounting department records the sales...
In a small town there are two places to eat: 1) a Chinese restaurant and 2)...
In a small town there are two places to eat: 1) a Chinese restaurant and 2) a pizza place. Everyone in town eats dinner at one of the these two places or eats dinner at home. Assume the 20% of those who eat in the Chinese restaurant go to the pizza place the next time and 40% eat at home. From those who eat at the pizza place, 50% go to the Chinese restaurant and 30% eat at home the...
3. a long time family friend owns a small business. this friend has promised to sell...
3. a long time family friend owns a small business. this friend has promised to sell you his business for $75,000 when he retires in 8 years. assuming that you can earn 7% on your money, how much will you need to save each year for the ext 8 years to have $75,000 when your friend retires?
An ambulance station has one vehicle and two demand locations, A and B. the probability that...
An ambulance station has one vehicle and two demand locations, A and B. the probability that the ambulance can travel to a location in under 8 minutes is .58 for location A and .42 for location B. the probability that the ambulance is busy at any point in time is .30. a. Find the probability that EMS can meet demand for an ambulance at Location A. b. Find the probability that EMS can meet demand for an ambulance at location...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT