Skip to content
HALOWERK

Statwerk

events two group logrank

Return the two-group tied-time logrank observed-minus-expected statistic and hypergeometric variance.

POST https://stat.halowerk.com/v1/events-two-group-logrank

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
observationsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "observations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "time": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          },
          "event": {
            "type": "boolean"
          },
          "group": {
            "enum": [
              "A",
              "B"
            ]
          }
        },
        "required": [
          "time",
          "event",
          "group"
        ],
        "additionalProperties": false
      },
      "maxItems": 500,
      "minItems": 2
    }
  },
  "required": [
    "observations"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "observations": [
    {
      "time": 1,
      "event": true,
      "group": "A"
    },
    {
      "time": 2,
      "event": true,
      "group": "B"
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’