Lably
Skip to content

Sequential probability ratio test

  • 4 min read
  • 4 chapters

Related on Lably

Through Statistical hypothesis test, Type I and type II errors and Parallel (geometry)

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.

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Statistics