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

single

Challenge: Error Type Identification

Svep för att visa menyn

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.

Uppgift

Svep för att börja koda

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 desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 11
single

single

Fråga AI

expand

Fråga AI

ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

some-alt