Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mod3 <- glmmTMB(sum.50 ~ location*trtmt + julian2 + min_aft_sunrise2 + mintemp2 + (1|week) + (1|site:day), data = wbnu_sub, ziformula=~1, family=poisson)
- mod3.emm <- emmeans(mod3, ~ location|trtmt, adjust = "none")
- locdiffs <- contrast(mod3.emm, "revpairwise", adjust = "mvt")
- locdiffs
- trtmt = pulsed_nofood:
- contrast estimate SE df t.ratio p.value
- near - far -0.273 0.586 124 -0.467 0.6416
- trtmt = constant:
- contrast estimate SE df t.ratio p.value
- near - far 2.024 0.376 124 5.381 <.0001
- trtmt = pulsed_food:
- contrast estimate SE df t.ratio p.value
- near - far 2.737 0.728 124 3.758 0.0003
- Results are given on the log (not the response) scale.
- c <- confint(contrast(locdiffs, "revpairwise", by = NULL, adjust = "mvt"))
- c
- contrast estimate SE df lower.CL upper.CL
- near - far,constant - near - far,pulsed_nofood 2.297 0.696 124 0.652 3.94
- near - far,pulsed_food - near - far,pulsed_nofood 3.011 0.935 124 0.801 5.22
- near - far,pulsed_food - near - far,constant 0.714 0.820 124 -1.223 2.65
- Results are given on the log (not the response) scale.
- Confidence level used: 0.95
- Conf-level adjustment: mvt method for 3 estimates
- c.response <- confint(contrast(locdiffs, "revpairwise", by = NULL, adjust = "mvt", type = "response"))
- contrast ratio SE df lower.CL upper.CL
- near / far,constant / near / far,pulsed_nofood 9.95 6.93 124 1.919 51.6
- near / far,pulsed_food / near / far,pulsed_nofood 20.31 18.99 124 2.228 185.1
- near / far,pulsed_food / near / far,constant 2.04 1.67 124 0.294 14.2
- Confidence level used: 0.95
- Conf-level adjustment: mvt method for 3 estimates
- Intervals are back-transformed from the log scale
- locdiffs.response <- contrast(mod3.emm, "revpairwise", adjust = "mvt", type = "response")
- trtmt = pulsed_nofood:
- contrast ratio SE df lower.CL upper.CL
- near / far 0.761 0.446 124 0.238 2.43
- trtmt = constant:
- contrast ratio SE df lower.CL upper.CL
- near / far 7.566 2.845 124 3.594 15.93
- trtmt = pulsed_food:
- contrast ratio SE df lower.CL upper.CL
- near / far 15.447 11.252 124 3.653 65.32
- Confidence level used: 0.95
- Intervals are back-transformed from the log scale
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement