Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/residuals.meteDist.R
mseZ.meteDist
Compute z-score of mean squared error
1 2 3 4 5 |
x |
a |
... |
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" |
relative |
logical; if true use relative MSE |
log |
logical; if TRUE calculate MSE on logged distirbution. If FALSE use arithmetic scale |
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 in the same was as logLikZ
; see that help document for more details.
list with elements
The z-score
nrep
Simulated values
Andy Rominger <ajrominger@gmail.com>, Cory Merow
Harte, J. 2011. Maximum entropy and ecology: a theory of abundance, distribution, and energetics. Oxford University Press.
logLikZ
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.