Survival pairwiselogrankresult - CyrilB1531/lodestar GitHub Wiki
Development build. This page describes
main, not a released package. The latest published Lodestar.Survival is 0.2.0 — read its documentation.
Home › Survival › Survival estimators
PairwiseLogRankResult
One pair of groups from LogRank.Pairwise: a row of lifelines'
pairwise_logrank_test summary.
public sealed record PairwiseLogRankResult(int GroupA, int GroupB, LogRankResult Result)
Properties — GroupA is the lower of the two labels and GroupB the higher. Result is the
two-sample LogRankResult between them, on one degree of freedom.
Example — two groups make one pair.
using Lodestar.Survival;
PairwiseLogRankResult pair = LogRank.Pairwise(
[1, 2, 3, 4], [7, 7, 2, 2], [true, true, true, true])[0];
int lower = pair.GroupA; // => 2
int higher = pair.GroupB; // => 7
Remarks — value equality compares the labels and the result, the generated record equality.
Applies to — net10.0, netstandard2.0.
See also — LogRank.Pairwise.