Hypothesis tests

Statistical Thinking के केस स्टडीज़

Justin Bois

Lecturer, Caltech

म्यूटेशन का गतिविधि पर प्रभाव

1 डेटा सौजन्य: Avni Gandhi, Grigogios Oikonomou, और David Prober, Caltech
Statistical Thinking के केस स्टडीज़

जीनोटाइप परिभाषाएँ

  • वाइल्ड टाइप: कोई म्यूटेशन नहीं

  • हेटेरोज़ाइगोट: दो क्रोमोसोम में से एक पर म्यूटेशन

  • म्यूटेंट: दोनों क्रोमोसोम पर म्यूटेशन
Statistical Thinking के केस स्टडीज़

म्यूटेशन का गतिविधि पर प्रभाव

1 डेटा सौजन्य: Avni Gandhi, Grigogios Oikonomou, और David Prober, Caltech
Statistical Thinking के केस स्टडीज़

म्यूटेशन का गतिविधि पर प्रभाव

1 डेटा सौजन्य: Avni Gandhi, Grigogios Oikonomou, और David Prober, Caltech
Statistical Thinking के केस स्टडीज़

Hypothesis test

किसी परिकल्पना के सही मानने पर देखे गए डेटा कितने उचित हैं, इसका आकलन

Statistical Thinking के केस स्टडीज़

p-value

आपके test statistic के, कम-से-कम उतने ही चरम मान पाने की संभावना, जितना देखा गया, यह मानते हुए कि null hypothesis सही है

Statistical Thinking के केस स्टडीज़

Test statistic

  • एक एकल संख्या जो देखे गए डेटा से और null hypothesis के तहत सिम्युलेट किए गए डेटा से निकाली जा सकती है

  • तुलना का आधार बनती है
Statistical Thinking के केस स्टडीज़

p-value

आपके test statistic के, कम-से-कम उतने ही चरम मान पाने की संभावना, जितना देखा गया, यह मानते हुए कि null hypothesis सही है

स्पष्ट निर्धारण आवश्यक:

  • सिम्युलेट की जा सकने वाली null hypothesis
  • देखे गए और सिम्युलेटेड डेटा से गणना योग्य test statistic
  • कम-से-कम उतने ही चरम की परिभाषा
Statistical Thinking के केस स्टडीज़

Hypothesis testing की पाइपलाइन

  • null hypothesis स्पष्ट रूप से बताइए
  • अपना test statistic परिभाषित कीजिए
  • null hypothesis सही मानकर कई सिम्युलेटेड डेटा सेट बनाइए
  • हर सिम्युलेटेड डेटासेट के लिए test statistic निकालिए
  • p-value वह अंश है जहाँ सिम्युलेटेड डेटासेट्स में test statistic वास्तविक डेटा जितना या उससे अधिक चरम हो
Statistical Thinking के केस स्टडीज़

टेस्ट निर्दिष्ट करना

Null hypothesis: वाइल्ड टाइप और हेटेरोज़ाइगोटिक मछलियों के active bout lengths समान वितरण वाले हैं

Test statistic: हेटेरोज़ाइगोट्स और वाइल्ड टाइप के बीच mean active bout length का अंतर

कम-से-कम उतने ही चरम: test statistic देखा गया मान जितना या उससे बड़ा हो

Statistical Thinking के केस स्टडीज़

Permutation test

हर replicate के लिए:

  • डेटा पॉइंट्स के लेबल्स को scramble करें
  • test statistic निकालें
perm_reps = dcst.draw_perm_reps(
    data_a, data_b, dcst.diff_of_means, size=10000
)

p-value वे replicates का अंश है जो देखे गए जितने या उससे अधिक चरम हों

p_val = np.sum(perm_reps >= diff_means_obs) / len(perm_reps)
Statistical Thinking के केस स्टडीज़

अभ्यास करते हैं!

Statistical Thinking के केस स्टडीज़

Preparing Video For Download...