Source: https://guthlabs.ai/docs/instruments/sample-size-power-calculator-clinical-study-education/

instrument / verified-clean

# Sample Size / Power Calculator (clinical study education)

The current ledger marks this instrument verified clean within the source-bound verification corpus.

Status: **VERIFIED_CLEAN**Lifecycle: **verified-clean**

## Inspectable records

[01**Overview**Purpose and lifecycle](<https://guthlabs.ai/docs/instruments/sample-size-power-calculator-clinical-study-education/>)[02**Mechanism**Method and assumptions](<https://guthlabs.ai/docs/instruments/sample-size-power-calculator-clinical-study-education/mechanism/>)[03**Implementation**Binding and validation](<https://guthlabs.ai/docs/instruments/sample-size-power-calculator-clinical-study-education/implementation/>)[04**Qualification**Evidence and errata](<https://guthlabs.ai/docs/instruments/sample-size-power-calculator-clinical-study-education/qualification/>)

## Ledger state

The current ledger marks this instrument verified clean within the source-bound verification corpus.

**Area**: Biology, Medicine & Pharmacology (educational estimates only — every panel labeled not-medical-advice)

**Tranche**: tranche-6

**Evidence ID**: t6-109

**Ledger rows**: 1

No ledger note is attached.

## Review findings

The means formula is mathematically correct under its stated simplified assumptions, but the instrument specification is incomplete because the proportions variant, rounding behavior, input meaning of variance versus standard deviation, and exact hypothesis-test convention are not defined. The existing educational/not-medical-advice label is appropriate, but the panel should also state that this is not a substitute for a prespecified statistical analysis or professional sample-size review.

### Formula and scope findings

- The means formula is standard only for a two-sided, two-arm comparison of means with equal allocation, equal known variances, and normal-approximation assumptions; these constraints should be explicit.

- The specification says there is a proportions variant but provides no formula. A proportion sample-size calculation requires baseline proportion(s), effect definition, one- versus two-sided testing, allocation, and whether continuity correction is used.

- The specification does not state that the raw result must be rounded up to the next whole participant; the test vectors assume n=ceil(raw n).

- The symbol σ must mean standard deviation, not variance. If the input is variance, the formula must use that variance directly as σ².

- The notation z_α/2 is ambiguous; it should explicitly mean the upper standard-normal quantile z_(1−α/2), and z_β should mean z_(power)=z_(1−β).

### Unit assumptions

- σ and Δ must use the same units; their ratio is unitless, so converting both from kilograms to grams leaves n unchanged.

- σ is a positive standard deviation and Δ is a nonzero absolute difference in means.

- α is a two-sided type-I error probability, 0<α<1; power is 1−β with 0<power<1.

- The z-values use the standard normal distribution: z_(1−α/2) for a two-sided test and z_(power) for β=1−power.

- The output is participants per group for equal allocation, before any dropout or attrition inflation.

## Boundary hardening

**BREAK_CLAIMED** · SELF_FLAGGED

The edge vectors expose undefined or invalid outputs unless the calculator validates zero effect size and zero variance. The branch and convention probes also produce materially different sample sizes when outcome type or alpha sidedness is interpreted differently.

## Errata and corrections

No applied erratum is attached to this unique-name record.

## Inspectable example

4 review vectors are recorded. One source-bound sample is shown below.

````
{
  "inputs": {
    "design": "two-arm means, equal allocation",
    "sigma": 10,
    "sigma_units": "units",
    "delta": 5,
    "delta_units": "units",
    "alpha": 0.05,
    "power": 0.8,
    "z_(1-alpha/2)": 1.96,
    "z_power": 0.841621
  },
  "expected_outputs": {
    "raw_n_per_group": 62.792642,
    "required_n_per_group": 63
  },
  "working": "β=1−0.80=0.20. z-sum=1.96+0.841621=2.801621. Square: 2.801621²=7.849080. Variance factor: 2σ²/Δ²=2×10²/5²=200/25=8. Raw n=8×7.849080=62.792642. Round up: ceil(62.792642)=63 per group."
}
````

## Related workflows

No source-defined multi-instrument workflow membership is recorded.

## Sources and evidence

These pointers bind the page to evidence. They do not grant authority or collapse verification into deployment.

- `VERIFIED_LEDGER.json · VERIFIED_CLEAN`

- `evidence-tranche6/tranche6-results.json`

- `BOUNDARY_HAZARD_CATALOG.json`
