{
  "tool": "higher-certificate.stat_descriptive",
  "name": "Statistics I — descriptive measures (CDU-GEN-HC-500)",
  "answers": "Mean, median and sample standard deviation of a data set.",
  "degree": {
    "id": "competency:higher-certificate",
    "code": "CDU-GEN-HC-500",
    "name": "Higher Certificate in Foundation Studies (January 2027 intake)",
    "version": "1.0.0"
  },
  "reference": "Shared Year 1 — Statistics I (January 2027 intake); s = √(Σ(x − x̄)²/(n − 1))",
  "endpoint": "/faculty/higher-certificate/stat_descriptive",
  "feeSt": 1,
  "inputSchema": {
    "type": "object",
    "required": [
      "pan",
      "data"
    ],
    "properties": {
      "pan": {
        "type": "string",
        "description": "The student PAN — the degree must be held in one of its five slots",
        "pattern": "^[0-9 ]{16,19}$"
      },
      "data": {
        "type": "array",
        "description": "the observations (n ≥ 2)",
        "items": {
          "type": "number"
        }
      }
    },
    "additionalProperties": false
  },
  "outputSchema": {
    "type": "object",
    "required": [
      "mean",
      "median",
      "sampleSd"
    ],
    "properties": {
      "mean": {
        "type": "number",
        "description": "x̄ (4 d.p.)"
      },
      "median": {
        "type": "number",
        "description": "the median"
      },
      "sampleSd": {
        "type": "number",
        "description": "s (4 d.p.)"
      }
    },
    "additionalProperties": false
  },
  "example": {
    "data": [
      12,
      15,
      11,
      19,
      13,
      14
    ]
  }
}