- Oct 2024
-
statistics4ecologists-v2.netlify.app statistics4ecologists-v2.netlify.app
-
logitp[i] <- alpha + beta * voc[i] p[i] <- exp(logitp[i]) / (1 + exp(logitp[i])) observed[i] ~ dbin(p[i], 1)
For next edition, rewrite all JAGS code so that the order/format matches how we write down equations describing our models. E.g.:
response variable ~ statistical distribution(parameters) transformation(parameters) <- linear predictor
-
-
statistics4ecologists-v2.netlify.app statistics4ecologists-v2.netlify.app
-
Yi=Xi,mβm+Xi,fβf+ϵi
In next addition, change: * X_{i,m} to I(sex = male)i * X{i,f} to I(sex = female)_i
-
- May 2024
-
statistics4ecologists-v2.netlify.app statistics4ecologists-v2.netlify.app
-
varcovEYhat<-xmat%*%Sigmahat%*%t(xmat)
Compare to predictSE.gls() in the AICcmodavg package (which I just learned of)! Note, the above only provides SEs for CIs and not PIs.
-
- Feb 2024
-
statistics4ecologists-v2.netlify.app statistics4ecologists-v2.netlify.app
-
Alternatively, we
In next edition, add a note that the way the model is specified can influence how well the MCMC algorithms perform, and that the former approach typically leads to better mixing. Would be even better if the sd random effects were reformulated using a scale parameter multiplied by a standard normal distribution for the random effects. See:
https://elevanth.org/blog/2017/09/07/metamorphosis-multilevel-model/
-
-
statistics4ecologists-v2.netlify.app statistics4ecologists-v2.netlify.app
-
These compositional variables must sum to 1, and thus, the last category is completely determined by the others. This is an extreme example of multicollinearity; statistical software will be unable to estimate separate coefficients for each compositional variable along with an overall intercept.
For next edition, have a look at:
https://esajournals.onlinelibrary.wiley.com/doi/full/10.1002/ecy.4256#
-
- Jan 2023
-
fw8051statistics4ecologists.netlify.app fw8051statistics4ecologists.netlify.app
-
Yes, that would be another option. However, the goal here is to introduce alternative methods specifically developed for count data - rather than compare all options. Also, there are potential reasons to prefer these alternative models - again, see Warton et al. 2016 (though, it is not always going to be a clear cut decision - and, fixing type I error rates may require resorting to atlernative (resampling- and permuation-based methods)..
-
- Aug 2022
-
fw8051statistics4ecologists.netlify.app fw8051statistics4ecologists.netlify.app
-
s, Yi=^YiYi=Y^iY_i = \hat{Y}_i a
Highlighting bbrandon's comment /eq typo
-
- Jul 2022
-
fw8051statistics4ecologists.netlify.app fw8051statistics4ecologists.netlify.app
-
Luque-Fernandez et al
Add:
@article{addicott2022toward, title={Toward an improved understanding of causation in the ecological sciences}, author={Addicott, Ethan T and Fenichel, Eli P and Bradford, Mark A and Pinsky, Malin L and Wood, Stephen A}, journal={Frontiers in Ecology and the Environment}, year={2022}, publisher={Wiley Online Library} }
-
-
fw8051statistics4ecologists.netlify.app fw8051statistics4ecologists.netlify.app
-
ds
period
-