Skip to content
Fourohtwo

www.brainiac.software/api/v1/statistics/doe-design-generate

Full and fractional factorial (with defining relation, resolution and alias structure), Plackett-Burman and central composite designs in standard order, optionally randomised with a seeded xorshift128+ shuffle that is Docs: https://www.brainiac.software/api/statistics/doe-design-generate

BaseAnswering
POSThttps://www.brainiac.software/api/v1/statistics/doe-design-generate

Uptime100% of 5 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://www.brainiac.software/api/v1/statistics/doe-design-generate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"centerPoints":0,"factors":["A","B","C","D","E"],"generators":["D=AB","E=AC"],"randomize":false,"replicates":1,"seed":1,"type":"fractional_factorial"}),
});
console.log(await res.json());

Example input

{
  "centerPoints": 0,
  "factors": [
    "A",
    "B",
    "C",
    "D",
    "E"
  ],
  "generators": [
    "D=AB",
    "E=AC"
  ],
  "randomize": false,
  "replicates": 1,
  "seed": 1,
  "type": "fractional_factorial"
}