Krishnan - at - Al: Sanjeet Jakati 02/04/2021

You might also like

You are on page 1of 8

Krishnan_at.

al
Sanjeet Jakati

02/04/2021
library(readxl)
Krishnan <- read_excel("C:/Users/Admin/Desktop/1MS20MCM04/Krishnan.xlsx",
col_types = c("numeric", "text", "text",
"text", "text", "text"))
View(Krishnan)
attach(Krishnan)
Krishnan

## # A tibble: 243 x 6
## sr rb rs s f d
## <dbl> <chr> <chr> <chr> <chr> <chr>
## 1 2.84 8.0 12.0 250.0 0.1 0.5
## 2 3.19 8.0 12.0 250.0 0.1 1.0
## 3 3.51 8.0 12.0 250.0 0.1 1.5
## 4 3.81 8.0 12.0 250.0 0.3 0.5
## 5 3.40 8.0 12.0 250.0 0.3 1.0
## 6 4.39 8.0 12.0 250.0 0.3 1.5
## 7 4.27 8.0 12.0 250.0 0.5 0.5
## 8 4.21 8.0 12.0 250.0 0.5 1.0
## 9 4.41 8.0 12.0 250.0 0.5 1.5
## 10 2.26 8.0 12.0 350.0 0.1 0.5
## # ... with 233 more rows

aov(sr~rb+rs+s+f+d+(rb*rs*s*f*d))->a
a

## Call:
## aov(formula = sr ~ rb + rs + s + f + d + (rb * rs * s * f * d))
##
## Terms:
## rb rs s f d rb:rs
rb:s
## Sum of Squares 12.68297 0.35680 23.30884 98.48262 9.82330 0.41448
0.16388
## Deg. of Freedom 2 2 2 2 2 4
4
## rs:s rb:f rs:f s:f rb:d rs:d
s:d
## Sum of Squares 0.10421 0.24739 0.02389 0.17931 0.10536 0.18801
0.14478
## Deg. of Freedom 4 4 4 4 4 4
4
## f:d rb:rs:s rb:rs:f rb:s:f rs:s:f rb:rs:d
rb:s:d
## Sum of Squares 0.05022 0.60019 0.49811 0.76789 0.29752 0.12928
0.28664
## Deg. of Freedom 4 8 8 8 8 8
8
## rs:s:d rb:f:d rs:f:d s:f:d rb:rs:s:f rb:rs:s:d
## Sum of Squares 0.40026 0.36864 0.35662 0.25247 0.79705 0.39205
## Deg. of Freedom 8 8 8 8 16 16
## rb:rs:f:d rb:s:f:d rs:s:f:d rb:rs:s:f:d
## Sum of Squares 0.47629 0.60094 0.59888 1.24397
## Deg. of Freedom 16 16 16 32
##
## Estimated effects may be unbalanced

anova(a)

## Warning in anova.lm(a): ANOVA F-tests on an essentially perfect fit are


## unreliable

## Analysis of Variance Table


##
## Response: sr
## Df Sum Sq Mean Sq F value Pr(>F)
## rb 2 12.683 6.341
## rs 2 0.357 0.178
## s 2 23.309 11.654
## f 2 98.483 49.241
## d 2 9.823 4.912
## rb:rs 4 0.414 0.104
## rb:s 4 0.164 0.041
## rs:s 4 0.104 0.026
## rb:f 4 0.247 0.062
## rs:f 4 0.024 0.006
## s:f 4 0.179 0.045
## rb:d 4 0.105 0.026
## rs:d 4 0.188 0.047
## s:d 4 0.145 0.036
## f:d 4 0.050 0.013
## rb:rs:s 8 0.600 0.075
## rb:rs:f 8 0.498 0.062
## rb:s:f 8 0.768 0.096
## rs:s:f 8 0.298 0.037
## rb:rs:d 8 0.129 0.016
## rb:s:d 8 0.287 0.036
## rs:s:d 8 0.400 0.050
## rb:f:d 8 0.369 0.046
## rs:f:d 8 0.357 0.045
## s:f:d 8 0.252 0.032
## rb:rs:s:f 16 0.797 0.050
## rb:rs:s:d 16 0.392 0.025
## rb:rs:f:d 16 0.476 0.030
## rb:s:f:d 16 0.601 0.038
## rs:s:f:d 16 0.599 0.037
## rb:rs:s:f:d 32 1.244 0.039
## Residuals 0 0.000

boxplot(sr~rb)

boxplot(sr~rs)
boxplot(sr~s)

boxplot(sr~f)
boxplot(sr~d)

plot(sr~(rb*rs*s*f*d))

You might also like