# Worm Denisty Statistical Analysis

Topics: Arithmetic mean, PH, Soil pH Pages: 8 (1167 words) Published: September 13, 2014
Examination
Assignment
DATA ANALYSIS

Ali Abid Kazmi #16269
MASTERS OF INFORMATION ENGINEERING & COMPUTER SCIENCE

Introduction/ Thesis:............................................................................................................................... 3 Methods .................................................................................................................................................. 3 Results ..................................................................................................................................................... 4 Slope........................................................................................................................................................ 5 Type of vegetation .................................................................................................................................. 7 Soil pH ..................................................................................................................................................... 9 Worm density........................................................................................................................................ 10 Conclusion: ............................................................................................................................................ 12 Suggestion: ............................................................................................................................................ 12 RSTUDIO CODE ...................................................................................................................................... 13

1

Table of Figures
FIGURE 1: SAMPLE DATASET .......................................................................................................................................... 4 FIGURE 2: DAMPNESS DISTRIBUTION (IN THE SECOND PLOT, VALUE 1 AND 0 DENOTE TRUE & FALSE RESPECTIVELY. ....................... 5 FIGURE 3: SLOPE VARIATION ......................................................................................................................................... 6 FIGURE 4: VARIATION IN WORM DENSITY OVER DIFFERENT SLOPES ....................................................................................... 6 FIGURE 5: TYPE OF VEGETATION DISTRIBUTION ................................................................................................................. 7 FIGURE 6: VARIATION IN WORM DENSITY & SOIL PH OVER DIFFERENT TYPES OF VEGETATION .................................................... 8 FIGURE 7: SOIL PH DISTRIBUTION AND EFFECT OF SOIL PH ON WORM DENSITY ....................................................................... 9 FIGURE 8: OUTPUT OF R FOR CORRELATION AND COVARIANCE........................................................................................... 10 FIGURE 9: POSITIVE CORRELATION BETWEEN WORM DENSITY AND PH ................................................................................. 10 FIGURE 10: OUTPUT OF R FOR CALCULATION OF CONFIDENCE INTERVALS ............................................................................ 10 FIGURE 11: WORM DENSITY DISTRIBUTION.................................................................................................................... 11 FIGURE 12: OUTPUT OF R FOR EXPECTED VALUE ............................................................................................................. 11

2

Data Analysis Examination Assignment

Introduction:
The following is an investigation into the effects of soil pH, slope, type of vegetation and presence or absence of dampness (independent variables) on worm density in a defined area (dependent variable). The goal of this case study is to predict patterns of worm distribution.

Methods
1. Choose 20 random locations with varying degrees of soil pH, slope, type of vegetation and presence or absence of dampness.
2....