Skip to main content
POST
/
v2
/
stats:runPowerAnalysis
Run PowerAnalysis
curl --request POST \
  --url https://stats.eu.confidence.dev/v2/stats:runPowerAnalysis \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "hypotheses": [
    {}
  ],
  "requiredSampleSize": {},
  "annotations": [
    {}
  ],
  "statsCacheEntry": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The body is of type object.

Response

200 - application/json

OK

hypotheses
object[]

The sample size for each hypothesis.

requiredSampleSize
object

The sample size needed to get the desired power for all hypotheses.

annotations
object[]

List of issues discovered during the power analysis.

statsCacheEntry
string

Cache entry used, empty if not cached.