Skip to content
HALOWERK

Statwerk

sample stratified mantel haenszel

Return a Mantel-Haenszel pooled odds ratio and component sums from supplied stratified 2x2 counts.

POST https://stat.halowerk.com/v1/sample-stratified-mantel-haenszel

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
strataarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "strata": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "a": {
            "$ref": "#/$defs/s0"
          },
          "b": {
            "$ref": "#/$defs/s0"
          },
          "c": {
            "$ref": "#/$defs/s0"
          },
          "d": {
            "$ref": "#/$defs/s0"
          }
        },
        "required": [
          "a",
          "b",
          "c",
          "d"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 1
    }
  },
  "required": [
    "strata"
  ],
  "additionalProperties": false,
  "$id": "urn:h:w5:F8:input",
  "$defs": {
    "s0": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000
    }
  }
}

Open original schema

Published input example

{
  "strata": [
    {
      "a": 2,
      "b": 1,
      "c": 1,
      "d": 2
    }
  ]
}

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 โ†’