Model Evaluation For A Given Threshold Value
Calculates values of a series of different evaluations metrics for a model and for a given threshold value
ecospat.meva.table(Pred, Sp.occ, th)
Pred |
A vector of predicted probabilities |
Sp.occ |
A vector of binary observations of the species occurrence |
th |
Threshold used to cut the probability to binary values |
A contingency table of observations and predicted probabilities of presence values, and a list of evaluation metrics for the selected threshold.
Antoine Guisan antoine.guisan@unil.ch with contributions of Luigi Maiorano luigi.maiorano@gmail.com
Pearce, J. and S. Ferrier. 2000. Evaluating the predictive performance of habitat models developed using logistic regression. Ecol. Model., 133, 225-245.
Pred <- ecospat.testData$glm_Agrostis_capillaris Sp.occ <- ecospat.testData$Agrostis_capillaris meva <- ecospat.meva.table (Pred, Sp.occ, 0.39)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.