Comprendere i calcoli statistici experiment-calculations

In questa pagina: Comprendi la metodologia statistica alla base degli esperimenti in Adobe Journey Optimizer, incluse sequenze di affidabilità valide in qualsiasi momento e affidabilità, che ti consentono di monitorare continuamente i risultati e determinare quando un esperimento è conclusivo.

Questo articolo descrive i calcoli statistici utilizzati quando si eseguono Esperimenti in Adobe Journey Optimizer.

La sperimentazione utilizza metodi statistici avanzati per calcolare sequenze di affidabilità e Affidabilità, che consentono di eseguire gli esperimenti per il tempo necessario e di monitorare continuamente i risultati.

Questo articolo descrive il funzionamento della sperimentazione e fornisce un’introduzione intuitiva alle sequenze di affidabilità valide in qualsiasi momento di Adobe.

Per gli utenti esperti, i dettagli tecnici e i riferimenti sono descritti in questa pagina.

Test statistici e controllo degli errori statistical-testing

Quando esegui un esperimento, stai cercando di determinare se c’è una differenza tra due popolazioni e la probabilità che la differenza sia dovuta al caso.

In generale ci sono due ipotesi:

  • l’ipotesi Null indica che non vi è alcun effetto sul trattamento.
  • l’ipotesi alternativa, che indica un effetto sul trattamento.

In termini di significatività statistica, l’obiettivo è quello di provare a valutare la forza delle prove per rifiutare l’ipotesi nulla. Un punto importante da notare è che la significatività statistica viene utilizzata per valutare la probabilità che i trattamenti siano diversi, non la probabilità che abbiano successo. Per questo motivo la rilevanza statistica viene utilizzata in combinazione con Incremento.

Una sperimentazione efficace richiede di prendere in considerazione diversi tipi di errori che potrebbero causare conclusioni errate.

La tabella precedente illustra i diversi tipi di errori:

  • Falsi positivi (errori di tipo I): sono un rifiuto errato dell’ipotesi nulla, quando in realtà è vera. Nel contesto degli esperimenti online, ciò significa che concludiamo erroneamente che la metrica di risultato è diversa tra ciascun trattamento, anche se era la stessa.
    Prima di eseguire l’esperimento, viene in genere selezionata una soglia \alpha. Dopo l’esecuzione dell’esperimento, p-value viene calcolato e null if p < \alpha viene rifiutato. La scelta di un \alpha si basa sulle conseguenze dell’ottenimento della risposta errata, ad esempio in una sperimentazione clinica in cui la vita di un utente potrebbe essere influenzata, è possibile decidere di avere un \alpha = 0.005. Una soglia comunemente utilizzata nella sperimentazione online è \alpha = 0.05, il che significa che nel lungo periodo ci aspettiamo che 5 esperimenti su 100 siano falsi positivi.

  • Falsi negativi (errori di tipo II): indica che non è possibile rifiutare l’ipotesi nulla, anche se è falsa. Per le sperimentazioni, questo significa che non respingiamo l’ipotesi nulla, quando in realtà è diversa. Per controllare questo tipo di errore, in genere è necessario disporre di un numero di utenti sufficiente nell’esperimento per garantire una determinata potenza, definita come 1 - \beta (ovvero uno meno la probabilità di un errore di tipo II).

La maggior parte delle tecniche di deduzione statistica richiede la correzione della dimensione del campione in anticipo, in base alla dimensione dell’effetto che si desidera determinare, nonché la tolleranza di errore (\alpha e \beta) in anticipo. Tuttavia, la metodologia di Adobe Journey Optimizer è progettata per consentire di esaminare continuamente i risultati, per qualsiasi dimensione di campione.

Metodologia statistica di Adobe: sequenze di affidabilità valide in qualsiasi momento

Una sequenza di affidabilità è un analogo sequenziale di un intervallo di affidabilità, ad esempio se si ripetono cento esperimenti e si calcola una stima della metrica media e della relativa sequenza con affidabilità al 95% per ogni nuovo utente che entra nell’esperimento. Una sequenza con affidabilità del 95% includerà il valore effettivo della metrica in 95 dei 100 esperimenti eseguiti. Un intervallo di affidabilità del 95% può essere calcolato una sola volta per esperimento al fine di fornire la stessa garanzia di copertura del 95%; non con ogni nuovo utente. Le sequenze di affidabilità consentono quindi di monitorare continuamente gli esperimenti, senza aumentare i tassi di errore di tipo falso positivo.

La differenza tra le sequenze di affidabilità e gli intervalli di affidabilità per un singolo esperimento è mostrata nell’animazione seguente:

Le sequenze di affidabilità spostano l’attenzione delle sperimentazioni sulla stima piuttosto che sulla verifica delle ipotesi, ovvero sulla stima accurata della differenza nelle medie tra i trattamenti, piuttosto che sul rifiuto o meno di un’ipotesi nulla basata su una soglia di significatività statistica.

Tuttavia, in modo simile alla relazione tra p-values o Affidabilità e Intervalli di affidabilità, esiste anche una relazione tra Sequenze di affidabilità e qualsiasi periodo di validità di p-values o qualsiasi periodo di validità di Affidabilità. Data la familiarità di quantità come Confidence (Affidabilità), Adobe fornisce sia le sequenze di affidabilità che qualsiasi periodo di validità Confidence (Affidabilità valida) nei suoi rapporti.

Le basi teoriche delle sequenze di affidabilità derivano dallo studio delle sequenze di variabili casuali note come martingales. Di seguito sono riportati alcuni risultati principali per gli esperti di lettura, ma i suggerimenti dei professionisti sono chiari:

NOTE
Le sequenze di affidabilità possono essere interpretate come analoghi sequenziali sicuri degli intervalli di affidabilità. Con gli intervalli di affidabilità puoi interpretare l’esperimento solo dopo aver raggiunto la dimensione del campione predeterminata. Tuttavia, con le sequenze di affidabilità è possibile esaminare e interpretare i dati negli esperimenti in qualsiasi momento e interrompere in modo sicuro o continuare gli esperimenti. Anche il valore di Affidabilità valida in qualsiasi momento, o p-value, corrispondente, può essere interpretato in modo sicuro in qualsiasi momento.

È importante notare che, poiché le sequenze di affidabilità sono “sempre valide”, saranno più prudenti di una metodologia di orizzonte fissa utilizzata alla stessa dimensione del campione. I limiti della sequenza di affidabilità sono generalmente più ampi di un calcolo dell’intervallo di affidabilità, mentre l’affidabilità valida per qualsiasi periodo di tempo sarà inferiore a un calcolo dell’affidabilità dell’orizzonte fisso. Il vantaggio di questo conservatorismo è che si può tranquillamente interpretare i risultati in ogni momento.

Dichiarare conclusivo un esperimento

Ogni volta che visualizzi il rapporto sulla sperimentazione, Adobe analizza i dati accumulati nell’esperimento fino a questo punto e dichiarerà un esperimento “Conclusivo” quando l’affidabilità valida supera una soglia del 95% per almeno uno dei trattamenti.

A questo punto, il trattamento che sta ottenendo il risultato migliore (in base al tasso di conversione o al valore della metrica normalizzata per il profilo) verrà evidenziato nella parte superiore della schermata del rapporto e indicato da una stella nel rapporto tabulare. Solo i trattamenti che hanno un’affidabilità superiore al 95%, insieme al basale, sono considerati in questa determinazione.

Quando sono presenti più di due trattamenti, il collegamento di correzione Bonferroni viene utilizzato per correggere problemi di confronto multipli e controlla il tasso di errore familiare. In questo scenario, è anche possibile che ci siano più trattamenti la cui affidabilità è superiore al 95% e i cui intervalli di affidabilità si sovrappongono. In questo caso, Adobe Journey Optimizer dichiarerà che quello con il tasso di conversione più alto (o con il valore della metrica normalizzata per il profilo) ha le prestazioni migliori.

AI Knowledge Reference

This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.

For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.

  • TL;DR: Experimentation in Adobe Journey Optimizer uses advanced statistical methods to calculate Confidence sequences and Confidence, which allow you to run your experiments for as long as needed and to monitor your results continuously, and to know when an experiment is conclusive.

Intents:

  • Understand the Null Hypothesis and the Alternative Hypothesis tested when you run an experiment.
  • Understand the False Positives (Type-I errors) and False Negatives (Type-II Errors) that effective experimentation takes into account.
  • Understand how Adobe Journey Optimizer’s methodology is designed to allow you to continuously look at your results, for any sample size.
  • Interpret Confidence Sequences and any time valid Confidence in the experimentation reports.
  • Know when Adobe declares an experiment to be “Conclusive” and how the best performing treatment is determined.

Glossary:

  • Null Hypothesis: The hypothesis that there is no effect to the treatment.
  • Alternative Hypothesis: The hypothesis that there is an effect to the treatment.
  • Statistical significance: Used to assess the strength of the evidence to reject the null hypothesis. It is used to judge how likely the treatments are to be different, not how likely they are to be successful, which is why it is used in combination with Lift.
  • False Positives (Type-I errors): An incorrect rejection of the null hypothesis, when in fact it is true. In online experiments, this means falsely concluding that the outcome metric is different between each treatment, though it was the same.
  • Threshold \alpha: A threshold typically picked before the experiment is run. After the experiment has run, the p-value is computed, and the null hypothesis is rejected if p < \alpha. Choosing \alpha is based on the consequences of getting the wrong answer.
  • False Negatives (Type-II Errors): Failing to reject the null hypothesis though it is false. To control this type of error, there generally need to be enough users in the experiment to guarantee a certain Power.
  • Power: Defined as 1 - \beta, that is one minus the probability of a type-II error.
  • Confidence Sequence: A sequential analog of a Confidence Interval. If you repeat your experiment one hundred times and calculate an estimate of the mean metric and its associated 95% Confidence Sequence for every new user that enters the experiment, a 95% Confidence Sequence includes the true value of the metric in 95 out of the 100 experiments. Confidence Sequences allow you to continuously monitor experiments, without increasing False Positive error rates, and shift the focus to accurate estimation of the difference in means between treatments rather than whether or not to reject a null hypothesis. Their theoretical foundations come from the study of sequences of random variables known as martingales.
  • Any time valid Confidence: It relates to Confidence Sequences in a similar manner to the relationship between p-values, or Confidence, and Confidence Intervals. Adobe provides both the Confidence Sequences and any time valid Confidence in its reports, and the any time valid Confidence is safe to interpret at any time.
  • Bonferroni correction: Used when there are more than two treatments to correct for multiple comparison problems; it controls the family-wise error rate.

Guardrails:

  • Adobe declares an experiment to be “Conclusive” when the anytime valid confidence crosses a threshold of 95% for at least one of the treatments.
  • Only treatments that have a confidence greater than 95%, along with the baseline, are considered when determining the best performing treatment.
  • Because confidence sequences are “any time valid”, they are more conservative than a fixed horizon methodology used at the same sample size: the confidence sequence’s bounds are generally wider than a confidence interval calculation, and the any time valid confidence is smaller than a fixed horizon confidence calculation.

Terminology:

  • Canonical name: Adobe Journey Optimizer — Acronym: AJO
  • Canonical name: Any time valid confidence sequences — variants: Any Time Valid Confidence Sequences, anytime valid confidence sequences
  • Canonical name: Any time valid Confidence — variants: Any Time Valid Confidence, anytime valid confidence
  • Canonical name: False Positives — variants: Type-I errors
  • Canonical name: False Negatives — variants: Type-II Errors, type-II error
  • Do not confuse: “Confidence Sequence” ≠ “Confidence Interval”. A 95% Confidence Interval could only be calculated once per experiment to give the same 95% coverage guarantee, and with confidence intervals you can only interpret the experiment once you have reached the predetermined sample size. With confidence sequences, you can look at and interpret data in your experiments any time you want.

FAQ:

  • Do I need to fix my sample size ahead of time? Most statistical inferencing techniques require it, but Adobe Journey Optimizer’s methodology is designed to allow you to continuously look at your results, for any sample size.
  • Can I stop or continue an experiment at any time? With confidence sequences, you can look at and interpret data in your experiments any time you want, and safely stop, or continue experiments.
  • When is an experiment declared “Conclusive”? Every time you view the experimentation report, Adobe analyzes the data accumulated in the experiment up to this point and declares it “Conclusive” when the anytime valid confidence crosses a threshold of 95% for at least one of the treatments.
  • How is the best performing treatment shown in the report? When the experiment is declared “Conclusive”, the treatment performing the best, based on the conversion rate or profile-normalized metric value, is highlighted at the top of the report screen and indicated with a star in the tabular report.
  • What happens when several treatments have a confidence greater than 95% and their confidence intervals overlap? When there are more than two treatments, multiple treatments can have a confidence greater than 95% with overlapping confidence intervals. In this case, Adobe Journey Optimizer declares the one with the highest conversion rate (or profile-normalized metric value) to be the best performer.
  • Does statistical significance tell me how likely a treatment is to be successful? No. Statistical significance is used to judge how likely the treatments are to be different, not how likely they are to be successful, which is why it is used in combination with Lift.

Examples:

  • Choosing the threshold \alpha: in a clinical trial where someone’s life could be affected, you might decide to have an \alpha = 0.005.
  • A commonly used threshold in online experimentation is \alpha = 0.05, which means that in the long run, 5 out of every 100 experiments are expected to be false positives.

Personas:

  • marketer: Can look at and interpret data in experiments any time, and safely stop, or continue experiments, with confidence sequences. When the experiment is declared Conclusive, can see the treatment which is performing the best highlighted at the top of the report screen. Can see that treatment indicated with a star in the tabular report. The page states that Adobe declares an experiment to be “Conclusive” when the anytime valid confidence crosses a threshold of 95% for at least one of the treatments. Where: “Declaring an experiment to be conclusive”.

Onboarding:

  • Level: Experienced
  • First minimal step: View the experimentation report.
  • Success check: Adobe declares the experiment to be “Conclusive”, and the treatment which is performing the best is highlighted at the top of the report screen.
recommendation-more-help
journey-optimizer-help