This package present a general framework for detecting the preferential sampling in an environmental process across space and/or time.
This is based on the work A general theory for preferential sampling in environmental networks by Joe Watson, James V. Zidek and Gavin Shaddick. This is achieved by considering the joint distribution of an environmental process with a site-selection process that considers where and when sites are placed to measure the process. The environmental process may be spatial, temporal or spatio-temporal in nature. By sharing random effects between the two processes, the joint model is able to establish whether site placement was stochastically dependent of the environmental process under study.
The data are defined by a process indexed by space and time
and are observed at
When considering the spatio-temporal data, we usually need to define a
nonseparable spatio-temporal covariance function