Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Error Type Identification | s1
A/B Testing with Python
Section 1. Chapitre 11
single

single

Challenge: Error Type Identification

Glissez pour afficher le menu

When you conduct an A/B test, your goal is to determine whether a new variant (B) is truly different from the control (A) based on the data you collect. However, your conclusion can be incorrect for two main reasons: you might detect a difference when there is none (Type I error, or "false positive"), or you might miss a real difference (Type II error, or "false negative"). To identify which error - if any - has occurred, you must compare the real-world truth (whether a true effect exists) with the outcome of your statistical test (whether you declared a significant effect).

If your test finds a significant result when no real effect exists, you have made a Type I error. If your test fails to find a significant result when a real effect does exist, you have made a Type II error. If your conclusion matches the reality (either correctly detecting a real effect or correctly concluding there is none), you have made a correct decision. Understanding these scenarios is crucial for interpreting the practical implications of your tests and for making informed business decisions based on your findings.

Tâche

Glissez pour commencer à coder

Given the true underlying effect of a variant (true_effect) and the observed outcome of your statistical test (observed_significance), classify the result as either a correct decision, a Type I error, or a Type II error.

  • Return "Correct Decision" if the observed significance matches the true effect.
  • Return "Type I Error" if a significant result is observed when there is no true effect.
  • Return "Type II Error" if no significant result is observed when there is a true effect.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 11
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

some-alt