BaşlayınÜcretsiz Başlayın

Calculating sample size

Let's finish up our dive into statistical tests by performing power analysis to generate needed sample size. Power analysis involves four moving parts:

  • Sample size
  • Effect size
  • Minimum effect
  • Power

In this exercise, you're working with a website and want to test for a difference in conversion rate. Before you begin the experiment, you must decide how many samples you'll need per variant using 5% significance and 95% power.

Bu egzersiz

Practicing Statistics Interview Questions in Python

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Standardize the effect size
from statsmodels.stats.proportion import proportion_effectsize
std_effect = ____
Kodu Düzenle ve Çalıştır