Warum benötigt der Z-Test in der Python-Bibliothek "StatsModels" Python Library keine Bevölkerungsstandardabweichung?

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Warum benötigt der Z-Test in der Python-Bibliothek "StatsModels" Python Library keine Bevölkerungsstandardabweichung?

by Anonymous » 19 Aug 2025, 10:44

Um einen Z-Test in Python auszuführen, habe ich gesehen, wie Leute es getan haben: < /p>
from statsmodels.stats.weightstats import ztest as ztest
# IQ levels of 20 patients post medication
data = [88, 92, 94, 94, 96, 97, 97, 97, 99, 99,
105, 109, 109, 109, 110, 112, 112, 113, 114, 115]

ztest(data, value=100) # value is mean
< /code>
Warum ist in dem Argument die Bevölkerungsstandardabweichung (STD) nicht erforderlich? Wie wendet die Bibliothek die Z-Test-Formel an, ohne die Bevölkerung STD zu erhalten?

Top