The odds ratio is less than 1. Hence, the present of Hickories is better than absent.
d)
## R command
Input =("
Injection.area Present Absent
Present 26 63
Absent 29 26
")
Matrix = as.matrix(read.table(textConnection(Input),
header=TRUE,
row.names=1))
fisher.test(Matrix,conf.int=TRUE)
########
## Output
> Input =("
+ Injection.area Present Absent
+ Present 26 63
+ Absent 29 26
+ ")
>
> Matrix = as.matrix(read.table(textConnection(Input),
+ header=TRUE,
+ row.names=1))
> fisher.test(Matrix,conf.int=TRUE)
Fisher's Exact Test for Count Data
data: Matrix
p-value = 0.007783
alternative hypothesis: true odds ratio is not equal to 1
95 percent confidence interval:
0.1733713 0.7893954
sample estimates:
odds ratio
0.3727507
###
Interpretation: The p-value is 0.007783 and less than 0.05. Hence, we can conclude that there is a significant association between Maples and Hickories at the 0.05 significance level.
3. An ecologist studied the spatial distribution of tree species in a wooded area. From a total area of 21 acres, he randomly selected 144 quadrats (plots), each 38 feet square, and noted the presenc...