Skip to content

Commit d1e36c1

Browse files
authored
Fix docs std_null twice instead of std_alternative
1 parent 300b6fb commit d1e36c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

statsmodels/stats/power.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def normal_power_het(diff, nobs, alpha, std_null=1., std_alternative=None,
129129
std_null : float
130130
standard deviation under the Null hypothesis without division by
131131
sqrt(nobs)
132-
std_null : float
132+
std_alternative : float
133133
standard deviation under the Alternative hypothesis without division
134134
by sqrt(nobs)
135135
alternative : string, 'two-sided' (default), 'larger', 'smaller'
@@ -189,7 +189,7 @@ def normal_sample_size_one_tail(diff, power, alpha, std_null=1.,
189189
std_null : float
190190
standard deviation under the Null hypothesis without division by
191191
sqrt(nobs)
192-
std_null : float
192+
std_alternative : float
193193
standard deviation under the Alternative hypothesis without division
194194
by sqrt(nobs)
195195

0 commit comments

Comments
 (0)