Skip to main content
POST
Run PowerAnalysis

Authorizations

Authorization
string
header
required

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

Body

application/json
plan
AnalysisPlan · object
required

AnalysisPlan: The description of which hypotheses that are going to be tested, which group comparisons that are included, and how the result should be evaluated.

data
PowerAnalysisData · object

PowerAnalysisData: Additional data for the power analysis, only required to be set if hypotheses are relative or if ci_width should be computed.

Response

200 - application/json

OK

hypotheses
object[]

The sample size for each hypothesis.

requiredSampleSize
integer

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.