Everyday

Entered Association Estimates Calculator

Calculate per-stratum cohort risk ratios or an explicitly chosen Mantel–Haenszel cohort risk ratio or common odds ratio from compatible entered age-stratum counts.

Your result appears here after you calculate.

Check this calculator’s assumptions and limits below.

How the calculation works

Cohort stratum: N1=a+b, N0=c+d, risk1=a/N1, risk0=c/N0, RR=(a/N1)/(c/N0). With n=N1+N0, MH cohort RR=sum(a×N0/n)/sum(c×N1/n). MH common OR=sum(a×d/n)/sum(b×c/n). These are distinct point estimands; the tool does not select a model from data.

A worked example

Synthetic age-group example (not patient or source-study age data): rows 20,40,20,80,10,90 and 40,60,40,60,20,80 have stratum cohort RRs 2 and 2. After explicitly choosing cohort design and confirming compatibility, the MH cohort-RR mode with common-effect interpretation gives 2; common-OR mode gives 2.5. Unknown or known heterogeneous common effects withhold the pooled summary while retaining the separate row results.

Before you use the result

Enter counts from a suitable study, not rates, person-years, percentages, survey weights or matched pairs. Each row is lower age in years, upper age in years, a (exposed with outcome), b (exposed without outcome), c (unexposed with outcome), d (unexposed without outcome). The exposure group is the row and the outcome group is the column. In case-control mode the columns are sampled cases and controls, so their proportions cannot estimate population risks. Boundaries are lower-inclusive and upper-exclusive; use the same age-at-classification definition in every row. Enter already chosen compatible age bands; overlap is rejected, gaps are allowed for an explicitly restricted target population, and row order is preserved. The tool does not choose cutpoints, check omitted groups, verify independence or confirm source quality. Confirm independent nonoverlapping groups, consistent exposure/outcome coding and common cohort follow-up, or a compatible unmatched case-control sampling basis. Only the chosen MH estimand is supported, not arbitrary age adjustment, logistic regression or a ratio of arbitrarily standardized rates. A common-effect choice is an explicit interpretation, not a successful homogeneity test; unknown or known heterogeneous effects have no pooled summary. For cohort RR both exposure-row totals must be positive. Common-OR mode additionally requires all four row/column margins positive, but individual zero cells remain valid. Every entered row is retained; no 0.5 correction, silent omission or finite substitute for an unbounded/undefined ratio is used. Single-stratum mode does no age adjustment; MH modes require at least two strata. Computational limits: 1–40 rows (2–40 for MH), each count a whole integer 0–1 billion, age boundaries 0–200 years with up to 6 decimal places, lower strictly below upper, plain decimal syntax and at most 8,000 input characters. The age limit is a software bound, not a claim about empirical study validity. Counts have no exponents, grouping separators or leading zeros except 0. Exact fraction arithmetic precedes display rounding to 8 decimal places; positive values smaller than 0.00000001 are marked, rather than shown as zero. These are point estimates, without confidence intervals, significance tests, model selection, causal conclusions or individual clinical advice. No general p-value, disease-risk prediction, hazard/rate ratio or universal adjusted association is inferred from age.

References