I am currently performing multiple "E-tests" (poisson.mean), and would like to know the most appropriate method for multiple corrections with E-tests, and how to go about this in R.
I am counting the number of times an event happens (in a given time interval) for 7 different experimental groups (2 control groups, 5 experimental groups of interest). I have opted to compare poisson distribution means between the groups by listing the 7 condition groups and values, then performing poisson tests in an iterative approach. P values are then taken from the result, eg.
Cond1 <- c(0,0,0,1,1,2,3,3,3)
Cond2 <- c(0,1,1,1,1,1,2,3,3)
Cond3 <- c(0,1,2,3,3,3,3,3,4)
Cond7 <- c(3,3,3,3,4,4,4,5,6)
result1 <- poisson.test(x c(sum(Cond1), sum(Cond2)),
T = c(length(Cond1), length (Cond2)),
alternative = "two.sided")
result2 <- poisson.test(x c(sum(Cond1), sum(Cond3)),
T = c(length(Cond1), length (Cond3)),
alternative = "two.sided")
result20 <- poisson.test(x c(sum(Cond6), sum(Cond7)),
T = c(length(Cond6), length (Cond7)),
alternative = "two.sided")
P1 <- result1§p.value
P2 <- result2§p.value
P20<- result20§p.value
From this point, I need to correct for multiple tests, and would like to use a Benjamini-Hochberg type ranked p-value significance correction, but am wondering
A) which test is most appropriate for this kind of analysis
B) how to go about this in R