ArticleslgStudy

mathematics

Sequential probability ratio test

Sequential probability ratio test is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Sequential probability ratio test rather than just read about it. In short: The sequential probability ratio test (SPRT) is a specific sequential hypothesis test, developed by Abraham Wald and later proven to be optimal by Wald and Jacob Wolfowitz. Neyman and Pearson's 1933 result inspired Wald to reformulate it as a sequential analysis problem.

Key takeaways

  • Sequential probability ratio test belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Sequential probability ratio test to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Sequential probability ratio test from memory before moving on to harder problems.

Reference excerpt

The sequential probability ratio test (SPRT) is a specific sequential hypothesis test, developed by Abraham Wald and later proven to be optimal by Wald and Jacob Wolfowitz. Neyman and Pearson's 1933 result inspired Wald to reformulate it as a sequential analysis problem. The Neyman-Pearson lemma, by contrast, offers a rule of thumb for when all the data is collected (and its likelihood ratio known). While originally developed for use in quality control studies in the realm of manufacturing, SPRT has been formulated for use in the computerized testing of human examinees as a termination criterion.

Theory As in classical hypothesis testing, SPRT starts with a pair of hypotheses, say H0 and H1 for the null hypothesis and alternative hypothesis respectively. They must be specified as follows:

H0:p=p0 H1:p=p1 The next step is to calculate the cumulative sum of the log-likelihood ratio, log⁡Λi, as new data arrive: with S0=0, then, for i=1,2,...,

Si=Si−1+log⁡Λi The stopping rule is a simple thresholding scheme:

a<Si<b: continue monitoring (critical inequality) Si≥b: Accept H1 Si≤a: Accept H0 where a and b (a<0<b<∞) depend on the desired type I and type II errors, α and β. They may be chosen as follows: a≈log⁡β1−α and b≈log⁡1−βα In other words, α and β must be decided beforehand in order to set the thresholds appropriately. The numerical value will depend on the application. The reason for being only an approximation is that, in the discrete case, the signal may cross the threshold between samples. Thus, depending on the penalty of making an error and the sampling frequency, one might set the thresholds more aggressively. The exact bounds are correct in the continuous case.

Example A textbook example is parameter estimation of a probability distribution function. Consider the exponential distribution:

fθ(x)=θ−1e−xθ,x,θ>0 The hypotheses are

{H0:θ=θ0H1:θ=θ1θ1>θ0. Then the log-likelihood function (LLF) for one sample is

log⁡Λ(x)=log⁡(θ1−1e−xθ1θ0−1e−xθ0)=log⁡(θ0θ1exθ0−xθ1)=log⁡(θ0θ1)+log⁡(exθ0−xθ1)=−log⁡(θ1θ0)+(xθ0−xθ1)=−log⁡(θ1θ0)+(θ1−θ0θ0θ1)x The cumulative sum of the LLFs for all x is

Sn=∑i=1nlog⁡Λ(xi)=−nlog⁡(θ1θ0)+(θ1−θ0θ0θ1)∑i=1nxi Accordingly, the stopping rule is:

a<−nlog⁡(θ1θ0)+(θ1−θ0θ0θ1)∑i=1nxi<b After re-arranging we finally find

a+nlog⁡(θ1θ0)<(θ1−θ0θ0θ1)∑i=1nxi<b+nlog⁡(θ1θ0) The thresholds are simply two parallel lines with slope log⁡(θ1/θ0). Sampling should stop when the sum of the samples makes an excursion outside the continue-sampling region.

Applications

Manufacturing The test is done on the proportion metric, and tests that a variable p is equal to one of two desired points, p1 or p2. The region between these two points is known as the indifference region (IR). For example, suppose you are performing a quality control study on a factory lot of widgets. Management would like the lot to have 3% or less defective widgets, but 1% or less is the ideal lot that would pass with flying colors. In this example, p1 = 0.01 and p2 = 0.03 and the region between them is the IR because management considers these lots to be marginal and is OK with them being classified either way. Widgets would be sampled one at a time from the lot (sequential analysis) until the test determines, within an acceptable error level, that the lot is ideal or should be rejected.

Testing of human examinees The SPRT is currently the predominant method of classifying examinees in a variable-length computerized classification test (CCT). The two parameters are p1 and p2 are specified by determining a cutscore (threshold) for examinees on the proportion correct metric, and selecting a point above and below that cutscore. For instance, suppose the cutscore is set at 70% for a test. We could select p1 = 0.65 and p2 = 0.75 . The test then evaluates the likelihood that an examinee's true score on that metric is equal to one of those two points. If the examinee is determined to be at 75%, they pass, and they fail if they are determined to be at 65%. These points are not specified completely arbitrarily. A cutscore should always be set with a legally defensible method, such as a modified Angoff procedure. Again, the indifference region represents the region of scores that the test designer is OK with going either way (pass or fail). The upper parameter p2 is conceptually the highest level that the test designer is willing to accept for a Fail (because everyone below it has a good chance of failing), and the lower parameter p1 is the lowest level that the test designer is willing to accept for a pass (because everyone above it has a decent chance of passing). While this definition may seem to be a relatively small burden, consider the high-stakes case of a licensing test for medical doctors: at just what point should we consider somebody to be at one of these two levels? While the SPRT was first applied to testing in the days of classical test theory, as is applied in the previous paragraph, Reckase (1983) suggested that item response theory be used to determine the p1 and p2 parameters. The cutscore and indifference region are defined on the latent ability (theta) metric, and translated onto the proportion metric for computation. Research on CCT since then has applied this methodology for several reasons:

Large item banks tend to be calibrated with IRT This allows more accurate specification of the parameters By using the item response function for each item, the parameters are easily allowed to vary between items.

Detection of anomalous medical outcomes Spiegelhalter et al. have shown that SPRT can be used to monitor the performance of doctors, surgeons and other medical practitioners in such a way as to give early warning of potentially anomalous results. They showed how it could have helped identify Harold Shipman as a murderer well before he was actually identified.

Extensions

MaxSPRT More recently, in 2011, an extension of the SPRT method called Maximized Sequential Probability Ratio Test (MaxSPRT) was introduced. The salient feature of MaxSPRT is the allowance of a composite, one-sided alternative hypothesis, and the introduction of an upper stopping boundary. The method has been used in several medical research studies.

See also CUSUM Computerized classification test Wald test Likelihood-ratio test

References

Further reading Ghosh, Bhaskar Kumar (1970). Sequential Tests of Statistical Hypotheses. Reading: Addison-Wesley. Holger Wilker: Sequential-Statistik in der Praxis, BoD, Norderstedt 2012, ISBN 978-3848232529.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Sequential probability ratio test

Start with the simplest possible case. Write down what Sequential probability ratio test claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Sequential probability ratio test before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Sequential probability ratio test ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Sequential probability ratio test

In research
Sequential probability ratio test appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Sequential probability ratio test in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Sequential probability ratio test is common in secondary-school and first-year university syllabi. It links to neighbouring topics Mathematical psychology, Sequential methods, Statistical tests, so understanding it makes those chapters shorter.
In everyday life
Look for Sequential probability ratio test outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Sequential probability ratio test” →

How to study Sequential probability ratio test in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Sequential probability ratio test means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Sequential probability ratio test out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Sequential probability ratio test in simple terms?

The sequential probability ratio test (SPRT) is a specific sequential hypothesis test, developed by Abraham Wald and later proven to be optimal by Wald and Jacob Wolfowitz. Neyman and Pearson's 1933 result inspired Wald to reformulate it as a sequential analysis problem.

Why does Sequential probability ratio test matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Sequential probability ratio test?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Sequential probability ratio test.

Tags

  • Mathematical psychology
  • Sequential methods
  • Statistical tests

Keep exploring