Converter tool

Whole Effluent Toxicity Test Statistics

Find NOEC and LOEC with the usual normality and variance checks, LC50 by probit and Spearman-Karber with limits, IC25 by interpolation with a bootstrap interval, and the TST pass or fail.

Counts or measurements

1. Endpoint

One row per replicate vessel

1. Your data

Or paste the table

Whole Effluent Toxicity Test Statistics

Operator: Abdulla Al Fahad. How tools are built and checked

A discharge permit usually names a statistic, not a laboratory result: the highest concentration with no significant effect, the concentration that kills half the organisms, or the one that cuts reproduction by a quarter. Getting from bench sheets to those numbers means checking assumptions, choosing a test, and sometimes interpolating between two concentrations.

This page does that for counts of affected organisms and for measured responses such as dry weight or young per female. It shows the checks it ran and why a test was chosen, and every choice can be overridden, because the method is usually fixed by the permit and not by the data.

A concentration of 0 is the control; every other row is one test vessel.

Key features

  • Shapiro-Wilk on the residuals and Bartlett's test steer the choice between Dunnett's test, a Bonferroni t-test, Steel's many-one rank test and a Bonferroni-adjusted Wilcoxon test
  • Proportions go through the arcsine square-root transform before testing, as the EPA manuals describe
  • Probit LC or EC at any percentage by maximum likelihood with Finney's fiducial limits and a heterogeneity factor
  • Trimmed Spearman-Karber with automatic trim, and ICp by linear interpolation of monotone-smoothed means with a seeded bootstrap interval

How the toxicity statistics are chosen and computed

For counts give three columns: concentration, organisms exposed and the number affected (or surviving; say which). Each row is a replicate vessel and replicate counts need not be equal. For a measured endpoint give the concentration and one value per replicate. Direction matters: affected counts rise with toxicity, growth and reproduction fall, and the page asks which applies.

Dunnett's critical value is computed for the actual group sizes by integrating the many-one t distribution, one-sided at the level you set. It reproduces the published table: with 20 error degrees of freedom the five-percent values for 1, 2, 3, 4 and 5 treatments against a control are 1.725, 2.027, 2.192, 2.304 and 2.389 one-sided, and 2.65 two-sided for four. Steel's test needs the joint null distribution of the rank sums, so the page shuffles the group labels up to 20,000 times with a fixed seed (fewer as the table grows, and Steel is limited to 1,500 replicate rows; above that the automatic choice falls back to the Wilcoxon rank sum, and the table as a whole is capped at 20,000 rows) and takes each treatment's p-value from the distribution of the smallest centred rank sum. That keeps the family-wise error at or below the level you set; in 300 simulated null experiments with five treatments it rejected 3.0 to 3.3 percent of the time.

How it works

The probit is fitted by iteratively reweighted least squares on log10 concentration, using every non-control concentration including those with 0 or 100 percent response. If the heterogeneity chi-square is significant at 0.05 the limits use its ratio to the degrees of freedom and a t quantile, otherwise 1.96.

ICp smooths the group means to a monotone sequence by pooling adjacent violators, takes (1 - p) of the smoothed control mean as the target, and interpolates linearly between the two concentrations that bracket it. The bootstrap resamples replicates within each concentration, 1,000 times, and uses the 2.5th and 97.5th percentiles.

Common use cases

  • A chronic fathead-minnow style test of dry weight with five replicates at 0, 32, 64, 128, 256 and 512 ug/L gives Dunnett's NOEC 32 and LOEC 64. The IC25 is 172.7 ug/L with a bootstrap interval of 164.1 to 181.0.
  • With only four replicates and five treatments the rank tests cannot reach significance even when 100 percent of the animals die: the smallest possible rank sum has a probability of about 1/70 per comparison, and five comparisons share the level. The page prints the shuffled p-values so you can see this instead of a bare "not significant".

How to use this tool

  1. Say whether rows hold counts or measurements, then drop the bench table or load the illustrative example.
  2. Check the columns, the direction of toxicity and the significance level.
  3. Read the decision path above the NOEC and LOEC, and switch the test by hand if the permit names one.
  4. Read the point estimates, and for the TST type the instream waste concentration and the b value.

Example

An illustrative acute test: concentrations 0, 6.25, 12.5, 25, 50 and 100 percent effluent, 4 replicates of 10 organisms, dead per vessel such as 3, 2, 4, 3 at 25 percent

Counts affected: 0 / 0 / 1 / 0 at the control; 7 / 8 / 6 / 8 at 50 percent; 10 / 10 / 9 / 10 at 100 percent

Results

Shapiro-Wilk W = 0.932 (p 0.109); Bartlett chi-square 1.55 (p 0.907); Dunnett's test with critical value 2.407
NOEC 12.5%, LOEC 25%
Probit LC50 32.6% (95% fiducial 27.7 to 38.5), slope 3.39, heterogeneity chi-square 2.59 on 3 df
Trimmed Spearman-Karber LC50 33.5% (28.6 to 39.2), trim 0.025
TST at 25% with b = 0.80: survival 70.0% against 97.5%, fail

Common pitfalls

Williams' test, which the manuals list for monotone responses, is not included. Steel's test uses permutation critical values, and the Wilcoxon option uses a normal approximation with continuity correction, which can differ from the exact tables for very small groups.

The Spearman-Karber variance follows Hamilton, Russo and Thurston for whole trims and is applied approximately for fractional trims; treat its interval as indicative. The EPA worked examples (for instance a trimmed Spearman-Karber LC50 of 77.1 percent) were not available to the build, so agreement with them has not been checked here.

Point estimates need a dose-response that rises (or falls) with concentration. Non-monotone data are smoothed for ICp and flagged for the NOEC; probit refuses a fit whose slope is not positive.

The TST defaults (b of 0.75 chronic and 0.80 acute, a significance level of 0.25) are typed from memory of the EPA technical document; confirm them for your permit before relying on a pass.

Methods are set per permit. A result from this page is a calculation, not a compliance finding.

  • When the test chosen by the flowchart disagrees with the one your permit names, run both: a NOEC that moves one concentration between Dunnett and Steel is a prompt to look at the replicate scatter, not at the statistics.
  • Put the control first with concentration exactly 0, and check the plot: the control sits at the left edge because a log axis has no zero.

Common errors and how to fix them

"Probit analysis needs at least one concentration with a partial response"
Every concentration killed none or all of the organisms, so no curve can be fitted. Use the Spearman-Karber estimate or report the range between the last no-effect and first full-effect concentrations.
"The control must have concentration 0"
Add control rows with a concentration of 0; a lowest concentration above 0 is treated as a test concentration and has nothing to compare against.

Best practices

  • Record all replicates, including vessels that behaved oddly, and decide about exclusions in writing before the statistics are run.
  • Report which test the flowchart chose and whether it was overridden.
  • Keep the exported decision path with the bench sheets.

What the checks were run against

The Shapiro-Wilk routine reproduces W = 0.789 for the eleven weights of the original 1965 paper, whose published W is 0.79. The probit routine reproduces the standard grouped beetle-mortality data (slope 19.73 on log10 dose, intercept -34.94, LC50 59.0). The Dunnett values above match the published table to three decimals.

Frequently asked questions

Why is a quantal NOEC tested on arcsine values?

Proportions near 0 or 1 have smaller variance than those near 0.5. The arcsine square-root transform makes the variance more nearly equal across concentrations, so the t-based tests behave.

What does the TST decide?

It tests whether the response at the instream waste concentration is below b times the control, using Welch's t. Rejecting that hypothesis is a pass. In the example the effluent survival is 71.8 percent of the control, below 0.80, so the test fails.

Can I get a dose-response curve fit instead?

A single four-parameter curve with its own EC50 is a different model; use the curve-fitting page for that. This page is for the hypothesis-test and point-estimate set that toxicity manuals specify.

Why do the bootstrap limits change if I rerun?

They do not: the resampling uses a fixed seed, so the same data give the same limits every time.