Publications by Maxwell B. Joseph

Interactive stage-structured population model

16.02.2013

This is an example of interfacing R and shiny to allow users to explore a biological model often encountered in an introductory ecology class. We are interested the growth of a population that is composed of multiple, discrete stages or age classes. Patrick H. Leslie provides an in-depth derivation of the model in his 1945 paper “On the use of ...

3265 sym 4 img

Interactive two-host SIR model

20.02.2013

This is an example of interfacing R, shiny, and deSolve to produce an interactive environment where users can explore model behavior by altering parameters in an easy to use GUI. The model tracks the number of susceptible, infectious, and recovered individuals in two co-occuring host species. The rates of change for each class are represented as ...

3305 sym 2 img

Multi-species dynamic occupancy model with R and JAGS

24.02.2013

This post is intended to provide a simple example of how to construct and make inferences on a multi-species multi-year occupancy model using R, JAGS, and the ‘rjags’ package. This is not intended to be a standalone tutorial on dynamic community occupancy modeling. Useful primary literature references include MacKenzie et al. (2002), Kery...

4430 sym R (6734 sym/32 pcs) 16 img 16 tbl

Dynamic community occupancy modeling with R and JAGS

24.02.2013

This post is intended to provide a simple example of how to construct and make inferences on a multi-species multi-year occupancy model using R, JAGS, and the ‘rjags’ package. This is not intended to be a standalone tutorial on dynamic community occupancy modeling. Useful primary literature references include MacKenzie et al. (2002), Kery and...

4535 sym R (4478 sym/26 pcs) 12 img 13 tbl

Agent-based modeling in R – habitat diversity and species richness

20.04.2013

How does habitat diversity affect species richness? Perhaps intuition suggests that habitat diversity increases species richness by facilitating niche or resource partitioning among species. But, for a fixed area, as habitat heterogeneity increases, the area that can be allocated to each habitat type decreases. In a recent paper, Allouche a...

7288 sym R (7078 sym/8 pcs) 10 img 4 tbl

Modeling habitat diversity and species richness

20.04.2013

How does habitat diversity affect species richness? Perhaps intuition suggests that habitat diversity increases species richness by facilitating niche or resource partitioning among species. But, for a fixed area, as habitat heterogeneity increases, the area that can be allocated to each habitat type decreases. In a recent paper, Allouche and col...

7192 sym R (7086 sym/8 pcs) 10 img 4 tbl

Bayesian model II regression

27.05.2013

Regression is a mainstay of ecological and evolutionary data analysis. For example, a disease ecologist may use body size (e.g. a weight from a scale with measurement error) to predict infection. Classical linear regression assumes no error in covariates; they are known exactly. This is rarely the case in ecology, and ignoring error in covariates...

1891 sym R (2648 sym/8 pcs) 2 img 4 tbl

Split violin plots

25.06.2013

Violin plots are useful for comparing distributions. When data are grouped by a factor with two levels (e.g. males and females), you can split the violins in half to see the difference between groups. Consider a 2 x 2 factorial experiment: treatments A and B are crossed with groups 1 and 2, with N=1000. 1 2 3 4 5 6 7 8 9 # Simul...

1525 sym R (1599 sym/8 pcs) 6 img 4 tbl

Occupancy model fit & AUC

30.07.2013

Occupancy models are used to understand species distributions while accounting for imperfect detection. In this post, I’ll demonstrate a method to evaluate the performance of occupancy models based on the area under a receiver operating characteristic curve (AUC), as published last year by Elise Zipkin and colleagues in Ecological Applicat...

2920 sym R (12558 sym/14 pcs) 2 img 7 tbl

Clarifying vague interactions

18.08.2013

For some reason, authors occasionally present linear model results with vague or unintelligible interaction effects. One way to be vague when presenting interaction effects is to provide only a table of model coefficients, including no information on the range of covariate values observed, and no plots to aid in interpretation. Here’s an exampl...

2461 sym R (704 sym/2 pcs) 4 img 2 tbl