I attached the question and I write down the data that you need them to answer t
ID: 3059851 • Letter: I
Question
I attached the question and I write down the data that you need them to answer the question if you could use R software to answer the question please post the commands for R software with the answer with explanations to make it clear to understand. Thanks a lot
Data for exercise 9 and exercise 25:
> ex0921
Species Weight Ingestion Organic
1 Hydrobia neglecta 0.20 0.57 18.00
2 Hydrobia ventrosa 0.20 0.86 17.00
3 Tubifex tubifex 0.27 0.43 29.70
4 Hyalella azteca 0.32 0.43 50.00
5 Potamopyrgus jenkinsi 0.46 2.70 14.40
6 Hydrobia ulvae 0.90 0.67 13.00
7 Nereis succinea 5.80 20.20 6.80
8 Pteronarcys scotti 8.40 1.49 93.00
9 Orchestia grillus 12.40 4.40 88.00
10 Arenicola grubii 20.40 240.00 2.20
11 Thoracophelia mucronata 40.00 230.00 1.00
12 Ilyoplax pusilla 53.00 300.00 4.20
13 Uca pubnax 63.30 19.90 51.00
14 Scopimera globosa 65.00 50.00 23.60
15 Pectinaria gouldii 80.00 1667.00 0.70
16 Abarenicola pacifica 380.00 3400.00 1.20
17 Abarenicola claparedi 380.00 9400.00 0.40
18 Arenicola marina 930.00 4700.00 0.64
19 Macrophthalmus japonicus 2050.00 4680.00 2.10
> ex1125
Species Weight Ingestion Organic Bivalve
1 Hydrobia neglecta 0.20 0.57 18.00 no
2 Hydrobia ventrosa 0.20 0.86 17.00 no
3 Tubifex tubifex 0.27 0.43 29.70 no
4 Hyalella azteca 0.32 0.43 50.00 no
5 Potamopyrgus jenkinsi 0.46 2.70 14.40 no
6 Hydrobia ulvae 0.90 0.67 13.00 no
7 Nereis succinea 5.80 20.20 6.80 no
8 Pteronarcys scotti 8.40 1.49 93.00 no
9 Orchestia grillus 12.40 4.40 88.00 no
10 Arenicola grubii 20.40 240.00 2.20 no
11 Thoracophelia mucronata 40.00 230.00 1.00 no
12 Ilyoplax pusilla 53.00 300.00 4.20 no
13 Uca pubnax 63.30 19.90 51.00 no
14 Scopimera globosa 65.00 50.00 23.60 no
15 Pectinaria gouldii 80.00 1667.00 0.70 no
16 Abarenicola pacifica 380.00 3400.00 1.20 no
17 Abarenicola claparedi 380.00 9400.00 0.40 no
18 Arenicola marina 930.00 4700.00 0.64 no
19 Macrophthalmus japonicus 2050.00 4680.00 2.10 no
20 Macoma balthica (bivalve) 5.10 4.49 20.00 yes
21 Portlandia arctica (bivalve) 19.90 3.54 8.80 yes
22 Scrobicularia plana (bivalve) 380.00 43.00 3.40 yes
Explanation / Answer
Here we want to check there is any relation/association between Ingestion and weight as well as ngestion and organic .
>library(data.table)
>data=fread(file.choose())
>View(data)
Using correlation test we do this.
> cor.test(data$Ingestion,data$Weight)
Pearson's product-moment correlation
data: data$Ingestion and data$Weight
t = 3.1097, df = 17, p-value = 0.00637
alternative hypothesis: true correlation is not equal to 0
95 percent confidence interval:
0.2036411 0.8294934
sample estimates:
cor
0.6021538
Conclustion = there is 60% correlation between Ingestion and weight and which is positive
2)
> cor.test(data$Ingestion,data$Organic)
Pearson's product-moment correlation
data: data$Ingestion and data$Organic
t = -1.7728, df = 17, p-value = 0.09417
alternative hypothesis: true correlation is not equal to 0
95 percent confidence interval:
-0.72003341 0.07214209
sample estimates:
cor
-0.3950108
Conclustion = there is 39% correlation between Ingestion and Organic and which is negative
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.