Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

Two-Group Exponential Survival

Model survival when a population contains two latent groups with different constant rates.

Probability workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
FormulaSurvival = w*exp(-l1*t)+(1-w)*exp(-l2*t); Hazard = (w*l1*exp(-l1*t)+(1-w)*l2*exp(-l2*t))/(w*exp(-l1*t)+(1-w)*exp(-l2*t)); Mean = w/l1+(1-w)/l2
Sources and model references

Made for real tasks

  • Model survival when a population contains two latent groups with different constant rates.
Explore step-by-step workflows →

Worked example

Inputs

Group one fraction
0.4 probability
Group one rate
0.1 number
Group two rate
0.3 number
Elapsed time
5 time

Expected results

Survival
0.37649036 probability
Hazard
0.1711190035 1/time
Mean
6 time

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 group one fraction, group one rate, group two rate, elapsed time.
  2. Use the displayed units and confirm the model assumptions.
  3. Calculate and compare the outputs against your input scenario.

Try this example

{
  "w": 0.4,
  "l1": 0.1,
  "l2": 0.3,
  "t": 5
}

Accuracy and scope

Mixture of two latent groups, not two simultaneous competing failure causes.

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.