---
title: "Pseudo-absences"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Pseudo-absences}
%\VignetteEngine{knitr::knitr}
%\VignetteEncoding{UTF-8}
---
### Definition
When using `data.type ='binary'` in [BIOMOD_FormatingData](../reference/BIOMOD_FormatingData.html), `biomod2` requires either **presence / absence data**, or **presence-only data supplemented with pseudo-absences** that can be generated within the same function.
The general idea behind is to select points in the studied area that will be used to compare observed environment (represented by the presences) against what is available. Those points are NOT to be considered as absences, and rather represent the available environment. From a semantic point of view, several terms can be encountered in the literature for the same purpose : *background data* when it comes to MaxEnt mostly, *pseudo-absences*, or *quadrature points* when applying point-process model (PPM).
**Note** that it is NOT recommended to mix both absence and pseudo-absences data.
### How to select them ? - Methods
3 different methods are implemented within `biomod2` to select pseudo-absences (PA) through the [BIOMOD_FormatingData](../reference/BIOMOD_FormatingData.html) function :
1. **random** : PA are randomly selected over the studied area (excluding presence points)
2. **disk** : PA are randomly selected within circles around presence points defined by a minimum and a maximum distance values (same projection system units as the presence points)
3. **SRE** : a Surface Range Envelop model is used to randomly select PA outside this envelop, i.e. in conditions (combination of explanatory variables) that differ in a defined proportion from those of presence points
The selection of one or the other method will depend on a more important and underlying question :
*how were obtained the dataset presence points ?*
- Was there a sampling design ?
- If yes, what was the objective of the study ? the scope ?
- In any case, what were the potential sources of bias ?
+ the question of interest
+ the studied area, its extent and how this extent was defined (administrative, geographical limits ?)
+ the observation method
+ the number of observers, the consistency between them (formation, objective)
+ etc
The 3 methods proposed within `biomod2` do not depend on the same assumptions :
| | random | disk | SRE |
| ---------------------------- | ------ | ---- | --- |
| Geographical assumption | no | yes | no |
| Environmental assumption | no | no | yes |
| Realized niche fully sampled | no | yes | yes |
The **random** method is the one with the least assumptions, and should be the default choice when no sufficient information is available about the species ecology and/or the sampling design. The **disk** and **SRE** methods assume that the realized niche of the species has been fully sampled, either geographically or environmentally speaking.