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

single

Challenge: Error Type Identification

Stryg for at vise menuen

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.

Opgave

Swipe to start coding

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.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 11
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

some-alt