Skip to content

Revertant ratio to the concurrent control mean, per dose, for one strain

tox_revertant_ratio_to_control

Works out revertant means and SDs per group, and each dose group's ratio to the concurrent control mean.

Runs
On the server
Level
Checked against a reference: exact arithmetic: Python fractions with 50-digit decimal square roots on the definitions, written before the engine, with a hand-worked case, and a second implementation in Python by a separate agent of the same model family
Ask your assistant

What it is

Returns revertant means and SDs per plate for each group, and each dose group's ratio to the concurrent control mean. Use when a bacterial reverse-mutation plate count for one strain and one activation condition is to be summarised. Not for summary statistics of a single column of values: use `stats_column_statistics`; not for a test between groups: use `stats_compare_groups`. Plate counts are whole numbers; the control kind is required; SD withheld for one plate, ratios for a zero control mean.

Field: Toxicology and product quality.

What it does

You give

  • strain (required): The tester strain, as a label only (for example TA98). Leading and trailing white space is removed before the pattern is checked.
  • activation (required): The metabolic activation condition, as a label only (for example with S9). Leading and trailing white space is removed before the pattern is checked.
  • controlKind (required): Which concurrent control the plates in `control` are.
  • control (required): The concurrent control's plate counts, at least 1.
  • groups (required): The dose groups, at least 1.

No request is recorded for this tool.

Limits

  • Research arithmetic on the caller's own laboratory counts and measurements.
  • No positive or negative call, no comparison with any criterion, target or historical control, and no statement about a substance's hazard or safety; not a regulatory evaluation, and not a dosing, clinical, welfare, diagnostic or release authority.
  • Descriptive arithmetic on the caller's plate counts for one strain and one activation condition.
  • No positive or negative call, no fold rule, no historical-control comparison.
  • Research and education; not a regulatory evaluation.
  • Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.
Every input, with its units5 inputs
  • strain (required): The tester strain, as a label only (for example TA98). Leading and trailing white space is removed before the pattern is checked.
  • activation (required): The metabolic activation condition, as a label only (for example with S9). Leading and trailing white space is removed before the pattern is checked.
  • controlKind (required): Which concurrent control the plates in `control` are.
  • control (required): The concurrent control's plate counts, at least 1.
  • groups (required): The dose groups, at least 1.

The calculation

The method's equations, constants and worked example.

Revertant plate counts: group means and SDs, and each group's ratio to the concurrent control meantox-revertant-ratio-to-control@1.0.1

Equation 1

x̄ = Σxᵢ / n

SymbolMeaning
x̄mean revertant colonies per plate
xᵢrevertant colonies on plate i
nplates in the group

Source 1.

Equation 2

s = √(Σ(xᵢ − x̄)² / (n − 1))

SymbolMeaning
ssample standard deviation of the plate counts
xᵢ, x̄, nplate counts, their mean and their number

Source 1.

Equation 3

ratio = x̄(group) / x̄(concurrent control): the fold increase over the solvent control (FDA's template, endnote 14), taken as a ratio of means and used for an untreated control too, both the record's own

SymbolMeaning
ratioratio of a group's mean to the concurrent control mean
x̄group and control means

Source 2.

Conventions

  • SD_N_MINUS_ONE = n − 1: Fixed by the method; not an argument. The SD divides the summed squared deviations by the number of plates less one.

A definition, not a model: the equation states what the quantity means. A different convention gives a different number.

Worked example

Worked example: one case of tox-revertant-ratio-to-control@1.0.1, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.

Inputs

  • strain = TA98
  • activation = without S9
  • controlKind = solvent-vehicle
  • control[0] = 20
  • control[1] = 22
  • control[2] = 24
  • groups[0].label = dose 1
  • groups[0].plates[0] = 30
  • groups[0].plates[1] = 33
  • groups[0].plates[2] = 39

Steps

  1. controlMean = 22, from control; by equation 1; gives control.mean.
  2. controlSd = 2, from control, controlMean; by equation 2; gives control.sd.
  3. groupMean = 34, from groups[0].plates; by equation 1; gives groups[0].mean.
  4. groupSd = 4.5825757, from groups[0].plates, groupMean; by equation 2; gives groups[0].sd.
  5. ratio = 1.5454545, from groupMean, controlMean; by equation 3; gives groups[0].ratioToControlMean.

The working, as the case writes it:

control mean (20 + 22 + 24)/3 = 22

squared deviations 4, 0, 4, SD = sqrt(8/2) = 2. Group mean (30 + 33 + 39)/3 = 34

deviations -4, -1, 5, squares 16, 1, 25, SD = sqrt(42/2) = sqrt(21) = 4.5825757. Ratio 34/22 = 17/11 = 1.5454545.

Answer

control.mean = 22

control.sd = 2

groups[0].mean = 34

groups[0].sd = 4.5825757

groups[0].ratioToControlMean = 1.5454545

Where these values came from: our own exact-arithmetic script and a hand-worked case; stored reference values: fractions, and decimal square roots at 50 digits.

At build the tool returned this answer within the tolerance the file states: means, SDs and ratios absolute 1e-9 (counts per plate and their ratios; several expected values are 0); plate numbers, labels, statuses, codes, units and withheld rules exact.

Sources

  1. NIST/SEMATECH e-Handbook of Statistical Methods, section 1.3.5 (quantitative techniques)

    Used for: Revertant plate counts: group means and SDs, and each group's ratio to the concurrent control mean. At: section 1.3.5.1 Measures of Location: the mean, Ȳ = ΣYᵢ/N; section 1.3.5.6 Measures of Scale: the standard deviation, s = √(Σ(Yᵢ − Ȳ)²/(N − 1)).

    Read in full, 14 November 2026
  2. US Food and Drug Administration, Template: In Vitro Bacterial Reverse Mutation (Ames) Test (introduction dated March 2004; content current as of 12 December 2017)

    Used for: Revertant plate counts: group means and SDs, and each group's ratio to the concurrent control mean. At: section endnote 14: a positive response as a fold-increase over the solvent control.

    Read in full, 14 November 2026

How it is checked

Level

Checked against a reference.

Checked against

Our own exact-arithmetic script and a hand-worked case.

Cases

No case set is linked to this version.

Not checked

OECD TG 471 was not read (oecd.org returned 403), so nothing about plate numbers, control practice or evaluation is checked or stated; nothing is cited from it. Codes stated in words: a plate count outside 0 to 100000, fewer than one or more than fifty plates, fewer than one or more than thirty groups, and a label over sixty-four characters are the kit's range and length codes; a label repeated is DUPLICATE_NAME, the first repeat in input order reported, after every schema check; labels are compared as exact strings after the kit trims white space at their ends, case-sensitive, so "d" and "D" are two groups and "d " repeats "d".

What was not checked, in fullfrom the method records
  • OECD TG 471 was not read (oecd.org returned 403), so nothing about plate numbers, control practice or evaluation is checked or stated; nothing is cited from it.
  • Codes stated in words: a plate count outside 0 to 100000, fewer than one or more than fifty plates, fewer than one or more than thirty groups, and a label over sixty-four characters are the kit's range and length codes; a label repeated is DUPLICATE_NAME, the first repeat in input order reported, after every schema check; labels are compared as exact strings after the kit trims white space at their ends, case-sensitive, so "d" and "D" are two groups and "d " repeats "d".
  • No interval on the ratio is given.
  • Pooling strains or activation conditions is not representable: one call is one strain and one condition, named by the caller as labels only.
  • Whether the plates are the concurrent control and the right dose groups is the caller's.
Changes to its methods0 changes

No change is logged for these method versions.