Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

Two-Group Event Association

Compare two groups using risk ratio, risk difference, odds ratio and log-odds uncertainty.

Statistics workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
FormulaRisk Ratio = (a/(a+b))/(c/(c+d)); Risk Difference = a/(a+b)-c/(c+d); Odds Ratio = a*d/(b*c); Log Odds Se = sqrt(1/a+1/b+1/c+1/d)
Sources and model references

Worked example

Inputs

Group 1 events
20 count
Group 1 non-events
80 count
Group 2 events
10 count
Group 2 non-events
90 count

Expected results

Risk Ratio
2 number
Risk Difference
0.1 number
Odds Ratio
2.25 number
Log Odds Se
0.4166666667 number

Load the example in the workspace to reproduce these results. Display rounding does not change the underlying calculation.

How to use this tool

  1. Enter the labeled inputs using consistent units.
  2. Check the stated assumptions and calculate.
  3. Review each output and compare another input scenario.

Try this example

{
  "a": 20,
  "b": 80,
  "c": 10,
  "d": 90
}

Accuracy and scope

All cells strictly positive; descriptive associations do not establish causation. Finite floating-point arithmetic; results can lose precision near singular or extreme inputs.

Is my data uploaded?

This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.