Homework Week 3
Homework Week 3
Saad Mirza
Last compiled on September 25, 2022 at 10:59 PM -
CDT
1 Question 3.7:
The tensile strength of Portland cement is being studied. Four different
mixing techniques can be used economically. A completely randomized
experiment was conducted and the following data were collected:
Mixing
Technique 1 2 3 4
1 Question 3.7:
a. Test the hypothesis that mixing techniques affect the strength of
1.1 Handwritten the cement. Use ( α = 0.05)
Solution:
4 Source Code
for Problem 3.20:
3.7 Page 1
3.7 Page 2
3.7 Page 3
3.7 Page 4
3.7 Page 5
2 Question 3.10:
A product developer is investigating the tensile strength of a new
synthetic fiber that will be used to make cloth for men’s shirts. Strength
is usually affected by the percentage of cotton used in the blend of
materials for the fiber. The engineer conducts a completely randomized
experiment with five levels of cotton content and replicates the
experiment five times. The data are shown in the following table.
Cotton Weight
Percent 1 2 3 4 5
15 7 7 15 11 9
20 12 17 12 18 18
25 14 19 19 18 18
30 19 25 22 19 23
35 7 10 11 15 11
3.10 Page 1
3.10 Page 2
3.10 Page 3
3.10 Page 4
3 Question 3.20:
An article in the ACI Materials Journal (Vol. 84, 1987, pp. 213–216)
describes several experiments investigating the rodding of concrete to
remove entrapped air. A 3-inch & 6-inch cylinder was used, and the
number of times this rod was used is the design variable. The resulting
compressive strength of the concrete specimen is the response. The
data are shown in the following table:
PART A):
Ho : μ1 = μ2 = μ3 = μ4
rod10<-c(1530,1530,1440)
rod15<-c(1610,1650,1500)
rod20<-c(1560,1730,1530)
rod25<-c(1500,1490,1510)
rodadd<-rbind(rod10,rod15,rod20,rod25)
print(rodadd)
r10<-mean(rod10)
r15<-mean(rod15)
r20<-mean(rod20)
r25<-mean(rod25)
## [1] 40933.33
MSE<- SSE/(12-4)
print(MSE)
## [1] 5116.667
## [1] 1548.333
## [1] 28633.33
MStreatment<-SStreatment/(4-1)
print(MStreatment)
## [1] 9544.444
SST<-SSE+SStreatment
print(SST)
## [1] 69566.67
Finding F-Statistic:
Fo<-MStreatment/MSE
print(Fo)
## [1] 1.865364
## [1] 4.066181
?pf
Pvalue<-pf(1.86536, 3, 8, lower.tail = FALSE)
print(Pvalue)
## [1] 0.2137821
Conclusion:
----> Since our F-Statistic Value (1.865) is less than critical value (4.066),
so we fail to reject Ho and thus we conclude that there is no difference in
compressive strength due to the rodding level.
Finding CST→
4
2
SSTE 三三⾏⼀
z1j
whereN=4x3=12
= 52541155034-C15107
3.20 Part A Page 1 2883760G 287680
=28744900 296
SST -4-69691,67
69566-66
FindingSStrestment=
2
SStrestmat= 三啦⼀
n
T(450)+(41760)1(4790)1/4
3号 863.10000
CaSeraSStrestmat:=86101700-(1858'0)
58'0)
CaSeraSStrestmat:=86101700-(1812
3
##Question 3.20::
#PART A)
r10<-mean(rod10)
r15<-mean(rod15)
r20<-mean(rod20)
r25<-mean(rod25)
#Finding SSE,SStreatment,MSE,MStreatment::
SSE10 <- (1530-r10)^2 + (1530-r10)^2 + (1440-r10)^2
SSE15 <- (1610-r15)^2 + (1650-r15)^2 + (1500-r15)^2
SSE20 <- (1560-r20)^2 + (1730-r20)^2 + (1530-r20)^2
SSE25 <- (1500-r25)^2 + (1490-r25)^2 + (1510-r25)^2
#MSE:
MSE<- SSE/(12-4)
print(MSE)
#SStreatment::
mean <- c(mean(rodadd))
print(mean)
#MStreatment:
MStreatment<-SStreatment/(4-1)
print(MStreatment)
#SST::
SST<-SSE+SStreatment
print(SST)
#F-Statistic:
Fo<-MStreatment/MSE
print(Fo)
#Critical Value:
?qf
Fcritical<-qf(0.95,3,8)
print(Fcritical)
#PART B)
?pf
Pvalue<-pf(1.86536, 3, 8, lower.tail = FALSE)
print(Pvalue)