2. Consider the data Repair. a) Develop the estimated simple linear regression equation to predict the repair time (y) given the type of repair (x₁). x₁ = 0 if the type of repair is mechanical and 1 if the repair is electrical. b) Does the equation developed in part (a) provide a good fit? c) Develop the estimated linear regression equation to predict the repair time (y) given the type of repair (x₁) and the repairperson who performed the service (x₂). x₁ = 0 if the type of repair is mechanical and 1 if the repair is electrical. X₂ = 0 if Bob Jones performed the service and 1 if Dave Newton performed the service. d) Between (a) and (c), which one is a better fit? Why?

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Question

***PLEASE INCLUDE EXCEL OUTPUT WITH YOUR RESPONSE

Repair Time
(hours)
2.9
3.0
4.8
1.8
2.9
4.9
4.2
4.8
4.4
4.5
Months Since
Last Service
2
6
8
3
2
7
9
8
4
Data
6
Type of
Repair
Repairperson
electrical
Dave Newton
mechanical Dave Newton
electrical
Bob Jones
mechanical
Dave Newton
electrical
Dave Newton
electrical
mechanical
mechanical
electrical
electrical
Page 1
Bob Jones
Bob Jones
Bob Jones
Bob Jones
Dave Newton
Transcribed Image Text:Repair Time (hours) 2.9 3.0 4.8 1.8 2.9 4.9 4.2 4.8 4.4 4.5 Months Since Last Service 2 6 8 3 2 7 9 8 4 Data 6 Type of Repair Repairperson electrical Dave Newton mechanical Dave Newton electrical Bob Jones mechanical Dave Newton electrical Dave Newton electrical mechanical mechanical electrical electrical Page 1 Bob Jones Bob Jones Bob Jones Bob Jones Dave Newton
2. Consider the data Repair.
a) Develop the estimated simple linear regression equation to predict the repair time (y) given
the type of repair (x₁). x₁ = 0 if the type of repair is mechanical and 1 if the repair is
electrical.
b) Does the equation developed in part (a) provide a good fit?
c) Develop the estimated linear regression equation to predict the repair time (y) given the
type of repair (x₁) and the repairperson who performed the service (x₂). x₁ = 0 if the type
of repair is mechanical and 1 if the repair is electrical. X₂ = 0 if Bob Jones performed the
service and 1 if Dave Newton performed the service.
d) Between (a) and (c), which one is a better fit? Why?
Answer:
Transcribed Image Text:2. Consider the data Repair. a) Develop the estimated simple linear regression equation to predict the repair time (y) given the type of repair (x₁). x₁ = 0 if the type of repair is mechanical and 1 if the repair is electrical. b) Does the equation developed in part (a) provide a good fit? c) Develop the estimated linear regression equation to predict the repair time (y) given the type of repair (x₁) and the repairperson who performed the service (x₂). x₁ = 0 if the type of repair is mechanical and 1 if the repair is electrical. X₂ = 0 if Bob Jones performed the service and 1 if Dave Newton performed the service. d) Between (a) and (c), which one is a better fit? Why? Answer:
Expert Solution
steps

Step by step

Solved in 5 steps with 34 images

Blurred answer
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman