What does "Error-Spending Function" mean?

Definition of Error-Spending Function in the context of A/B testing (online controlled experiments).

What is an Error-Spending Function?

An error-spending function is a function that governs the cumulative type I or type II error that is "spent" at each analysis time during a sequential testing online experiment. A function that governs the rate at which the type I error (alpha) is spent is called and Alpha-Spending while one which controls the rate at which the type II error (beta) is spent is called Beta-Spending. An AGILE A/B test is an example for an approach that employs both Alpha- and Beta-Spending functions.

Error spending functions were developed in the 1980s by Lan, Kim and DeMets to address the issue of approaches that relied on fixed data evaluation times that were too inflexible to meet real-world demands in most practical situations. The advantage of having a spending function over the whole duration of an experiment is that an evaluation can be performed pretty much at will with no or minimum impact on the relevant error rate.

While there are spending functions that mimic established procedures for fixed-time analyses: O'Brien-Fleming type, Pocock-type, etc., other spending functions have also been developed to cover all possible needs, such as the Kim & DeMets power function and the Shih, Hwang & De Cani function.

Like this glossary entry? For an in-depth and comprehensive reading on A/B testing stats, check out the book "Statistical Methods in Online A/B Testing" by the author of this glossary, Georgi Georgiev.

Articles on Error-Spending Function

Error Spending in Sequential Testing Explained
blog.analytics-toolkit.com

20-80% Faster A/B Tests? Is it real?
blog.analytics-toolkit.com

Efficient A/B Testing in Conversion Rate Optimization: The AGILE Statistical Method
www.analytics-toolkit.com

Related A/B Testing terms

alphabetaAGILE A/B TestAlpha-SpendingBeta-Spending

See this in action

A/B Testing CalculatorA/B Testing Calculator

About the author

Georgi Z. Georgiev

Georgi has over twenty years of experience in online marketing, web analytics, statistics, and design of business experiments.

Author of the book "Statistical Methods in Online A/B Testing", white papers on statistical analysis of A/B tests, and a speaker, he has been distinguished as a winner in the Data & Analytics category of the 2024 Experimentation Thought Leadership Awards.

Purchase Statistical Methods in Online A/B Testing

Statistical Methods in Online A/B Testing

Take your A/B testing program to the next level with the most comprehensive book on user testing statistics in e-commerce.

Learn more

Glossary index by letter

Select a letter to see all A/B testing terms starting with that letter or visit the Glossary homepage to see all.