
How much does the result depend on your choices?
Source:vignettes/articles/sensitivity.Rmd
sensitivity.RmdThe sensitivity analyses of preENM in one place.
Many steps rest on a choice that the data do not settle. For each of
them preENM runs the step under the reasonable alternatives and reports
how much the result changes, and whether the conclusion stays the same.
Together these sensitivity analyses are what preENM adds to the
modelling software; report them with the result. When a step was run
under alternatives (several rules, replicate runs, a bootstrap, several
margins), its printout ends by naming the choice it tests, and
?sensitivity_analyses lists them all.
| Choice | Function | Section |
|---|---|---|
| Filter thresholds for the records | filter_sensitivity() |
1 |
| How M is delimited and how far it extends; what L rests on |
m_scenarios(), m_minimal(),
linking_stability()
|
2 |
| The climate data product | climate_source_compare() |
4.3 |
| Where imprecise records really lie |
jitter_uncertainty(),
coordinate_spread()
|
6, 25.1 |
| Which records survive thinning |
thin_distance(n_rep = ),
thin_environment(n_rep = )
|
8 |
| The number of background points | background_sufficiency() |
9 |
| The thinning and background design | bias_sensitivity() |
10 |
| The margin that defines the edge of M | niche_truncation(edge_check = ) |
11 |
| The grain of the rasters | grain_sensitivity() |
13 |
| The evaluation points behind the ranking of models | evaluate_models(n_boot = ) |
17.5 |
| Algorithm, run and region behind variable importance | importance_stability() |
18.4 |
| The cross-validation design | cv_sensitivity() |
19.2 |
| How the ensemble is built | ensemble_scenarios() |
21 |
| The threshold rule |
thresholds(), range_metrics()
|
22, 23 |
| Data versus study design in a projected change | transfer_bias_test() |
24 |
| Data, algorithm, climate model and scenario | partition_uncertainty() |
25 |
| Background and space of a niche comparison | overlap_scenarios() |
27 |
Choices without a function of their own
Some choices can be judged only by fitting models, which preENM does not do. Their effect is read with the same functions after modelling:
-
The predictor set.
select_variables()returns a ranked list of sets rather than one answer (section 5). Fit the models with two or three of the best sets (best_sets(),recommend_sets()) and compare them withevaluate_models(); with the set as a factor,partition_uncertainty()says how much of the spread of the projections it explains. -
Model settings (e.g. regularisation, feature
classes, number of trees). Fit the alternatives and compare them as
models with
evaluate_models()andselect_models(), or as runs withimportance_stability()andpartition_uncertainty().