sylvainschmitt / SSDM

Stacked Species Distribution Modelling R package
Other
41 stars 17 forks source link

How to calculate the Continuous Boyce Index (CBI) of an evaluation model performance? #115

Closed Otoliths closed 6 months ago

Otoliths commented 3 years ago

I tried to add a line of code after line 125 to calculate the Continuous Boyce Index (CBI) of an evaluation model performance, I wonder if it is correct?

continuous.boyce <- ecospat::ecospat.boyce(predicted.values, eval.testdata$Presence, PEplot = FALSE)

evaldf <- data.frame(threshold=threshval, AUC=roweval@auc, omission.rate=roweval@MCR, sensitivity=roweval@TPR, specificity=roweval@TNR, prop.correct=roweval@CCR, Kappa=roweval@kappa, calibration=caleval@statistic,CBI=continuous.boyce$Spearman.cor)

Hirzel, A.H., G. Le Lay, V. Helfer, C. Randin and A. Guisan. 2006. Evaluating the ability of habitat suitability models to predict species presences. Ecol. Model., 199, 142-152.

looking forward to your reply!

Thanks

sylvainschmitt commented 6 months ago

Sorry but your question is not pertaining to SSDM. We already do not have a lot of means to maintain the package yet, so I'm closing your issue.