Statistical methods for detection and quantification of environmental