Question

In: Statistics and Probability

"FATALS","CUTTING" 270,15692 183,16198 319,17235 103,18463 149,18959 124,19103 62,19618 298,20436 330,21229 486,18660 302,17551 373,17466 187,17388 347,15261 168,14731...

"FATALS","CUTTING"

270,15692

183,16198

319,17235

103,18463

149,18959

124,19103

62,19618

298,20436

330,21229

486,18660

302,17551

373,17466

187,17388

347,15261

168,14731

234,14237

68,13216

162,12017

27,11845

40,11905

26,11881

41,11974

116,11892

84,11810

43,12076

292,12342

89,12608

148,13049

166,11656

32,13305

72,13390

27,13625

154,13865

44,14445

3,14424

3,14315

153,13761

11,12471

9,10960

17,9218

2,9054

5,9218

63,8817

41,7744

10,6907

3,6440

26,6021

52,5561

31,5309

3,5320

19,4784

10,4311

12,3663

88,3060

0,2779

41,2623

2,2058

5,1890

2,1535

0,1515

0,1595

23,1803

4,1495

0,1432

The above contains data on the following two variables

• FATALS: the annual number of fatalities from gas and dust explosions in coal mines for years 1915 to 1978.

• CUTTING: the number of cutting machines in use

(a) Fit the regression model using FATALS as the dependent variable and CUTTING as the independent variable.

(b) Using appropriate residual plots and formal tests, investigate the violation of any assumptions. Do any assumptions of the linear regression model appear to be violated? If so, which one (or ones)?

(Hint: Plot of residuals versus fitted values can be used for linearity, zero mean, and constant variance. Normal probability plot of the residuals can be used for normality. We also have formal tests for the constant variance and normality assumptions that you can do in R).

Hint: data=read.table(‘hmw6_prob3.txt’, header=T, sep=‘,’) y=data$FATALS x=data$CUTTING

Solutions

Expert Solution

As i just have the data with me i have manually entered the values of data in R and carried out the analysis the code and output is as follows

t=c(270,15692,183,16198,319,17235,103,18463,149,18959,124,19103,62,19618,298,20436,330,21229,486,18660,302,17551,373,17466,187,17388,347,15261,168,14731,234,14237,68,13216,162,12017,27,11845,40,11905,26,11881,41,11974,116,11892,84,11810,43,12076,292,12342,89,12608,148,13049,166,11656,32,13305,72,13390,27,13625,154,13865,44,14445,3,14424,3,14315,153,13761,11,12471,9,10960,17,9218,2,9054,5,9218,63,8817,41,7744,10,6907,3,6440,26,6021,52,5561,31,5309,3,5320,19,4784,10,4311,12,3663,88,3060,0,2779,41,2623,2,2058,5,1890,2,1535,0,1515,0,1595,23,1803,4,1495,0,1432) cutting=t[seq(2,128,2)] fatals=t[seq(1,127,2)] model=lm(fatals~cutting) model fatals_fitted=-47.70923+0.01343*cutting residual=fatals_fitted-fatals plot(residual,fatals_fitted) qqnorm(residual) shapiro.test(residual) 

The output is as follows:

model

Call:
lm(formula = fatals ~ cutting)

Coefficients:
(Intercept) cutting
-47.70923 0.01343

Hence model is

fatal=-47.70923+0.01343*cutting

As seen from this plot the variance is not constant hence assumption of constant variance is voilated.

to check whether the residuals have normal distribution i have used shapiro test further and qq plot as well

This is the required qq plot

The line in qq plot is not perfectly straight but can be considered straight to some extent and hence can be said that it has normal distribution.

Shapiro-Wilk normality test

data: residual
W = 0.95666, p-value = 0.02465

This is the Shapiro test from this it can be seen that p-value is 0.02465 so at 1%LOS we can say that residuals are normally distributed.


Related Solutions

QUESTION 10 In metal cutting, the application of cutting fluid decreases the coefficient of friction thereby...
QUESTION 10 In metal cutting, the application of cutting fluid decreases the coefficient of friction thereby improving the machining efficiency. True False 1 points    QUESTION 11 Increasing the rake angle of the cutting tool significantly reduces the power consumption in turning. True False 1 points    QUESTION 12 A work holder must position or locate a workpiece in a definite relation to the cutting tool and must withstand ________________________ forces. cutting and shearing cutting and holding cutting and compressive
5) Name the different types of thermal cutting and discuss designing tooling for thermal cutting.
5) Name the different types of thermal cutting and discuss designing tooling for thermal cutting.
Speedy Dress Manufacturing has two workstations, cutting and finishing. The cutting station is limited by the...
Speedy Dress Manufacturing has two workstations, cutting and finishing. The cutting station is limited by the speed of operating the cutting machine. Finishing is limited by the speed of the workers. Finishing normally waits for work from cutting. Each department works an eight-hour day. If cutting begins work two hours earlier than finishing each day, the two departments generally finish their work at about the same time. Not only does this eliminate the bottleneck, but also it increases finished units...
1. Figure 21.4 provides suggested cutting speeds and feeds for turn- ing. You are cutting a...
1. Figure 21.4 provides suggested cutting speeds and feeds for turn- ing. You are cutting a wrought carbon steel (1012) at normalized to 100 Bhn and have have selected a high speed steel tool. For a DOC of 150 in., What speed and feed would you select? 2. For problem 1, suppose you selected a speed of 145 sfpm and a feed of 0.015 in. per revolution. The workpiece is 4 in. in diameter. a. What is the input rpm?...
The cutting ratio in an orthogonal cutting model is given by To/Tc = sinϕ/Cos(ϕ-α) What is:...
The cutting ratio in an orthogonal cutting model is given by To/Tc = sinϕ/Cos(ϕ-α) What is: ϕ = ? α = ?
5. Quick Shop Printing has two workstations, cutting and pasting. The cutting station is limited by...
5. Quick Shop Printing has two workstations, cutting and pasting. The cutting station is limited by the speed of operating the cutting machine. Pasting is limited by the speed of the workers. Pasting is working at maximum capacity and as a result Quick Shop is turning away extra business. They have several options to consider. Select the appropriate one. a. Improve the efficiency of the cutting station. b. Hire a contractor to help with the pasting workstation. c. Reduce the...
QualCo manufactures a single product in two departments: Cutting and Assembly. During May, the Cutting department...
QualCo manufactures a single product in two departments: Cutting and Assembly. During May, the Cutting department completed a number of units of a product and transferred them to Assembly. Of these transferred units, 37,700 were in process in the Cutting department at the beginning of May and 153,800 were started and completed in May. May’s Cutting department beginning inventory units were 70% complete with respect to materials and 30% complete with respect to conversion. At the end of May, 51,500...
In general, cutting heat in cutting operations mainly affects tool wear, whereas grinding heat in grinding...
In general, cutting heat in cutting operations mainly affects tool wear, whereas grinding heat in grinding operations has a significant effect on the surface finish of the workpiece. Explain why this is so using a figure. Explain the reason for this with a figure. I can't read in cursive . Therefore, I would like you to write in block style.
By______spending or______taxes, a government can close the GDP gap. a decreasing; cutting b increasing; cutting c...
By______spending or______taxes, a government can close the GDP gap. a decreasing; cutting b increasing; cutting c increasing; adding d decreasing; adding An element of fiscal policy that changes automatically as income changes. a Automatic Stabilizer b Discretionary Fiscal Policy c Automatic De-Stabilizer d none of the above A system in which banks keep less than 100 percent of their deposits available for withdrawal. a Required Reserves b Excess Reserves c Deposit Expansion d Fractional Reserve Banking System
Heartland Paper Company is considering the purchase of a new high-speed cutting machine. Two cutting machine...
Heartland Paper Company is considering the purchase of a new high-speed cutting machine. Two cutting machine manufacturers have approached Heartland with proposals: (1) Toledo Tools and (2) Akron Industries. Regardless of which vendor Heartland chooses, the following incremental cash flows are expected to be realized. Year Incremental Cash Inflows Incremental Cash Outflows 1 $ 27,000 $ 22,000 2 28,000 23,000 3 33,000 28,000 4 36,000 31,000 5 35,000 30,000 6 34,000 29,000 a. If the machine manufactured by Toledo Tools...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT