{
  "test_id": "kaplan_meier",
  "test_label": "Kaplan-Meier (log-rank test)",
  "n": 26,
  "statistic": 1.0627398612914141,
  "parameter": 1,
  "p_value": 0.30259111698909524,
  "estimate": "NA",
  "conf_int": null,
  "effect_size": {
    "name": "hazard_ratio",
    "value": 0.55080190727793532,
    "ci": [0.1743207335353901, 1.7403709524858066],
    "ci_level": 0.94999999999999996,
    "reference_level": "1",
    "comparison_level": "2"
  },
  "seed_used": 20261028,
  "assumptions": [
    {
      "id": "sample_size",
      "check": "sample size",
      "statistic": 26,
      "p_value": "NA",
      "passed": true,
      "note": "adequate n"
    },
    {
      "id": "number_of_events",
      "check": "number of events",
      "statistic": 12,
      "p_value": "NA",
      "passed": true,
      "note": "adequate events"
    },
    {
      "id": "proportional_hazards",
      "check": "proportional hazards (cox.zph)",
      "statistic": "NA",
      "p_value": 0.10149779362374836,
      "passed": true,
      "note": "no evidence against proportional hazards"
    }
  ],
  "warnings": [],
  "flags": [],
  "test_label_i18n": {
    "key": "test.kaplan_meier.label"
  },
  "alpha": 0.050000000000000003,
  "sidedness": "non-directional",
  "imputation": {
    "strategy": "complete_case",
    "n_rows": 26,
    "n_dropped": 0,
    "n_cells_imputed": 0,
    "imputed_cols": []
  },
  "group_medians": {
    "rx=1": 638,
    "rx=2": "NA"
  },
  "time_unit": "days",
  "n_events": 12,
  "conf_level": 0.94999999999999996,
  "median_ci_level": 0.94999999999999996,
  "group_median_ci": {
    "rx=1": [268, "NA"],
    "rx=2": [475, "NA"]
  },
  "power": {
    "method": null,
    "n": "NA",
    "mdes": "NA",
    "mdes_metric": null,
    "mdes_metric_i18n": null,
    "required_n": "NA",
    "required_n_label": null,
    "required_n_label_i18n": null,
    "severely_underpowered": null,
    "note": "Power is not calculated for this test.",
    "call_code": null
  },
  "explanations": ["The median survival time is when half of a group has had the event: 1 reached it at 638 days (95% CI from 268, no upper bound); 2 had not reached it by the end of follow-up (12 events among 26 participants).", "2 had 0.5508x the hazard of 1 (HR 0.5508, 95% CI 0.1743 to 1.74) - a value above 1 means higher risk (the event tended to come sooner), below 1 means lower risk.", "This result is not statistically significant at the 0.05 level (p = 0.303, n = 26)."],
  "explanations_i18n": [
    {
      "key": "exp.km.medians_events",
      "args": {
        "medians": {
          "key": "exp.list_join",
          "args": {
            "first": {
              "key": "exp.km.median_reached_ci",
              "args": {
                "group": "1",
                "median": "638",
                "unit": "days",
                "ci": {
                  "key": "exp.ci_open_upper",
                  "args": {
                    "level": "95",
                    "lower": "268"
                  }
                }
              }
            },
            "rest": {
              "key": "exp.km.median_not_reached",
              "args": {
                "group": "2"
              }
            }
          }
        },
        "events": "12",
        "n": "26"
      }
    },
    {
      "key": "exp.km.hazard_ratio_groups_ci",
      "args": {
        "group2": "2",
        "hazard_ratio": "0.5508",
        "group1": "1",
        "extras": {
          "key": "exp.extras.ci",
          "args": {
            "ci": {
              "key": "exp.ci",
              "args": {
                "level": "95",
                "lower": "0.1743",
                "upper": "1.74"
              }
            }
          }
        }
      }
    },
    {
      "key": "exp.closer.not_significant",
      "args": {
        "alpha": "0.05",
        "p": "p = 0.303",
        "n": "26"
      }
    }
  ]
}
