Presentation is loading. Please wait.

Presentation is loading. Please wait.

Maximum Entropy spatial modeling with imperfect data.

Similar presentations


Presentation on theme: "Maximum Entropy spatial modeling with imperfect data."— Presentation transcript:

1 Maximum Entropy spatial modeling with imperfect data

2 Spatial modeling with imperfect data Example: species distribution models What’s wrong with available data and why we want to use it anyway Comparison of different approaches Maximum Entropy approach: Maxent Model evaluation: AUC

3 Building models with imperfect data Example: constructing (or reconstructing) species distributions Paleoecology, conservation, speciation, invasion Often data is presence-only (Elith et al. 2006): – Museum records – Herbaria – Fossil locals – Reported sightings Sparse data Spatial bias Temporal bias Uncertainty in absence records

4 Building models with imperfect data Elith et al. 2006: Evaluated methods for modeling species distributions using presence-only data Compared 16 methods for 226 species in 6 geographic regions Models were built using presence-only data and climate and environmental layers Evaluated against independent presence- absence datasets

5 Building models with imperfect data Elith et al. 2006: Models that use only occurrences: – Envelope BIOCLIM – Distance based DOMAIN, LIVES Models that characterize background (psuedo-absence): – GLM, GAM, MARS, GARP, MAXENT, BRT, GDM, MARS- COMM Some models implemented in several ways

6 Building models with imperfect data Elith et al. 2006:

7 Building models with imperfect data Elith et al. 2006:

8 Building models with imperfect data Elith et al. 2006:

9 Maxent: A maximum entropy approach Occurrence is a Lat-Long pair denoting location of observation\collection Layers that inform the model are from same geographic area in raster format Model represents approximation of the realized niche for species Assumed that the realized niche and the fundamental niche for the species coincide Increasing sampling in larger geographic area (and thus including more variation in environmental conditions encountered by the species) may increase the fraction of fundamental niche represented by occurrences

10 Fundamental Niche

11 Realized Niche

12 Fundamental Niche

13 Maxent methods The approximation of an unknown probability distribution should satisfy any known constraints, and subject to those constraints should have maximum entropy (Jaynes, 1957) Maximum Entropy is an epistemic approach to Bayes’ rule The Monkey Example: – A team of monkeys are employed to create images by throwing balls at a grid of bins – Every so often the grid is removed and replaced by a new one – Eventually the monkeys will create multiple copies of each possible arrangement

14 Maxent methods The Monkey Example (cont.): – Given some evidence about true grid some of the monkey’s grids can be ruled out – Those left constitute the feasible set, and that which appears most often is a reasonable choice – Assuming the monkeys are not biased, this choice is consistent with the data but noncommittal about information we do not have

15 Maxent methods π is the unknown probability distribution over a finite set X (the set of pixels or points in the study area) The distribution defines a non-negative probability π(x) to each point x These probabilities sum to 1 Best approximation of π is the probability distribution π(hat) The entropy of π(hat) is:

16 Maxent methods Constraints on π(hat) for layers informing model: – Linear features- continuous variables should be close to their observed values (their mean at occurrence localities) – Quadratic features- variance of continuous variables should be close to observed values – Product features- covariance of two continuous variables should be close to observed values – Threshold feature- proportion of model that has values above a threshold for a continuous variable should be close to observed proportion – Binary feature- the proportion of each category in a categorical feature should be close to the observed proportions

17 Maxent methods Regularization parameter B j governs how close the constraints need to match the observed value (without regularization they must be equal) Program allows a user-specified proportion of occurrence locals to be reserved from model training for model testing absences can be randomly selected (pseudo-absences for presence only) or specified by user (if P-A data available) Model will run for either a set number of iterations or until the gain from each iteration falls below a set threshold

18 Maxent example: brown-throated three-toed sloth, Bradypus variegatus

19 Log contribution of each variable to the raw prediction value

20 Maxent example : brown-throated three-toed sloth, Bradypus variegatus

21 Other Maxent Applications (Siva 1990)

22 Model Evaluation Area under ROC curve (AUC) Receiver Operating Characteristic Contingency Table: Actual Value (Data) Predicted Outcome (Model) Presence (pos) Absence (neg) Presence (pos) True Positive (TP) False Positive (FP) Absence (neg) False Negative (FN) True Negative (TN)

23 Model Evaluation Area under ROC curve (AUC) Sensitivity- True Positive Rate (TPR) Actual Value (Data) Predicted Outcome (Model) Presence (pos) Absence (neg) Presence (pos) True Positive (TP) False Positive (FP) Absence (neg) False Negative (FN) True Negative (TN)

24 Model Evaluation Area under ROC curve (AUC) Specificity- True Negative Rate (TNR) Actual Value (Data) Predicted Outcome (Model) Presence (pos) Absence (neg) Presence (pos) True Positive (TP) False Positive (FP) Absence (neg) False Negative (FN) True Negative (TN)

25 Model Evaluation Area under ROC curve (AUC) Specificity- True Negative Rate (TNR) ROC is Sensitivity by (1- Specificity)=(FPR) Actual Value (Data) Predicted Outcome (Model) Presence (pos) Absence (neg) Presence (pos) True Positive (TP) False Positive (FP) Absence (neg) False Negative (FN) True Negative (TN)

26 Model Evaluation Area under ROC curve (AUC) An example: TPR = 63/100 =.63 FPR = 28/100 =.28 Actual Value (Data) Predicted Outcome (Model) P=100N=100 P=91TP=63FP=28 N=109FN=37TN=72

27 Image from wikipedia A P=100N=100 P=91TP=63FP=28 N=109FN=37TN=72 B P=100N=100 P=154TP=77FP=77 N=46FN=23TN=23 C P=100N=100 P=112TP=24FP=88 N=88FN=76TN=12

28 Image from wikipedia A P=100N=100 P=91TP=63FP=28 N=109FN=37TN=72 B P=100N=100 P=154TP=77FP=77 N=46FN=23TN=23 C P=100N=100 P=112TP=24FP=88 N=88FN=76TN=12 C’ P=100N=100 P=112TP=88FP=24 N=88FN=12TN=76

29 TPTN FP FN

30 TPTN FP FN TP TN FN

31 TPTN FP FN TP TNFP

32 AUC > 0.5 Higher Predictive Power AUC = 0.5 Random Chance AUC < 0.5 Worse than Random False Positive Rate True Positive Rate 1 1 False Positive Rate True Positive Rate 1 0 False Positive Rate True Positive Rate 1 1 0 0 Model Evaluation Area under ROC curve (AUC)

33 References: Elith, J., Graham, C. H., Anderson, R. P., Dudı´k, M., Ferrier, S., Guisan, A., Hijmans, R. J.,Huettmann, F., Leathwick, J. R., Lehmann, A., Li, J., Lohmann, L. G., Loiselle, B. A., Manion, G.,Moritz, C., Nakamura, M., Nakazawa, Y., Overton, J. McC., Peterson, A. T., Phillips, S. J.,Richardson, K. S., Scachetti-Pereira, R., Schapire, R. E., Sobero´n, J., Williams, S., Wisz, M. S. and Zimmermann, N. E. 2006. Novel methods improve prediction of species’ distributions from occurrence data. Ecography 29: 129 -151 Jaynes, E.T., 1957. Information theory and statistical mechanics. Phys. Rev. 106, 620 - 630 Lobo, J. M., Jiménez-Valverde, A. and Real R. 2007. AUC a misleading measure of the performance of predictive distribution models. Global Ecology and Biogeography Phillips, S. J., Dudik, M. and Schapire, R. E. 2004. A maximum entropy approach to species distribution modeling. Proceedings of the 21 st International Conference on Machine Learning, Banff, Canada Phillips, S. J., Anderson, R. P. and Schapire, R. E. 2006. Maximum entropy modeling of species geographic distributions. Ecological Modeling 190: 231-259 Siva, D. S., 1990. Bayesian Inductive Inference Maximum Entropy & Neutron Scattering. Los Alamos Science, Summer: 180 – 206 Maxent program website (its free): http://www.cs.princeton.edu/~schapire/maxent/


Download ppt "Maximum Entropy spatial modeling with imperfect data."

Similar presentations


Ads by Google