exp(0.3507) = 1.42
How can I interpret this number? Is it the average standard deviation within IDs? As in, within any group, the count differs by a standard deviation of 1.42? This might mean that we would find that most counts within a group would be within exp(1.960.3507) = 1.98 above or below the mean for that ID? Or, that in general the spread of count data within one tree would fall within exp(21.96*0.357) = 4.05 species?
Thierry's explanation on the hyperlinked page was that the highest 97th percentile tree would have 4 X the number of species as the lowest, so I wonder if I'm getting this wrong - as in, the actual interpretation would be that over ALL IDs, the counts differ by 4X from the lowest counts to the highest.
Am I onWhat is the right track, or should I be interpreting these differentlycorrect interpretation?
Here the example: library(lme4) library(ggplot2)
library(lme4)
library(ggplot2)
df <- data.frame(ID = c("A", "A", "A", "A",
"B", "B", "B", "B",
"C", "C", "C", "C",
"D", "D", "D", "D",
"E", "E", "E", "E"),
Count = c(1, 4, 5, 9,
2, 3, 4, 10,
8, 12, 21, 14,
15, 17, 12, 23,
17, 27, 12, 19),
Group = c(1, 1, 1, 1,
1, 1, 1, 1,
1, 1, 1, 1,
2, 2, 2, 2,
2, 2, 2, 2))
fit <- glmer(Count ~ Group + (1|ID), data = df, family = "poisson")
ggplot(df, aes(x = Group, y = Count, group = Group)) +
geom_boxplot()
ggplot(df, aes(x = ID, y = Count)) +
geom_point()
ggplot(df, aes(x = ID, y = Count)) +
geom_boxplot()
summary(fit)