Description
Return observed support within survival-weighted exposure.
Population records distinguish cohort balances, time exposure, survival expectations and observation coverage. Exact arithmetic can preserve counts while the definitions, exclusions and missingness still need independent verification.
Return observed support within survival-weighted exposure.
When to use this tool
Use Cohort Survival Exposure Share when checking an explicit cohort record or exposure-support convention.
How to use the tool and how it works
- Enter exposures, survivalFractions, observed. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read expectedSurvivingExposure, observedExpectedExposure, share, defined. Inspect defined before interpreting the associated values.
Return observed support within survival-weighted exposure. Require aligned nonnegative exposures and survival fractions in [0,1]; sum weighted exposure and its observed subset; share divides only for a positive total, otherwise zero with defined = false.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| exposures | Exposures | Required. Array of finite number; minimum 0; maximum items 256. |
| survivalFractions | Survival Fractions | Required. Array of finite number; maximum items 256. |
| observed | Observed | Required. Array of boolean; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| expectedSurvivingExposure | Expected Surviving Exposure | Required. Finite number. |
| observedExpectedExposure | Observed Expected Exposure | Required. Finite number. |
| share | Dimensionless ratio on the explicitly stated numerator and denominator basis. | Required. Finite number. |
| defined | Whether the stated denominator is nonzero; inspect this before using the associated ratio. | Required. Boolean. |
{
"input": {
"exposures": [
10,
20
],
"survivalFractions": [
0.5,
0.75
],
"observed": [
true,
false
]
},
"output": {
"expectedSurvivingExposure": 20,
"observedExpectedExposure": 5,
"share": 0.25,
"defined": true
}
} Limitations and assumptions
- This is support of expected exposure, not an estimated survival probability or observed survival rate.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Use suitable population and event data, including censoring and coverage evidence, for demographic inference beyond local bookkeeping.
References
Similar or alternative tools
- Age Band Survival Share
Return a cohort survival share with a zero-initial-count flag.
- Pension Month Coverage Denominator
Return pension-month coverage under an unknown-month policy.