Maxent model for mcat_4


This page contains some analysis of the Maxent model for mcat_4, created Mon Apr 22 10:31:08 CDT 2019 using Maxent version 3.4.1. If you would like to do further analyses, the raw data used here is linked to at the end of this page.


Analysis of omission/commission

The following picture shows the omission rate and predicted area as a function of the cumulative threshold. The omission rate is is calculated both on the training presence records, and (if test data are used) on the test records. The omission rate should be close to the predicted omission, because of the definition of the cumulative threshold.


The next picture is the receiver operating characteristic (ROC) curve for the same data. Note that the specificity is defined using predicted area, rather than true commission (see the paper by Phillips, Anderson and Schapire cited on the help page for discussion of what this means). This implies that the maximum achievable AUC is less than 1. If test data is drawn from the Maxent distribution itself, then the maximum possible test AUC would be 0.916 rather than 1; in practice the test AUC may exceed this bound.



Some common thresholds and corresponding omission rates are as follows. If test data are available, binomial probabilities are calculated exactly if the number of test samples is at most 25, otherwise using a normal approximation to the binomial. These are 1-sided p-values for the null hypothesis that test points are predicted no better than by a random prediction with the same fractional predicted area. The "Balance" threshold minimizes 6 * training omission rate + .04 * cumulative threshold + 1.6 * fractional predicted area.

Cumulative thresholdCloglog thresholdDescriptionFractional predicted areaTraining omission rateTest omission rateP-value
1.0000.016Fixed cumulative value 10.4540.0000.0561.518E-5
5.0000.091Fixed cumulative value 50.2890.0000.1111.905E-7
10.0000.165Fixed cumulative value 100.2180.0370.1112.484E-9
5.7510.104Minimum training presence0.2750.0000.1118.954E-8
17.6770.25510 percentile training presence0.1560.0930.2781.277E-7
18.9460.267Equal training sensitivity and specificity0.1480.1480.3338.576E-7
13.8300.214Maximum training sensitivity plus specificity0.1830.0370.1111.703E-10
15.2280.230Equal test sensitivity and specificity0.1730.0740.1671.738E-9
13.8300.214Maximum test sensitivity plus specificity0.1830.0370.1111.703E-10
3.8970.073Balance training omission, predicted area and threshold value0.3140.0000.1116.625E-7
13.0190.205Equate entropy of thresholded and original distributions0.1900.0370.1112.946E-10


Click here to interactively explore this prediction using the Explain tool. If clicking from your browser does not succeed in starting the tool, try running the script in D:\Workspace\Steamboat\existing_condition\mcat\mcat_4_explain.bat directly. This tool requires the environmental grids to be small enough that they all fit in memory.



Pictures of the model

This is the projection of the Maxent model for mcat_4 onto the environmental variables in D:\Workspace\Steamboat\existing_condition\predictors. Warmer colors show areas with better predicted conditions. White dots show the presence locations used for training, while violet dots show test locations. Click on the image for a full-size version.



Click here to interactively explore this prediction using the Explain tool. If clicking from your browser does not succeed in starting the tool, try running the script in D:\Workspace\Steamboat\existing_condition\mcat\mcat_4_predictors_explain.bat directly. This tool requires the environmental grids to be small enough that they all fit in memory.

The following picture shows where the prediction is most affected by variables being outside their training range, while projecting the Maxent model onto the environmental variables in D:\Workspace\Steamboat\existing_condition\predictors. The values shown in the picture give the absolute difference in predictions when using vs not using clamping. (Clamping means that environmental variables and features are restricted to the range of values encountered during training.) Warmer colors show areas where the treatment of variable values outside their training ranges is likely to have a large effect on predicted suitability.


The following two pictures compare the environmental similarity of variables in predictors to the environmental data used for training the model. In the first picture (MESS), areas in red have one or more environmental variables outside the range present in the training data, so predictions in those areas should be treated with strong caution. The second picture (MoD) shows the most dissimilar variable, i.e., the one that is furthest outside its training range. For details, see Elith et al., Methods in Ecology and Evolution, 2010





Response curves


These curves show how each environmental variable affects the Maxent prediction. The curves show how the predicted probability of presence changes as each environmental variable is varied, keeping all other environmental variables at their average sample value. Click on a response curve to see a larger version. Note that the curves can be hard to interpret if you have strongly correlated variables, as the model may depend on the correlations in ways that are not evident in the curves. In other words, the curves show the marginal effect of changing exactly one variable, whereas the model may take advantage of sets of variables changing together.



In contrast to the above marginal response curves, each of the following curves represents a different model, namely, a Maxent model created using only the corresponding variable. These plots reflect the dependence of predicted suitability both on the selected variable and on dependencies induced by correlations between the selected variable and other variables. They may be easier to interpret if there are strong correlations between variables.




Analysis of variable contributions


The following table gives estimates of relative contributions of the environmental variables to the Maxent model. To determine the first estimate, in each iteration of the training algorithm, the increase in regularized gain is added to the contribution of the corresponding variable, or subtracted from it if the change to the absolute value of lambda is negative. For the second estimate, for each environmental variable in turn, the values of that variable on training presence and background data are randomly permuted. The model is reevaluated on the permuted data, and the resulting drop in training AUC is shown in the table, normalized to percentages. As with the variable jackknife, variable contributions should be interpreted with caution when the predictor variables are correlated.

VariablePercent contributionPermutation importance
q5_velocity37.815.2
q5_slope28.76.3
q5_ss9.139.1
q95_froude8.14.8
q95_depth7.13.9
q95_slope2.70
q95_ss2.56.7
q5_froude1.412
q5_reynolds1.10.3
q95_velocity111.5
q95_reynolds0.40.1
q5_depth00.2


The following picture shows the results of the jackknife test of variable importance. The environmental variable with highest gain when used in isolation is q5_velocity, which therefore appears to have the most useful information by itself. The environmental variable that decreases the gain the most when it is omitted is q5_ss, which therefore appears to have the most information that isn't present in the other variables.



The next picture shows the same jackknife test, using test gain instead of training gain. Note that conclusions about which variables are most important can change, now that we're looking at test data.


Lastly, we have the same jackknife test, using AUC on test data.



Raw data outputs and control parameters


The data used in the above analysis is contained in the next links. Please see the Help button for more information on these.
The model applied to the training environmental layers
The model applied to the environmental layers in D:\Workspace\Steamboat\existing_condition\predictors
The coefficients of the model
The omission and predicted area for varying cumulative and raw thresholds
The prediction strength at the training and (optionally) test presence sites
Results for all species modeled in the same Maxent run, with summary statistics and (optionally) jackknife results


Regularized training gain is 1.684, training AUC is 0.948, unregularized training gain is 2.101.
Unregularized test gain is 1.309.
Test AUC is 0.878, standard deviation is 0.041 (calculated as in DeLong, DeLong & Clarke-Pearson 1988, equation 2).
Algorithm terminated after 500 iterations (20 seconds).

The follow settings were used during the run:
54 presence records used for training, 18 for testing.
10054 points used to determine the Maxent distribution (background points and presence points).
Environmental layers used (all continuous): q5_depth q5_froude q5_reynolds q5_slope q5_ss q5_velocity q95_depth q95_froude q95_reynolds q95_slope q95_ss q95_velocity
Regularization values: linear/quadratic/product: 0.181, categorical: 0.250, threshold: 1.460, hinge: 0.500
Feature types used: hinge linear quadratic
responsecurves: true
jackknife: true
outputfiletype: mxe
outputdirectory: D:\Workspace\Steamboat\existing_condition\mcat
projectionlayers: D:\Workspace\Steamboat\existing_condition\predictors
samplesfile: D:\Workspace\Steamboat\existing_condition\input_swd\mcat.csv
environmentallayers: D:\Workspace\Steamboat\existing_condition\input_swd\background.csv
randomseed: true
randomtestpoints: 25
replicates: 10
replicatetype: bootstrap
writeplotdata: true
appendtoresultsfile: true
threads: 10
Command line used: