mseZ.meteDist Compute z-score of mean squared error
Usage
mseZ(x, ...)
## S3 method for class 'meteDist':
mseZ(x, nrep, return.sim = FALSE, type = c("rank",
"cumulative"), ...)
Arguments
x
a meteDist object
...
arguments to be passed to methods
nrep
number of simulations from the fitted METE distribution
return.sim
logical; return the simulated liklihood values
type
either "rank" or "cumulative"
Value
list with elements
[object Object],[object Object],[object Object]
Details
mseZ.meteDist simulates from a fitted METE distribution (e.g. a species abundance distribution or individual power distribution) and calculates the MSE between the simulated data sets and the METE prediction. The distribution of these values is compared against the MSE of the data to obtain a z-score.
References
Harte, J. 2011. Maximum entropy and ecology: a theory of abundance, distribution, and energetics. Oxford University Press.