Concrete compressive strength directly impacts the material’s strength and permeability. Thus, it is an essential consideration for engineers, architects, and constructions.
Furthermore, it contributes to construction industry sustainability and reliability as well since the structural integrity of a building is influenced by concrete: more efficient construction practices, cost savings, enhanced safety.
Dataset donated on August 2, 2007, focuses on Concrete Compressive Strength, a crucial property in civil engineering.
Multivariate dataset with 1030 instances.
9 attributes in total: 8 quantitative input variables and 1 quantitative output variable, indicating factors influencing compressive strength.
No missing values
| Variable | Description |
|---|---|
| Cement | Amount of cement in the mixture (kg/m^3) |
| Blast Furnace Slag | Amount of blast furnace slag in the mixture (kg/m^3) |
| Fly Ash | Amount of fly ash in the mixture (kg/m^3) |
| Water | Amount of water in the mixture (kg/m^3) |
| Superplasticizer | Amount of superplasticizer in the mixture (kg/m^3) |
| Coarse Aggregate | Amount of coarse aggregate in the mixture (kg/m^3) |
| Fine Aggregate | Amount of fine aggregate in the mixture (kg/m^3) |
| Age | Age of the concrete in days |
| Concrete Compressive Strength(MPa) | Concrete compressive strength in megapascals (MPa) |
All predictors are selected for the backward selection.
\[\small CCS = -23.16 + 0.12\ cement + 0.10\ blast\ furnace\ slag \\ \small+ 0.09\ fly\ ash -0.15\ water + 0.29\ superplasticizer\\ \small+ 0.02\ course\ ag + 0.02\ fine\ ag + 0.11\ age\]
Start: AIC=4833.05
ccs ~ cement + blast_furnace_slag + fly_ash + water + superplasticizer +
coarse_ag + fine_ag + age
Df Sum of Sq RSS AIC
<none> 110428 4833.1
- fine_ag 1 384 110812 4834.6
- coarse_ag 1 398 110827 4834.8
- superplasticizer 1 1046 111474 4840.8
- water 1 1513 111942 4845.1
- fly_ash 1 5281 115709 4879.2
- blast_furnace_slag 1 11353 121781 4931.8
- cement 1 21533 131961 5014.5
- age 1 47905 158333 5202.2
Call:
lm(formula = ccs ~ cement + blast_furnace_slag + fly_ash + water +
superplasticizer + coarse_ag + fine_ag + age, data = concrete)
Coefficients:
(Intercept) cement blast_furnace_slag fly_ash
-23.16376 0.11979 0.10385 0.08794
water superplasticizer coarse_ag fine_ag
-0.15030 0.29069 0.01803 0.02015
age
0.11423
\[\small CCS = 29.03 + 0.11\ cement + 0.09\ blast\ furnace\ slag + 0.07\\ \small fly\ ash -0.22\ water + 0.24\ superplasticizer + 0.11\ age\]
Start: AIC=5801.44
ccs ~ 1
Df Sum of Sq RSS AIC
+ cement 1 71172 216001 5510.1
+ superplasticizer 1 38490 248683 5655.2
+ age 1 31061 256112 5685.5
+ water 1 24087 263086 5713.2
+ fine_ag 1 8033 279140 5774.2
+ coarse_ag 1 7811 279362 5775.0
+ blast_furnace_slag 1 5220 281953 5784.5
+ fly_ash 1 3212 283961 5791.9
<none> 287173 5801.4
Step: AIC=5510.1
ccs ~ cement
Df Sum of Sq RSS AIC
+ superplasticizer 1 29646.5 186354 5360.0
+ age 1 23993.8 192007 5390.8
+ blast_furnace_slag 1 22957.4 193043 5396.4
+ water 1 17926.8 198074 5422.9
+ coarse_ag 1 3548.0 212453 5495.0
+ fly_ash 1 2894.4 213106 5498.2
+ fine_ag 1 960.2 215041 5507.5
<none> 216001 5510.1
Step: AIC=5360.03
ccs ~ cement + superplasticizer
Df Sum of Sq RSS AIC
+ age 1 37498 148857 5130.6
+ blast_furnace_slag 1 19456 166898 5248.5
+ fine_ag 1 5862 180493 5329.1
+ water 1 782 185572 5357.7
+ fly_ash 1 741 185613 5357.9
<none> 186354 5360.0
+ coarse_ag 1 241 186113 5360.7
Step: AIC=5130.63
ccs ~ cement + superplasticizer + age
Df Sum of Sq RSS AIC
+ blast_furnace_slag 1 19908.5 128948 4984.7
+ water 1 4868.8 143988 5098.4
+ fine_ag 1 3385.5 145471 5108.9
+ fly_ash 1 323.9 148533 5130.4
<none> 148857 5130.6
+ coarse_ag 1 36.9 148820 5132.4
Step: AIC=4984.75
ccs ~ cement + superplasticizer + age + blast_furnace_slag
Df Sum of Sq RSS AIC
+ water 1 9544.7 119403 4907.5
+ fly_ash 1 6524.7 122423 4933.3
+ coarse_ag 1 1737.0 127211 4972.8
<none> 128948 4984.7
+ fine_ag 1 3.5 128945 4986.7
Step: AIC=4907.54
ccs ~ cement + superplasticizer + age + blast_furnace_slag +
water
Df Sum of Sq RSS AIC
+ fly_ash 1 8547.4 110856 4833.0
+ fine_ag 1 1895.7 117508 4893.1
<none> 119403 4907.5
+ coarse_ag 1 24.1 119379 4909.3
Step: AIC=4833.03
ccs ~ cement + superplasticizer + age + blast_furnace_slag +
water + fly_ash
Df Sum of Sq RSS AIC
<none> 110856 4833.0
+ coarse_ag 1 44.271 110812 4834.6
+ fine_ag 1 29.398 110827 4834.8
Call:
lm(formula = ccs ~ cement + superplasticizer + age + blast_furnace_slag +
water + fly_ash, data = concrete)
Coefficients:
(Intercept) cement superplasticizer age
29.03022 0.10543 0.23900 0.11349
blast_furnace_slag water fly_ash
0.08649 -0.21829 0.06871
| Forward model | Backward model | |||
| Predictors | Estimates | p | Estimates | p |
| (Intercept) | 29.03 | <0.001 | -23.16 | 0.384 |
| cement | 0.11 | <0.001 | 0.12 | <0.001 |
| superplasticizer | 0.24 | 0.005 | 0.29 | 0.002 |
| age | 0.11 | <0.001 | 0.11 | <0.001 |
| blast furnace slag | 0.09 | <0.001 | 0.10 | <0.001 |
| water | -0.22 | <0.001 | -0.15 | <0.001 |
| fly ash | 0.07 | <0.001 | 0.09 | <0.001 |
| coarse ag | 0.02 | 0.055 | ||
| fine ag | 0.02 | 0.060 | ||
| Observations | 1030 | 1030 | ||
| R2 / R2 adjusted | 0.614 / 0.612 | 0.615 / 0.612 | ||
| AIC | 7758.047 | 7758.064 | ||
Selected Factors based on Correlation Analysis: cement, water
Overall Trend: There is a negative linear relationship between Water and CCS in all three age groups.
Variability: There is variability in CCS for a given amount of water, such as 190.
Outliers: There are some points that appear to be extreme values.
Call:
lm(formula = ccs ~ water * as.factor(age), data = concrete_filtered)
Residuals:
Min 1Q Median 3Q Max
-31.104 -8.004 -1.294 7.431 38.174
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 66.12132 9.79597 6.750 3.18e-11 ***
water -0.26756 0.05527 -4.841 1.60e-06 ***
as.factor(age)7 40.78927 14.65428 2.783 0.00553 **
as.factor(age)28 26.15494 11.35299 2.304 0.02154 *
water:as.factor(age)7 -0.17361 0.08096 -2.144 0.03235 *
water:as.factor(age)28 -0.03578 0.06345 -0.564 0.57307
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 12.41 on 679 degrees of freedom
Multiple R-squared: 0.3767, Adjusted R-squared: 0.3721
F-statistic: 82.06 on 5 and 679 DF, p-value: < 2.2e-16
In this case, “3 days” is the reference group.
\(CCS = 66.1 + -0.26756 * water + I(Age)\)
Where \(I(age) = as.factor(age) + water:as.factor(age) \times water\)
The R-squared value of 0.3767 suggests that the model explains approximately 37.67% of the variance in CCS.
The adjusted R-squared value of 0.3721 being close to the R-squared value 0.3767 suggests that most predictors in the model are relevant.
Assumption: As residual plot is distributed randomly and QQ plot is closely follow the straight line, thus, the assumptions of linear regression such as linearity, homoscedasticity and residuals are independent and normal, are met.
Overall Trend: There is a positive linear relationship between cement and CCS in all three age groups.
Variability: There is variability in CCS for a given amount of cement, such as 380.
Outliers: There are some points that appear to be extreme values.
Call:
lm(formula = ccs ~ cement * as.factor(age), data = concrete_filtered)
Residuals:
Min 1Q Median 3Q Max
-28.866 -7.650 -0.347 6.190 40.364
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -1.800305 2.496996 -0.721 0.47116
cement 0.072516 0.008179 8.866 < 2e-16 ***
as.factor(age)7 -5.242403 3.757912 -1.395 0.16346
as.factor(age)28 13.699822 2.824052 4.851 1.52e-06 ***
cement:as.factor(age)7 0.033240 0.011806 2.815 0.00501 **
cement:as.factor(age)28 0.021097 0.009395 2.245 0.02506 *
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 9.966 on 679 degrees of freedom
Multiple R-squared: 0.5979, Adjusted R-squared: 0.5949
F-statistic: 201.9 on 5 and 679 DF, p-value: < 2.2e-16
In this case, “3 days” is the reference group.
\(CCS = -1.8003 + 0.0725 \times cement+I(age)\)
Where \(I(age) = as.factor(age) + cement:as.factor(age) \times cement\)
The R-squared value of 0.5979 suggests that the model explains approximately 59.79% of the variance in CCS.
The adjusted R-squared value of 0.5949 being close to R-squared value suggests that most predictors in the model are relevant.
F-statistic with low p-value means that the regression model with the predictors fits the data significantly better than a model without any predictors.
Assumption: As residual plot is distributed randomly and QQ plot is closely follow the straight line, thus, the assumptions of linear regression such as linearity, homoscedasticity and residuals are independent and normal, are met.
Both cement and water are significant but the coefficient of cement has much smaller p-value.
The coefficient for water is -0.2676, and for cement, it is 0.0725. Water is more economical signifcant.
Water model explains 37.67% varicance while cement model explains 59.79%.
Cement model is more appropriate and cement variable seems to be more significant, but…
In this case, “3 days” is the reference group.
\(ccs = 37.77 + 0.0668\ cement - 0.2153\ water + I(age)\)
The R-squared value of 0.6687 suggests that the model explains approximately 66.87% of the variance in CCS.
The adjusted R-squared value of 0.6645 being close to R-squared value suggests that most predictors in the model are relevant.
F-statistic with low p-value means that the regression model with the predictors fits the data significantly better than a model without any predictors.
Assumption: As residual plot is distributed randomly and QQ plot is closely follow the straight line, thus, the assumptions of linear regression such as linearity, homoscedasticity and residuals are independent and normal, are met.
The R-squared indicates that 66.87% variance can be explain by this model.
The p-value of F-statistic are smaller, the model is statistical significant.
Call:
lm(formula = ccs ~ cement * as.factor(age) + water * as.factor(age),
data = concrete_filtered)
Residuals:
Min 1Q Median 3Q Max
-23.673 -6.314 -0.603 5.478 34.144
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 37.7668727 7.8373360 4.819 1.78e-06 ***
cement 0.0667950 0.0075191 8.883 < 2e-16 ***
as.factor(age)7 8.0160759 12.5628174 0.638 0.5236
as.factor(age)28 15.4283287 9.0989451 1.696 0.0904 .
water -0.2152695 0.0408096 -5.275 1.79e-07 ***
cement:as.factor(age)7 0.0218773 0.0112218 1.950 0.0516 .
cement:as.factor(age)28 0.0192758 0.0086543 2.227 0.0263 *
as.factor(age)7:water -0.0437773 0.0618598 -0.708 0.4794
as.factor(age)28:water 0.0006194 0.0469447 0.013 0.9895
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 9.066 on 676 degrees of freedom
Multiple R-squared: 0.6687, Adjusted R-squared: 0.6647
F-statistic: 170.5 on 8 and 676 DF, p-value: < 2.2e-16
For the age is 3 days, both the coefficients of water and cement are significant(p < 0.05).
For 7 and 28 days, the coefficients of cement are significant or borderline significant. However, the coefficients of water are not.
The combined model consider more variances than the another two models and have larger R-squared value. In our model, cement is more significant than water.
Cement makes the most significant effect on concrete compressive strength
For single variable models, the cement model is more appropriate
For the combined model, cement is also shown to be more significant compared to water.
Comparing all of our models, the combined model is the most statistical significant one.