{"slug":"www-brainiac-software-api-v1-statistics-power-sample-size-9b5eac","title":"Power or required sample size for a two-sample t-test (noncentral t), one-way AN","host":"www.brainiac.software","method":"POST","resource":"https://www.brainiac.software/api/v1/statistics/power-sample-size","category":"other","description":"Power or required sample size for a two-sample t-test (noncentral t), one-way ANOVA (noncentral F), two proportions (Cohen's h) and a correlation (Fisher z). Docs: https://www.brainiac.software/api/statistics/power-sample-size","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":5,"answered_7d":5,"latency_ms_median":296,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"alpha":0.05,"effectSize":0.5,"groups":3,"n":null,"p1":null,"p2":null,"power":0.8,"r":null,"test":"t_two_sample"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"alpha":{"description":"alpha supplied by the caller for this operation.","example":0.05,"type":"number"},"effectSize":{"description":"effect Size supplied by the caller for this operation.","example":0.5,"type":["number","null"]},"groups":{"description":"groups supplied by the caller for this operation.","example":3,"maximum":100,"minimum":2,"type":"integer"},"n":{"description":"n supplied by the caller for this operation.","example":null,"type":["number","null"]},"p1":{"description":"p1 supplied by the caller for this operation.","example":null,"type":["number","null"]},"p2":{"description":"p2 supplied by the caller for this operation.","example":null,"type":["number","null"]},"power":{"description":"power supplied by the caller for this operation.","example":0.8,"type":["number","null"]},"r":{"description":"r supplied by the caller for this operation.","example":null,"type":["number","null"]},"test":{"description":"test supplied by the caller for this operation.","enum":["t_two_sample","anova_oneway","two_proportions","correlation"],"example":"t_two_sample","type":"string"}},"required":["test"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":296,"error":null},{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":265,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":294,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":716,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":330,"error":null}],"description_full":"Power or required sample size for a two-sample t-test (noncentral t), one-way ANOVA (noncentral F), two proportions (Cohen's h) and a correlation (Fisher z). Docs: https://www.brainiac.software/api/statistics/power-sample-size","last_updated":"2026-11-24T14:50:15.331Z","schemes":["exact"]}