autoconst {prabclus} | R Documentation |
Spatial autocorrelation parameter estimation
Description
Monte Carlo estimation of the disjunction/spatial autocorrelation
parameter pd
for the simulation model used in
randpop.nb
, used for tests for clustering of presence-absence data.
autoconst
is the main function; autoreg
performs the
simulation and is executed within autoconst
.
Usage
autoconst(x, prange = c(0, 1), twostep = TRUE, step1 = 0.1,
step2 = 0.01, plot = TRUE, nperp = 4, ejprob = NULL,
species.fixed = TRUE, pdfnb=FALSE, ignore.richness=FALSE)
autoreg(x, probs, ejprob, plot = TRUE, nperp = 4, species.fixed = TRUE,
pdfnb=FALSE, ignore.richness=FALSE)
Arguments
x |
object of class |
prange |
numerical range vector, lower value not smaller than 0, larger value not larger than 1. Range where the parameter is to be found. |
twostep |
logical. If |
step1 |
numerical between 0 and 1. Interval length between
subsequent choices of |
step2 |
numerical between 0 and 1. Interval length between
subsequent choices of |
plot |
logical. If |
nperp |
integer. Number of simulations per |
ejprob |
numerical between 0 and 1. Observed disjunction
probability for data |
species.fixed |
logical. If |
probs |
vector of numericals between 0 and 1. |
pdfnb |
logical. If |
ignore.richness |
logical. If |
Details
The spatial autocorrelation parameter pd
of the model for the generation of
presence-absence data sets used by randpop.nb
can be estimated
by use of the observed disjuction probability ejprob
which is
the sum of
all species' connectivity components minus the number of species
divided by the number of "presence" entries minus the number of
species. This is done by a simulation of artificial data sets with
characteristics of x
and different pd
-values, governed
by prange, step1, step2
and nperp
. ejprob
is then
calculated for all simulated populations. A linear regression of
ejprob
on pd
is performed and the estimator of pd
is determined by computing the inverse of the regression function for
the ejprob
-value of x
.
Value
autoconst
produces the same list as autoreg
with
additional component ejprob
. The components are
pd |
(eventually) estimated parameter |
coef |
(eventually) estimated regression coefficients. |
ejprob |
see above. |
Author(s)
Christian Hennig christian.hennig@unibo.it https://www.unibo.it/sitoweb/christian.hennig/en
References
Hausdorf, B. and Hennig, C. (2003) Biotic Element Analysis in Biogeography. To appear in Systematic Biology.
Hausdorf, B. and Hennig, C. (2003) Nestedness of north-west European land snail ranges as a consequence of differential immigration from Pleistocene glacial refuges. Oecologia 135, 102-109.
Hennig, C. and Hausdorf, B. (2004) Distance-based parametric bootstrap tests for clustering of species ranges. Computational Statistics and Data Analysis 45, 875-896.
See Also
randpop.nb
, prabinit
, con.comp
Examples
options(digits=4)
data(kykladspecreg)
data(nb)
set.seed(1234)
x <- prabinit(prabmatrix=kykladspecreg, neighborhood=nb)
ax <- autoconst(x,nperp=2,step1=0.3,twostep=FALSE)