← Market

Experimentation · Sample Size Mde

Required users per arm and duration for a target minimum detectable effect, or the MDE for a fixed sample, for proportion or mean metrics with power, multi-arm Bonferroni and unequal allocation. Docs: https://www.brainiac.software/api/experimentation/sample-size-mde

POST https://www.brainiac.software/api/v1/experimentation/sample-size-mde

0.01 USDC on Base · payTo 0x6428665E83F503904571104311bB78CBb29b975c

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.01 USDC · payTo 0x6428665E83F503904571104311bB78CBb29b975c · via cdp · settles direct
{
  "allocation": [
    0.5,
    0.5
  ],
  "alpha": 0.05,
  "arms": 2,
  "baseline": 0.1,
  "correction": "bonferroni",
  "dailyUsers": 2000,
  "mde": 0.1,
  "mdeType": "relative",
  "metricType": "proportion",
  "power": 0.8
}
{
  "alphaPerComparison": 0.05,
  "days": 15,
  "formula": "unpooled normal approximation",
  "limitations": [
    "Normal approximation; for small samples or rare events check the result by simulation.",
    "Allocation index 0 is the control; every other arm is compared with it."
  ],
  "nByArm": [
    14749,
    14749
  ],
  "nPerArm": 14749,
  "sources": [
    {
      "retrievedAt": "2026-11-14T00:00:00.000Z",
      "source": "NIST/SEMATECH e-Handbook: sample sizes required for means",
      "status": "ok",
      "url": "https://www.itl.nist.gov/div898/handbook/prc/section2/prc222.htm"
    }
  ],
  "totalN": 29498
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust scorepending / 100 · breakdown
Probe uptime (30d)— over 0 probes · daily
Avg 402 latency— ms
Paid calls (30d, on-chain)0 calls · 0 buyers

How to call

POST https://www.brainiac.software/api/v1/experimentation/sample-size-mde · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "metricType": {
      "type": "string",
      "enum": [
        "proportion",
        "mean"
      ],
      "description": "metric Type supplied by the caller for this operation.",
      "example": "proportion"
    },
    "baseline": {
      "type": "number",
      "description": "baseline supplied by the caller for this operation.",
      "example": 0.1
    },
    "baselineSd": {
      "type": "number",
      "description": "baseline Sd supplied by the caller for this operation."
    },
    "baselineMean": {
      "type": "number",
      "description": "baseline Mean supplied by the caller for this operation."
    },
    "mde": {
      "type": "number",
      "description": "mde supplied by the caller for this operation.",
      "example": 0.1
    },
    "mdeType": {
      "type": "string",
      "enum": [
        "relative",
        "absolute"
      ],
      "description": "mde Type supplied by the caller for this operation.",
      "example": "relative"
    },
    "nPerArm": {
      "type": "integer",
      "minimum": 2,
      "maximum": 9007199254740991,
      "description": "n Per Arm supplied by the caller for this operation."
    },
    "alpha": {
      "type": "number",
      "description": "alpha supplied by the caller for this operation.",
      "example": 0.05
    },
    "alternative": {
      "type": "string",
      "enum": [
        "two-sided",
        "greater",
        "less"
      ],
      "description": "alternative supplied by the caller for this operation."
    },
    "power": {
      "type": "number",
      "description": "power supplied by the caller for this operation.",
      "example": 0.8
    },
    "arms": {
      "type": "integer",
      "minimum": 2,
      "maximum": 10,
      "description": "arms supplied by the caller for this operation.",
      "example": 2
    },
    "allocation": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "description": "allocation supplied by the caller for this operation.",
      "example": [
        0.5,
        0.5
      ]
    },
    "dailyUsers": {
      "type": "number",
      "description": "daily Users supplied by the caller for this operation.",
      "example": 2000
    },
    "correction": {
      "type": "string",
      "enum": [
        "bonferroni",
        "none"
      ],
      "description": "correction supplied by the caller for this operation.",
      "example": "bonferroni"
    }
  },
  "required": [
    "metricType"
  ],
  "additionalProperties": false
}
Output schema
{
  "type": "object"
}
curl -i -X POST 'https://www.brainiac.software/api/v1/experimentation/sample-size-mde' \
  -H 'content-type: application/json' -d '{"metricType":"proportion","baseline":0.1,"mde":0.1,"mdeType":"relative","alpha":0.05,"power":0.8,"arms":2,"allocation":[0.5,0.5],"dailyUsers":2000,"correction":"bonferroni"}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)