Statistics Environmental Data Applied Methods 14 min read Last reviewed: November 25, 2026
BY: Minsa A

Environmental Statistics: Methods, Data Sources & Worked Examples

Environmental statistics applies statistical methods to data on air, water, soil, climate and ecosystems, so trends, risks and compliance can be judged with stated uncertainty.

This guide covers the definition, the problems that make environmental data different, a method for each type of question, four computed examples, data sources and software. It sits under inferential statistics and builds on descriptive statistics.

What is environmental statistics?

Environmental statistics is the branch of applied statistics that collects, analyzes and interprets data on environmental conditions (air, water, soil, climate, ecosystems and human exposure) using methods built for skewed, censored, autocorrelated, spatially dependent and extreme-value data, so that trends, risks and compliance with standards can be judged with quantified uncertainty.

DomainTypical dataTypical problemTypical method
Air qualityHourly PM2.5, ozoneAutocorrelation, gapsSeasonal Mann-Kendall, GAM
GroundwaterLead, nitrateNon-detects, lognormalityKaplan-Meier, ROS, MLE
HydrologyAnnual peak flowExtremes, nonstationarityGEV, generalized Pareto
EcologySpecies countsOverdispersion, detectabilityNegative binomial, occupancy
💡
Key Definition

Environmental statistics does not replace ecology, chemistry or hydrology. It supplies the methods that let those fields state how sure they are about a trend, an average or a risk.

Environmental statistics as a discipline and as official data

The term carries two meanings, and this page keeps them apart. The first is the methodological discipline defined above. The second is official environment statistics: compiled indicators on emissions, water, waste, land and biodiversity, produced by national statistical offices, the European Environment Agency, Eurostat and the US EPA. The UN Statistics Division organizes the second meaning through the Framework for the Development of Environment Statistics (FDES 2013), endorsed by the UN Statistical Commission in 2013.

Neighbouring fields share its tools. Ecological statistics concentrates on organisms and communities. Geostatistics models spatial dependence. Epidemiology links exposure to health outcomes. Environmental data analysis draws on all three, which is why environmental monitoring programs need a method chosen for the data, not for habit.

🔑 Key Takeaways

The most important ideas in environmental statistics at a glance.

●

Environmental statistics adapts standard methods to skewed, censored, autocorrelated, spatial and extreme-value data.

●

Choose the method from the question, then test its assumption. Mann-Kendall with Sen's slope answers trend questions.

●

Do not substitute non-detects by habit. Use Kaplan-Meier, ROS or maximum likelihood, and report uncertainty.

●

A 100-year event has a 26.0 percent chance of occurring at least once in 30 years.

●

Official environment statistics and the statistical discipline are different meanings of one term.

Why environmental data breaks textbook assumptions

Most introductory methods assume independent, roughly normal, complete, exactly measured observations. Field data rarely supply that. The table lists the usual offenders and what to do about each.

ProblemConsequenceRemedy
Skewed, lognormal valuesArithmetic mean sits well above the typical valueLog scale, geometric mean, percentiles
Non-detectsSubstituted values bias means and regressionsKaplan-Meier, ROS, maximum likelihood
AutocorrelationFewer effective observations, false positivesModified Mann-Kendall, block bootstrap, GLS
SeasonalityCycle masks or fakes a trendSeasonal tests, GAMs, deseasonalizing
Spatial dependenceNeighbouring sites repeat informationVariograms, kriging, spatial random effects
ExtremesDecisions depend on the tail, not the centreGEV, generalized Pareto, return levels
Missing, uneven samplingBiased summaries, broken lagsModel-based gap handling, mixed models
NonstationarityPast frequencies stop describing the futureCovariates in distribution parameters

Autocorrelation deserves a closer look. When consecutive readings are positively correlated, the effective sample size is smaller than n. Standard errors shrink on paper, and trend tests reject a true null far more often than the nominal 5 percent. No single remedy is always right: prewhitening can remove real trend, and block bootstrap needs a sensible block length.

Measurement scale matters too. Concentrations and counts are ratio-scale, so ratios and geometric means make sense. Temperature in °C is interval-scale, so ratios do not. pH is a logarithmic scale, which means an arithmetic mean of pH values is not the pH of the mean hydrogen-ion concentration. See levels of measurement for the full scheme, and correlation vs causation for why observational records show association only.

Environmental statistics methods by question

Pick the method from the question, then check its assumption against the data. A consultant can use this table without reading the rest.

QuestionMethodKey assumptionTools
Is there a monotonic trend?Mann-Kendall + Sen's slopeIndependence (or a correction)R trend; Python pymannkendall
Mean with values below detection?Kaplan-Meier, ROS, MLEDistribution for ROS and MLER NADA2; ProUCL
How large is the 50- or 100-year event?GEV or generalized ParetoStationarity, enough extremesR extRemes; SciPy
What is the value at an unsampled place?Variogram + krigingIntrinsic stationarityR gstat; scikit-gstat
Are nearby sites clustered?Moran's IA defined neighbour structureR spdep
Smooth trend with seasonality?GAM, mixed-effects modelCorrect error structureR mgcv, lme4
Species counts across sites?Negative binomial, zero-inflated, occupancyOverdispersion or detectability modelR unmarked; statsmodels
Does a site meet a limit?UCL, UPL, tolerance intervalDistribution or nonparametric ruleProUCL

For test selection in general, see the parametric vs non-parametric tests guide. Rank-based tests like Mann-Kendall build on Kendall's tau, with Kendall tau critical values and Spearman rank correlation as close relatives.

Describing environmental data correctly

Start with a histogram or a Q-Q plot before any summary. If the right tail is long, report percentiles alongside the mean, and consider the log scale. Review measures of central tendency and skewness, and flag points with the outlier rules before deciding whether a high reading is an error or a real event.

Lognormal data
if ln X ~ N(μ, σ²): median(X) = e^μ, mean(X) = e^(μ + σ²/2)
μ mean of ln X  |  σ sd of ln X  |  GM = exp(mean of ln x) estimates the median

With μ = 0 and σ = 1 the mean is 1.649 times the median. The geometric mean (try the geometric mean calculator) estimates the median of lognormal data, so it describes a typical concentration better than the arithmetic mean. It fails when zeros are present. Use the percentile calculator for compliance-style summaries.

Trend detection: Mann-Kendall and Sen's slope (worked example)

The Mann-Kendall test checks for a monotonic trend using signs of pairwise differences. It needs no normality but assumes independence unless modified. Sen's slope is the median of all pairwise slopes (xj − xi)/(j − i), so one outlier barely moves it. The seasonal version compares observations within the same season. For background on series methods, see time series analysis and the moving average.

Example A · illustrative data, not from a real monitor

PM2.5 annual means, 6 years (µg/m³): 12.1, 11.8, 11.9, 11.2, 10.9, 10.5

1

Question. Is there a downward trend?

2

Method. Mann-Kendall with exact and normal-approximation p-values, plus Sen's slope.

3

Calculation. S = −13 over 15 pairs. Var(S) = n(n−1)(2n+5)/18 = 28.33. Z = (S+1)/√Var = −2.254, giving p = 0.024 by normal approximation. Exactly, 6 of the 720 orderings reach S ≤ −13, so p = 2 × 6/720 = 0.0167.

4

Result. Sen's slope is −0.30 µg/m³ per year.

5

Caveat. With n below 10 use the exact distribution. The normal approximation is shown only to teach the formula. Six annual means cannot support a strong claim, and real analyses use at least 10 years or monthly seasonal data and a check for autocorrelation.

Both p-values fall below 0.05, but the exact one is the one to report. Computed in Python (NumPy, SciPy).

Censored data: handling non-detects (worked example)

A non-detect is a value reported only as below a detection limit (DL), a left-censored observation. Replacing it with 0, DL/2 or DL has no basis in theory and can bias means, standard deviations and regressions, though it is not wrong in every case. Better options are Kaplan-Meier on flipped data, regression on order statistics (ROS) and maximum likelihood. The choice depends on sample size and the percentage censored. For the idea of censoring in another setting, see censored data in study design.

Example B · illustrative data

Lead in groundwater (µg/L), n = 8, DL = 1: <1, <1, 2.3, 1.4, <1, 5.8, 3.1, 12.0

1

Data. Five detects sum to 24.6. Three of eight values (37.5 percent) are censored.

2

Substitution. Mean with 0, 0.5 and 1: 3.075, 3.2625 and 3.45 µg/L, a 12 percent swing from an arbitrary choice.

3

Censored methods. Flipped Kaplan-Meier mean 3.45 (with one DL below every detect, it matches DL substitution). Lognormal ROS mean 3.22. Lognormal maximum likelihood mean 3.70 (median 1.65).

4

Uncertainty. A bootstrap 95 percent interval for the maximum likelihood mean is roughly 1.3 to 9.6 µg/L.

5

Caveat. With eight values every estimate is imprecise. ROS here is a simple lognormal version written with SciPy, so dedicated packages may differ slightly.

The point estimates differ by about 0.5 µg/L, but the interval is far wider. Sample size matters more than the method.

Extreme values and return periods (worked example)

Block maxima, such as the highest flow each year, follow the Generalized Extreme Value (GEV) family. Exceedances over a high threshold follow the generalized Pareto distribution (GPD). The shape parameter ξ sets the tail: ξ > 0 is heavy, ξ = 0 is Gumbel, ξ < 0 has an upper bound.

Return period and return level
T = 1/p P(at least one in n yr) = 1 − (1 − 1/T)ⁿ
GEV level: zp = μ − (σ/ξ)[1 − {−ln(1−p)}−ξ], ξ ≠ 0, p = 1/T
Example C

The 100-year event

1

Question. What is the chance of at least one 100-year event in 30 or 50 years?

2

Calculation. Annual exceedance probability p = 0.01. Over 30 years: 1 − 0.9930 = 0.260. Over 50 years: 1 − 0.9950 = 0.395.

3

Misreading. The label does not mean one event every hundred years.

4

Caveat. Under a changing climate the stationary GEV assumption behind a fixed return period may fail.

A 100-year event has a 26.0 percent chance of occurring at least once in 30 years.

Spatial and spatio-temporal statistics

Spatial autocorrelation means nearby sites resemble each other, so ordinary tests that treat sites as independent overstate precision. The empirical semivariogram, γ(h) = (1/2|N(h)|) Σ (zi − zj)², measures how dissimilarity grows with distance h. Ordinary kriging uses a fitted variogram to predict unsampled locations and is the best linear unbiased predictor under its model assumptions, including intrinsic stationarity. Moran's I is typically between −1 and +1 and flags clustering.

Ecological and biodiversity statistics (worked example)

Species richness counts species. The Shannon index H' = −Σ pi ln pi weighs richness and evenness, and depends on the log base. Simpson's D = Σ pi² is the chance two random individuals share a species; 1 − D is the Gini-Simpson form. Counts are non-negative integers. Poisson models assume mean equals variance, so overdispersion calls for a negative binomial or quasi-Poisson model, and excess zeros for zero-inflated or hurdle models. Detection is imperfect, so raw counts mix abundance with detectability, a problem that occupancy and distance-sampling models address. See the Poisson distribution for the base model.

Example D

Three species with proportions 0.5, 0.3, 0.2

1

Calculation. H' = 1.030 (natural log). D = 0.38, so 1 − D = 0.62. Maximum H' is ln 3 = 1.099.

2

Result. Evenness J = H'/ln S = 0.937.

Three species with uneven shares score below the maximum, so richness alone would hide the dominance of the first species.

Compliance, exposure and health statistics

Many standards are written as percentiles, averages over a defined period or multi-year design values, so the statistic is part of the rule. Upper confidence limits (UCL), prediction limits and tolerance intervals support decisions at contaminated sites; the EPA's ProUCL software (version 5.2 on the EPA page at the time of review) computes them for data with and without non-detects. Exposure-response work usually pairs multiple regression or logistic models with confidence intervals and an effect size. Regulatory statistics differ by jurisdiction. Read the governing document, and treat this page as education, not legal advice.

Where to find environmental data

DomainSourceTypical variablesTypical issue
Air qualityUS EPA AirData (from the Air Quality System)Hourly PM2.5, ozone, NO₂Autocorrelation, seasonality, gaps
Water and riversUSGS Water Data for the NationDischarge, water qualityExtremes, trend
ClimateCopernicus Climate Data Store (ERA5)Temperature, rainfall gridsNonstationarity, spatial correlation
Climate stationsNOAA NCEIStation recordsMissing data, site changes
EuropeEuropean Environment AgencyEmissions, water, landReporting differences
BiodiversityGBIFOccurrence recordsSampling bias, detectability
Official statisticsUN Statistics Division FDESFramework and core setDefinitions across countries

USGS is retiring its legacy NWISWeb pages and WaterServices between late 2025 and early 2027, so older bookmarks and scripts may break. Check each provider's current access page before building a pipeline. Always cite the dataset version and download date.

Software for environmental statistics in R and Python

TaskRPython
Trendtrend, Kendallpymannkendall
Non-detectsNADA2, EnvStatslifelines (Kaplan-Meier)
ExtremesextRemes, evdscipy.stats (genextreme, genpareto)
Spatialgstat, spdepscikit-gstat
Smoothing and mixed modelsmgcv, lme4statsmodels
Ecologyvegan, unmarkedscikit-bio

Package names come from standard documentation and were not re-tested for this review. Confirm the current version and arguments before use.

Common mistakes in environmental data analysis

  • Substituting DL/2 by default. It feels neutral and is not.
  • Testing trend on autocorrelated data as if independent. False positives rise.
  • Averaging skewed data with the arithmetic mean only. One spill dominates the result.
  • Reading return periods as a schedule. Independent years do not take turns.
  • Ignoring a change in detection method. A step change in the record can look like a trend.
  • Dropping high values as outliers. They may be the event you are monitoring. See outliers and the outlier detector.
  • Treating spatial sites as independent replicates. Pseudoreplication shrinks standard errors.
  • Reporting p-values alone. Add effect size and a confidence interval.

A practical workflow for environmental data analysis

  1. State the question and the decision it supports.
  2. Check sampling design and population vs sample before touching the data; see study design.
  3. Audit data quality: units, duplicates, method changes (data quality).
  4. Explore with exploratory data analysis: box plots, line charts and Q-Q plots.
  5. Flag non-detects and record every detection limit.
  6. Pick the method from the question and test its assumption on the residuals or the series.
  7. Quantify uncertainty with intervals or the bootstrap.
  8. Report in plain terms, with caveats, following good interpretation practice.

Conclusion

Environmental statistics asks familiar questions: what is typical, how variable is it, is it changing, and how extreme can it get. What differs is the data, which is skewed, censored, correlated and sparse. Choose the method from the question, test its assumption against the data, and report the uncertainty.

From here, read about inferential statistics to see how samples support conclusions, or use the hypothesis testing hub to pick a test. If the summaries on this page feel unfamiliar, start with descriptive statistics.

Frequently Asked Questions

Environmental statistics is applied statistics for data about air, water, soil, climate, ecosystems and human exposure. Its methods handle skewed concentrations, values below detection limits, serial correlation, spatial dependence and extremes. The term also names official environment statistics, the indicators that agencies publish on emissions, water, waste and land.

Ecological statistics focuses on organisms and communities: abundance, richness, detection and diversity. Environmental statistics is wider. It covers physical and chemical media such as air, water and soil, plus climate and exposure, and it overlaps with ecology wherever species counts are used to judge environmental condition.

Common choices are Mann-Kendall and Sen's slope for trends, Kaplan-Meier, regression on order statistics and maximum likelihood for non-detects, GEV and Pareto models for extremes, variograms and kriging for space, additive and mixed-effects models for structured data, and negative binomial or zero-inflated models for counts.

Avoid replacing them with zero, half the limit or the limit itself without a reason, because the choice changes the mean. Use methods built for censored data: Kaplan-Meier after flipping, regression on order statistics, or maximum likelihood. The best choice depends on sample size and the percentage of censored values.

Concentrations cannot fall below zero and are often driven by multiplicative processes, so they pile up near low values with a long right tail. Many are close to lognormal. Mixtures of sources, detection limits and occasional spills add more departures from the normal curve.

A return period is the reciprocal of the annual exceedance probability. A 100-year flood has a 1 percent chance of being exceeded in any year. That does not mean one flood per century: the chance of at least one in 30 years is 26.0 percent, and in 50 years it is 39.5 percent.

Plot the series first, then apply a Mann-Kendall test and estimate the slope with Sen's method. Use the seasonal version for monthly data. Check for autocorrelation, because it inflates false positives, and use a modified test or block bootstrap if it is present. With fewer than 10 points, use the exact distribution.

The US EPA publishes air monitoring data through AirData, USGS delivers water data through Water Data for the Nation, and Copernicus offers ERA5 climate reanalysis through its Climate Data Store. GBIF provides species occurrence records. The UN Statistics Division describes the official environment statistics framework.

References
Mann, H.B. (1945). Nonparametric tests against trend. Econometrica 13. | Kendall, M.G. (1975). Rank Correlation Methods. | Sen, P.K. (1968). Estimates of the regression coefficient based on Kendall's tau. JASA 63. | Gilbert, R.O. (1987). Statistical Methods for Environmental Pollution Monitoring. | Helsel, D.R. (2012). Statistics for Censored Environmental Data Using Minitab and R. | Coles, S. (2001). An Introduction to Statistical Modeling of Extreme Values. | Cressie, N. (1993). Statistics for Spatial Data. | Millard, S.P. & Neerchal, N.K. Environmental Statistics with S-PLUS. | Shannon, C.E. (1948). A mathematical theory of communication. | Simpson, E.H. (1949). Measurement of diversity. Nature 163. | United Nations (2017). Framework for the Development of Environment Statistics (FDES 2013).
Related pages: inferential statistics, descriptive statistics, hypothesis testing, statistics glossary.

Read More Articles

Time Series Analysis

Trend, seasonality and autocorrelation in ordered data.

Read More →

Geometric Mean

The right average for lognormal concentrations.

Read More →

Handling Outliers in Data

Detect, investigate and treat extreme readings.

Read More →

Bootstrap Sampling

Confidence intervals when formulas run out.

Read More →

Poisson Distribution

The base model for ecological and health counts.

Read More →

Exploratory Data Analysis

The first step in any monitoring dataset.

Read More →