Test whether event rates differ across samples. Enter counts, exposure, alpha, null rate, and tails. Get intervals, ratios, z scores, p values, and conclusions.
| Scenario | Events | Exposure | Reference | Interpretation Goal |
|---|---|---|---|---|
| Support tickets per staff hour | 18 | 2500 | Null rate = 0.006 | Check whether workload exceeds the benchmark. |
| Machine faults on Line A | 18 | 2500 | Compared with Line B | Compare reliability across two production lines. |
| Machine faults on Line B | 11 | 2400 | Rate ratio null = 1 | Assess whether the event rates are equivalent. |
One-sample rate estimate: r = x / t, where x is the observed event count and t is total exposure.
One-sample test statistic: z = (x - λ0t) / √(λ0t), where λ0 is the null rate.
Two-sample rate ratio: RR = (x1/t1) / (x2/t2).
Two-sample log test statistic: z = [ln(RR) - ln(RR0)] / √(1/x1 + 1/x2).
Confidence interval for the ratio: exp[ln(RR) ± zα/2 × SE].
This calculator uses normal approximations, which are most reliable when counts are moderate and exposure is measured consistently.
It tests whether an observed event rate matches a benchmark or whether two event rates differ after accounting for exposure time, distance, area, or population.
Use exposure whenever observation windows differ. Exposure standardizes counts so rates remain comparable across samples, periods, machines, patient-years, or production runs.
The null rate is the benchmark event frequency assumed under the null hypothesis. The test checks whether the observed data depart from that target.
The p value shows how compatible the observed data are with the null hypothesis. Smaller values indicate stronger evidence against the stated null rate or ratio.
A rate divides events by exposure. Without a positive exposure value, the rate is undefined and the comparison cannot be interpreted statistically.
The rate-ratio method here uses logarithms. A zero count makes the log ratio unstable, so the calculator stops and asks for positive counts.
No. This page uses normal-approximation formulas for speed and clarity. They work best with moderate counts and may be less stable for sparse events.
Report the rate or rate ratio, confidence interval, z statistic, p value, alpha level, and a plain-language conclusion tied to your study context.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.