We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4d9082 commit 3c2e96dCopy full SHA for 3c2e96d
1 file changed
tests/smoke_test.py
@@ -23,12 +23,12 @@ def main():
23
24
# 3. 测试一个最基本的 API 调用
25
try:
26
- result = pystatpower.models.proportion.independent.noninferiority.size(
27
- alpha=0.05,
28
- power=0.8,
+ result = pystatpower.models.proportion.independent.noninferiority.solve_size(
29
treatment_proportion=0.8,
30
reference_proportion=0.8,
31
margin=-0.10,
+ alpha=0.05,
+ power=0.8,
32
)
33
assert result is not None
34
except Exception as e:
0 commit comments