Question

In: Statistics and Probability

Watson & Watson Repair Inc. provides maintenance service for a large apartment complex in downtown Saint...

Watson & Watson Repair Inc. provides maintenance service for a large apartment complex in downtown Saint Petersburg, Florida. The managers are evaluating the possibility of hiring another maintenance person due to the increase of maintenance calls. Rafael Roddick and Andy Nadal are currently responsible for maintenance tasks. To investigate “what” drives Repair Time and be able to hire the best candidate, the managers hire you as statistician to conduct a regression analysis. As dependent variable you have time of repair for each, Rafael and Andy. You also have time since last maintenance. You should accomplish your analysis step by step, including one variable at a time. First look at the correlations table to figure out the relationship between variables.

STEP 1: use the dummy variable REPAIRPERSON = 1 IF responsible = RAFAEL;   REPAIRPERSON = 0 IF responsible = ANDY; RUN a regression model using ONLY repairperson as variable to explain REPAIRTIME

  1. (0.5pt) Comment on goodness of fit of the model

Fully explain here:

  1. (2pt) Report the statistical significance of the coefficients.

Fully explain here:

Solutions

Expert Solution

Sol:

Comment on goodness of fit of the model is

fit<-lm(Repair.time.hours.~Month.since.last.service)
summary(fit)

Output:

Call:

lm(formula = Repair.time.hours. ~ Month.since.last.service)

Residuals:

Min 1Q Median 3Q Max

-1.21074 -0.30179 -0.00549 0.43946 1.06436

Coefficients:

Estimate Std. Error t value Pr(>|t|)

(Intercept) 2.03602 0.52847 3.853 0.00486 **

Month.since.last.service 0.32490 0.08824 3.682 0.00620 **

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 0.6868 on 8 degrees of freedom

Multiple R-squared: 0.6289, Adjusted R-squared: 0.5825

F-statistic: 13.56 on 1 and 8 DF, p-value: 0.0062

-------------------------------------------------------------------------------
## Pvalue of model is less than 0.05 hence we can say that model is good fit
##Model gives R2=0.62 which is good value, says that Month.since.last.service is explaining 62% of variability in Repair.time.hours.
#Residual Vs. Fitted plot to check goodness of fit.
plot(fitted(fit),residuals(fit),col="green",lwd=5)

Output:


## Fitted Vs. residual plot shows no pattern which mean model is goodfit.

The statistical significance of the coefficients is

To check statistical significance of the coefficients we will use anova.
# Hypothesis:
#H01:Month.since.last.service is not significant variable for model
#Vs.
#H11:Month.since.last.service is significant variable for model

#H02:Maintanance.person is not significant variable for model
#Vs.
#H12:Maintanance.person is significant variable for model
anova(Fit1)

Ouput:

Analysis of Variance Table

Response: Repair.time.hours.

Df Sum Sq Mean Sq F value Pr(>F)

Month.since.last.service 1 6.3954 6.3954 14.9080 0.006203 **

Maintanance.person 1 0.7706 0.7706 1.7964 0.222018

Residuals 7 3.0030 0.4290   

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

#Conclusion1: pvalue of Month.since.last.service is 0.006203 <0.05, hence we will reject H01 and conclude that

Month.since.last.service is significant variable for model at 5% los.

#Conclusion2: pvalue of Maintanance.person is 0.222018 >0.05, hence we will do not reject H02 and conclude that

Maintanance.person is not significant variable for model 5% los.

If you Satisfy with Answer, Please give me "Thumb Up". It was very important to me.


Related Solutions

Barton and statler are neighbors in an apartment complex in downtown Manhattan. Barton is a concert...
Barton and statler are neighbors in an apartment complex in downtown Manhattan. Barton is a concert pianist, and starker is a poet working on an epic poem. Barton rehearses his concert pieces on the baby grand piano in his front room, which is directly above Statlers study. The following matrix shows the monthly payoffs to Barton starker when Barton’s front room is and is not soundproofed. The soundproofing will be effective if only it is installed in Barton’s apartment. Gains...
The owner of a large apartment complex had an in-ground swimming pool installed in an effort...
The owner of a large apartment complex had an in-ground swimming pool installed in an effort to increase tenant satisfaction. Nine tenants were randomly selected to complete a questionaire that assessed their level of satisfaction with the apartment complex. Their scores before and after the installation of the pool are taken (before -after). The owner wants to assess the effectiveness of the pool in increasing tenant satisfaction. a) state the hypothesis in symbols b) indicate the type of t-test (...
The manager of a large apartment complex knows from experience that 90 units will be occupied...
The manager of a large apartment complex knows from experience that 90 units will be occupied if the rent is 468 dollars per month. A market survey suggests that, on the average, one additional unit will remain vacant for each 9 dollar increase in rent. Similarly, one additional unit will be occupied for each 9 dollar decrease in rent. What rent should the manager charge to maximize revenue?
A roommate matching service surveys potential tenants for an apartment complex. They run the survey data...
A roommate matching service surveys potential tenants for an apartment complex. They run the survey data through a software program that uses an algorithm to identify whether 2 people are a match. The program follows a binomial distribution and finds a positive match 30% of the time. It is able to compare 100 sets of potential roommates per day a. What is the probability that the software will find exactly 40 matches in any given day? b. What is the...
Question 1 Office Support, Inc. provides on-site repair for most large photocopy machines. It currently has...
Question 1 Office Support, Inc. provides on-site repair for most large photocopy machines. It currently has five trained repair teams that it sends out on an on-call basis. Since the company advertises one-day service, it will not accept more than five requests for service per day. Two months ago, the vice president started considering expanding the workforce. At that time he asked the call desk to record the actual calls for each of the next 40 days. The data to...
A large stockpile of used pumps contains 20% that are in need of repair. A maintenance worker is sent to the stockpile with three repair kits.
A large stockpile of used pumps contains 20% that are in need of repair. A maintenance worker is sent to the stockpile with three repair kits. She selects pumps at random and tests them one at a time. If the pump works, she sets it aside for future use. However, if the pump does not work, she uses one of her repair kits on it. Suppose that it takes 10 minutes to test a pump that is in working condition...
Johnson Filtration, Inc., provides maintenance service for water filtration systems throughout southern Florida. Customers contact Johnson...
Johnson Filtration, Inc., provides maintenance service for water filtration systems throughout southern Florida. Customers contact Johnson with requests for maintenance service on their water filtration systems. To estimate the service time and the service cost, Johnson's managers want to predict the repair time necessary for each maintenance request. Hence, repair time in hours is the dependent variable. Repair time is believed to be related to three factors; the number of months since the last maintenance service, the type of repair...
Tenants at a large apartment complex recently filed a lawsuit alleging racial steering. The plaintiffs claimed...
Tenants at a large apartment complex recently filed a lawsuit alleging racial steering. The plaintiffs claimed that white potential renters were steered to Section​ A, while black renters were steered to Section B. The table displays the data that were presented in court to show the locations of recently rented apartments. Do you think there is evidence of racial​ steering? white black Section A 94 25 Section B 87 27 Compute the​ chi-square statistic. chi squared χ2=__ ​(Round to two...
A school district establishes a vehicle repair shop that provides service to other departments, all of...
A school district establishes a vehicle repair shop that provides service to other departments, all of which are accounted for in its general fund. During its first year of operations the shop engages in the fol-lowing transactions: • It purchases equipment at a cost of $24 million and issues long-term notes for the purchase price. The useful life of the equipment is eight years, with no residual value. • It purchases supplies at a cost of $4 million. Of these...
A school district establishes a vehicle repair shop that provides service to other departments, all of...
A school district establishes a vehicle repair shop that provides service to other departments, all of which are accounted for in its general fund. During its first year of operations the shop engages in the following transactions: It purchases equipment at a cost of $24 million and issues long-term notes for the purchase price. The useful life of the equipment is eight years, with no residual value. It purchases supplies at a cost of $4 million. Of these it uses...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT