"Time-dependent" colonization probabilities
| Site: | LifeWatch ERIC Training Platform |
| Course: | Spatially explicit metapopulation model - Incidence Function Model |
| Book: | "Time-dependent" colonization probabilities |
| Printed by: | Guest user |
| Date: | Monday, 27 July 2026, 12:18 PM |
Description
"Time-dependent" colonization probabilities
1. "Time-dependent" colonization probabilities
The assumption of constant colonization probabilities extensively used in Unit 4 and 5 has been questioned (ter Braak at al. 1998). Among other factors, metapopulation size, strong distance dependence on dispersal and rescue effect can cause fluctuation in the Ci values (Moilanen 1999). In this cases, both connectivity and colonization probability can be modelled as "time-dependent" by computing Si ad any time t based on the occupancy \(\delta_i(t)\) , that is by substituting \(\delta_i(t)\) to \(\delta_i\) in Eq. (4.4) to obtain Si(t) , and Si(t) in Eq. (4.5) to obtain the probability that a site which is empty at time t will be occupied at time t+1:
| (6.1) |
|
As a matter of fact, the expression "time-dependent" is misleading, as it suggests the giving out of the homogeneity property discussed in Unit 2. This is not the case, and we try to clearly explain this concept.
In Unit 4 we introduced the IFM by considering one patch at a time: in each patch the dynamics evolves according to an homogeneous Markov chain
with some initial probability and the transition matrix defined by Eq. (4.2) and Eq. (4.5).
The extinction probability as expressed in Eq. (4.2) only depends on patch-specific features (the patch area).
However, the colonization probability as expressed in Eq. (4.5) depends on the occupancy of all the other patches (and also on other patches features, like area).
That is, Eq. (4.5) expresses the probability that a patch which is empty this year will be occupied the next year conditional
to the knowledge of the occupancies of all the other patches in a given point in time.
Equation (6.1) further specifies that the probability that a patch which is empty this year will be occupied the next year depends on the knowledge of the
occupancies of all the other patches this year.
This means that we cannot consider each patch as independent from the other patches, but the dynamics at all the patches should be considered jointly
(metapopulation dynamics). The argument holds true if Eq. (4.2) is modified by Eq. (5.2).
In mathematical terms, this means that the stochastic process we are considering, (Xt)t≤1, is a multivariate Markov chain, that is
- Xt is the vector (Xt(1), Xt(2), ..., Xt(n)) of the occupancies of all the n patches at time t.
- Ei expresses P(Xt+1(i) = 0| (Xt(1), ..., Xt(i) = 1, ..., Xt(n) ) as a function of Ai only, that is P(Xt+1(i) = 0| (Xt(1), ..., Xt(i) = 1, ..., Xt(n) ) = P(Xt+1(i) = 0| Xt(i) = 1) = (A0 /Ai )x and this transition does not depend neither on the occupancy of the other patches nor on time.
- Ci expresses P(Xt+1(i) = 1| (Xt(1), ..., Xt(i) = 0, ..., Xt(n) ) as a function of all the other occupancies Xt(k). That is, equal configurations of patch occupancies (Xt(1), ..., Xt(i) = 0, ..., Xt(n)) yield the same colonization probability, regardless of the transition time t. This concept is exemplified in Example 6.1.
Example 6.1.
Let consider the small metapopulation in the file Example.txt, consisting of 10 sites that have been monitored for 6 years. Each of the 6 vectors “X1”, ... , “X6” is the vector of the 10 patch occupancies. In this example, vectors “X2” and “X5” coincide, as well as vectors “X3” and “X6”.
By the following R instructions data are represented, and both connectivity and colonization probabilities are computed at each year (matrices Smat and Cmat, respectively). That is, the first column of Cmat contains the probability that a patch empty at the first year, will be occupied at the second year. The matrix Cmat shows that columns 2 and 5 coincide, as well as columns 3 and 6, and this clearly shows that the transition probabilities of the vectors do not depend on time (as equal transitions have equal probabilities regardless of the time of occurrence).
DATA<-read.table("Example.txt",header=TRUE)
DATA
| x.crd | y.crd | A | X1 | X2 | X3 | X4 | X5 | X6 | |
| 1 | 44367.707 | 17288.728 | 1.1160552 | 0 | 1 | 1 | 0 | 1 | 1 |
| 2 | 37994.630 | 5109.739 | 0.3315476 | 0 | 1 | 0 | 1 | 1 | 0 |
| 3 | 29873.617 | 29428.677 | 1.4378525 | 1 | 1 | 0 | 1 | 1 | 0 |
| 4 | 26494.680 | 32837.209 | 0.2582889 | 1 | 0 | 1 | 1 | 0 | 1 |
| 5 | 47968.240 | 20720.949 | 0.8428013 | 1 | 0 | 1 | 0 | 0 | 1 |
| 6 | 29132.571 | 34522.399 | 0.5600740 | 1 | 0 | 1 | 0 | 0 | 1 |
| 7 | 37457.793 | 31119.758 | 0.1669048 | 0 | 1 | 1 | 0 | 1 | 1 |
| 8 | 3933.598 | 15466.859 | 0.1082305 | 0 | 1 | 0 | 1 | 1 | 0 |
| 9 | 26177.833 | 9908.575 | 1.4945247 | 0 | 1 | 0 | 1 | 1 | 0 |
| 10 | 19826.918 | 41754.838 | 0.6327617 | 0 | 1 | 0 | 1 | 1 | 0 |
# As in Example 5.1:
attach(DATA)
d<-dist(cbind(x.crd,y.crd))/1000
alpha<-1
edis<-as.matrix(exp(-alpha*d))
edis<-sweep(edis,2,A,"*")
A0<-0.0004
xhat<-0.05
yhat<-0.005
(E<-pmin(A0^xhat/A^xhat,1))
# To plot the six vectors of presence/absence on one plot 2 x 3 with a
# square plotting region independent of device size:
op <- par(mfrow = c(2,3), pty = "s")
for(k in 1:6)
plot(x.crd,y.crd,asp=1,xlab="",ylab="",cex=sqrt(A*7),pch=21, col=DATA[,3+k]+1, bg=5*DATA[,3+k],main=k)
# At end of plotting, reset to previous settings:
par(op)
# The following commands allows the construction of the matrix of the
# connectivity S(t), Smat, and the associated matrix of colonization
# C(t), Cmat.
Smat<-matrix(0,nrow=length(X1),ncol=6)
# defines a matrix 10x6 whose elements are all equal to 0.
Smat[,1]<-rowSums(edis[,X1>0])
# the first column of Smat is replaced by the connectivity vector of # X1
for(t in 1:5) Smat[ ,t+1]<-rowSums(edis[,DATA[,4+t]>0])
# the connectivity vectors of the others “X” are added in the # following columns
Smat
| [,1] | [,2] | [,3] | [,4] | [,5] | [,6] | |
| [1,] | 5.826410e-03 | 4.010269e-07 | 5.826433e-03 | 3.688431e-07 | 4.010269e-07 | 5.826433e-03 |
| [2,] | 7.602236e-09 | 5.516882e-06 | 1.204360e-06 | 4.320113e-06 | 5.516882e-06 | 1.204360e-06 |
| [3,] | 5.383424e-03 | 7.052851e-05 | 5.453870e-03 | 2.126772e-03 | 7.052851e-05 | 5.453870e-03 |
| [4,] | 3.631853e-02 | 1.185071e-02 | 2.448212e-02 | 1.184818e-02 | 1.185071e-02 | 2.448212e-02 |
| [5,] | 2.779027e-09 | 7.715511e-03 | 7.715505e-03 | 5.765766e-09 | 7.715511e-03 | 7.715505e-03 |
| [6,] | 1.965009e-02 | 8.386404e-03 | 1.130996e-02 | 1.965491e-02 | 8.386404e-03 | 1.130996e-02 |
| [7,] | 6.806116e-04 | 6.070395e-04 | 7.400356e-05 | 6.107399e-04 | 6.070395e-04 | 7.400356e-05 |
| [8,] | 3.530847e-13 | 1.650497e-10 | 1.219226e-13 | 1.651609e-10 | 1.650497e-10 | 1.219226e-13 |
| [9,] | 3.446566e-09 | 9.651120e-07 | 3.397327e-09 | 9.618041e-07 | 9.651120e-07 | 3.397327e-09 |
| [10,] | 8.211969e-06 | 1.786778e-07 | 8.033673e-06 | 3.948438e-06 | 1.786778e-07 | 8.033673e-06 |
# As for the definition of Smat
Cmat<-matrix(0,nrow=length(X1),ncol=6)
Cmat[,1]<-Smat[,1]^2/(Smat[,1]^2+yhat^2)
for(t in 1:5) Cmat[ ,t+1]<-Smat[,t+1]^2/(Smat[,t+1]^2+yhat^2)
Cmat
| [,1] | [,2] | [,3] | [,4] | [,5] | [,6] | |
| [1,] | 5.758906e-01 | 6.432904e-09 | 5.758925e-01 | 5.441810e-09 | 6.432904e-09 | 5.758925e-01 |
| [2,] | 2.311759e-12 | 1.217438e-06 | 5.801935e-08 | 7.465345e-07 | 1.217438e-06 | 5.801935e-08 |
| [3,] | 5.368762e-01 | 1.989312e-04 | 5.433348e-01 | 1.532072e-01 | 1.989312e-04 | 5.433348e-01 |
| [4,] | 9.813993e-01 | 8.488871e-01 | 9.599599e-01 | 8.488323e-01 | 8.488871e-01 | 9.599599e-01 |
| [5,] | 3.089196e-13 | 7.042439e-01 | 7.042436e-01 | 1.329762e-12 | 7.042439e-01 | 7.042436e-01 |
| [6,] | 9.391914e-01 | 7.377579e-01 | 8.365107e-01 | 9.392194e-01 | 7.377579e-01 | 8.365107e-01 |
| [7,] | 1.819220e-02 | 1.452577e-02 | 2.190131e-04 | 1.470079e-02 | 1.452577e-02 | 2.190131e-04 |
| [8,] | 4.986753e-21 | 1.089656e-15 | 5.946046e-22 | 1.091125e-15 | 1.089656e-15 | 5.946046e-22 |
| [9,] | 4.751528e-13 | 3.725765e-08 | 4.616731e-13 | 3.700268e-08 | 3.725765e-08 | 4.616731e-13 |
| [10,] | 2.697450e-06 | 1.277031e-09 | 2.581589e-06 | 6.236062e-07 | 1.277031e-09 | 2.581589e-06 |
# Any cell [i,j] of Cmat has the meaning of probability of patch i to
# be occupied at time j+1 if it is empty at time j, based on the
# presence/absence data Xj at time j.
Once this has been pointed out, it should be clear that we are in the same framework of Unit 2. Therefore, we could write the transition matrix of the multivariate Markov chain (Xt) t≥1. Unfortunately, the state space of this multivariate Markov Chain is the set {0, 1}n (set of all the vectors with n elements each of which is either 0 or 1) that is a huge space (2n elements) even for small values of the metapopulation size, n, and therefore it is impossible to use a matrix representation. However, we can concisely and easily write any element of the transition matrix as in Eq. (6.2).
(6.2) \(P(X_{t+1} = (x_1, ... x_n) | X_t = (w_1, ..., w_n )) = \prod_{i=1}^n \begin{cases} C_i(t), & if\:x_i=1 \:\&\:w_i=0\\ 1-C_i(t), & if\:x_i=0 \:\&\:w_i=0\\ E_i(t), & if\:x_i=0 \:\&\:w_i=1\\ 1-E_i(t), & if\:x_i=1 \:\&\:w_i=1\\ \end{cases} \)
As explained before, this probability does not depend on t and then the multivariate process is homogeneous. This justifies the use of inverted commas around “time-dependent” in the title of this section. From the point of view of modelling, the basic model described in Unit 4 is slightly different from (6.2) as in some sense it refers to some available data set. The colonization probabilities are defined according to the evidence from that data by using either Eq. (4.4) or Eq. (5.1). This data set then determines the model-predicted, long-term probability of patch occupancy Ji. To the best of our knowledge, to find the stationary distribution associated to Eq. (6.2), if any, is analytically impossible, and therefore the distribution of Xt should be computed, in some way, by the general formula (3.2) for some initial distribution.
In our opinion, if the previously mentioned data set is some “historical” data set, including a lot of information about the species biology and dynamics, and this information allows us to reasonably assume that the colonization probability is constant, the basic model of Units 4 and 5 is certainly the most sound to be used, as it strongly simplifies estimation and dynamics simulation. Unfortunately, such historical data are seldom available and therefore the current data become the basis for model implementation. In this situation, the uncertainty about all the assumptions, the biological as well as the statistical ones, should be carefully considered.
Finally, the transition probabilities can be modified to take into account the rescue effect:
(6.3) \(P(X_{t+1} = (x_1, ... x_n) | X_t = (w_1, ..., w_n )) = \prod_{i=1}^n \begin{cases} C_i(t), & if\:x_i=1 \:\&\:w_i=0\\ 1-C_i(t), & if\:x_i=0 \:\&\:w_i=0\\ [1-C_i(t)]E_i(t), & if\:x_i=0 \:\&\:w_i=1\\ 1-[1-C_i(t)]1-E_i(t), & if\:x_i=1 \:\&\:w_i=1\\ \end{cases} \)
2. References
Moilanen A. (1999) - Patch occupancy models of metapopulation dynamics: efficient parameter estimation using implicit statistical inference. Ecology 80,1031–1043.
ter Braak C.J., Hanski I., Verboom J (1998) – The incidence function approach to the modeling of metapopulation dynamics. In Bascompte J. and Solé R.V. (eds). Modeling spatiotemporal dynamics in ecology. Springer-Verlag, Berlin, Germany, 167-188.