A/B testi

Python ile İstatistiksel Düşünme (Bölüm 2)

Justin Bois

Lecturer at the California Institute of Technology

Yeniden tasarımın etkili mi?

ch4-1.002.png

Python ile İstatistiksel Düşünme (Bölüm 2)

Yeniden tasarımın etkili mi?

ch4-1.003.png

Python ile İstatistiksel Düşünme (Bölüm 2)

Null hipotez

  • Tıklama oranı yeniden tasarımdan etkilenmez
Python ile İstatistiksel Düşünme (Bölüm 2)

Tıklamalar için permütasyon testi

import numpy as np
# clickthrough_A, clickthrough_B: arr. of 1s and 0s

def diff_frac(data_A, data_B): frac_A = np.sum(data_A) / len(data_A) frac_B = np.sum(data_B) / len(data_B) return frac_B - frac_A
diff_frac_obs = diff_frac(clickthrough_A, clickthrough_B)
Python ile İstatistiksel Düşünme (Bölüm 2)

Tıklamalar için permütasyon testi

perm_replicates = np.empty(10000)
for i in range(10000):
     perm_replicates[i] = permutation_replicate(
                clickthrough_A, clickthrough_B, diff_frac)

p_value = np.sum(perm_replicates >= diff_frac_obs) / 10000
p_value
0.016
Python ile İstatistiksel Düşünme (Bölüm 2)

A/B testi

  • Kurumlar, strateji değişiminin daha iyi sonuç verip vermediğini görmek için kullanır
Python ile İstatistiksel Düşünme (Bölüm 2)

Bir A/B testinin null hipotezi

  • Test istatistiği değişimden etkilenmez
Python ile İstatistiksel Düşünme (Bölüm 2)

Hadi pratik yapalım!

Python ile İstatistiksel Düşünme (Bölüm 2)

Preparing Video For Download...