Power และขนาดตัวอย่าง

ฝึกทำข้อสอบสัมภาษณ์สถิติด้วย Python

Conor Dewey

Data Scientist, Squarespace

การวิเคราะห์ Power

การวิเคราะห์ Power

1 Public domain vectors
ฝึกทำข้อสอบสัมภาษณ์สถิติด้วย Python

องค์ประกอบหลัก

  • ขนาดของ Effect
  • ระดับนัยสำคัญ
  • Power
  • ขนาดตัวอย่าง
ฝึกทำข้อสอบสัมภาษณ์สถิติด้วย Python

การคำนวณขนาดตัวอย่าง

  • zt_ind_solve_power()
  • tt_ind_solve_power()
  • proportion_effectsize()
ฝึกทำข้อสอบสัมภาษณ์สถิติด้วย Python

ตัวอย่าง: อัตราการแปลง

from statsmodels.stats.power import  zt_ind_solve_power
import statsmodels.stats.proportion as prop

std_effect = prop.proportion_effectsize(.20, .25)
zt_ind_solve_power(effect_size=std_effect, nobs1=None, 
                   alpha=.05, power=.80)
1091.8962
ฝึกทำข้อสอบสัมภาษณ์สถิติด้วย Python

ตัวอย่าง: อัตราการแปลง

from statsmodels.stats.power import  zt_ind_solve_power
import statsmodels.stats.proportion as prop

std_effect = prop.proportion_effectsize(.20, .25)
zt_ind_solve_power(effect_size=std_effect, nobs1=None, 
                   alpha=.05, power=.95)
1807.76215
ฝึกทำข้อสอบสัมภาษณ์สถิติด้วย Python

สรุป

  • การวิเคราะห์ Power
  • องค์ประกอบหลัก
  • ตัวอย่าง
ฝึกทำข้อสอบสัมภาษณ์สถิติด้วย Python

มาเตรียมพร้อมสำหรับการสัมภาษณ์กันเถอะ!

ฝึกทำข้อสอบสัมภาษณ์สถิติด้วย Python

Preparing Video For Download...