Description
Return discordance and signed direction for two binary outcomes.
Biostatistical terms depend on a declared observation unit, exposure denominator, event order and sampling design. A risk-set flag, paired discordance contribution or support-weight ratio can be computed locally without fitting a survival model, establishing a treatment effect or validating an inferential analysis.
Return discordance and signed direction for two binary outcomes.
When to use this tool
Use Binary Outcome Discordant Pair Flag when checking the stated exposure, event, matched-pair or cluster-support convention.
How to use the tool and how it works
- Enter firstOutcome, secondOutcome. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read discordant, direction. Inspect discordant before interpreting the associated values.
Return discordance and signed direction for two binary outcomes. discordant tests Boolean inequality, direction = numeric second-first, yielding -1, zero or +1.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| firstOutcome | First Outcome | Required. Boolean. |
| secondOutcome | Second Outcome | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| discordant | Discordant | Required. Boolean. |
| direction | Direction | Required. Safe integer. |
{
"input": {
"firstOutcome": true,
"secondOutcome": false
},
"output": {
"discordant": true,
"direction": -1
}
} Limitations and assumptions
- This is one supplied pair, not a paired test, verified observation or treatment-effect estimate.
- 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.
Alternative or Complementary methods
Analyze complete verified data with a method appropriate to the design and censoring assumptions; assess uncertainty and consult qualified statistical and clinical professionals for health conclusions.
References
Similar or alternative tools
- Paired Binary Discordance Term
Return a continuity-adjusted discordant-pair statistic.
- Pair Matched Discordance Budget
Return matched binary-pair total and discordance balance.