Skip to content

SPRT LLR calculation #34

@sethtroisi

Description

@sethtroisi

I'm writing SPRT calculator and I'm confused by the sprt math.

I wrote up the three methods I know in this gist
LLF = my optimized version
wiki = my take on likelihood-ratio_test
LLR = the code from leela-zero-server

Other links:
https://www.chessprogramming.org/Match_Statistics#SPRT
^ uses similar math to this repo but with draws
^ draws it's justification from http://hardy.uhasselt.be/Toga/GSPRT_approximation.pdf

https://nowak.ece.wisc.edu/ece830/ece830_fall11_lecture9.pdf
^ maybe I'm misunderstanding p0(x) and p1(x)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions