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?
Warum benötigt der Z-Test in der Python-Bibliothek "StatsModels" Python Library keine Bevölkerungsstandardabweichung? ⇐ Python
-
- Similar Topics
- Replies
- Views
- Last post