eproc

Anytime-valid sequential testing and confidence sequences.
git clone git://git.ppad.tech/eproc.git
Log | Files | Refs | README | LICENSE

ppad-eproc.cabal (2393B)


      1 cabal-version:      3.0
      2 name:               ppad-eproc
      3 version:            0.4.1
      4 synopsis:           Anytime-valid sequential testing via e-processes.
      5 license:            MIT
      6 license-file:       LICENSE
      7 author:             Jared Tobin
      8 maintainer:         jared@ppad.tech
      9 category:           Statistics
     10 build-type:         Simple
     11 tested-with:        GHC == 9.10.3
     12 extra-doc-files:    CHANGELOG
     13 description:
     14   Anytime-valid sequential hypothesis testing and estimation for
     15   bounded random variables, via the e-process / betting framework of
     16   Waudby-Smith and Ramdas (2024). Provides bounded-mean, paired
     17   two-sample, and one- and two-sided Bernoulli rate tests with fixed,
     18   adaptive (aGRAPA), and online Newton bettors; anytime-valid p-values
     19   and e-values; uniform convex mixtures of e-processes; and
     20   time-uniform confidence sequences for bounded means.
     21 
     22 flag llvm
     23   description: Use GHC's LLVM backend.
     24   default:     False
     25   manual:      True
     26 
     27 source-repository head
     28   type:     git
     29   location: git.ppad.tech/eproc.git
     30 
     31 library
     32   default-language: Haskell2010
     33   hs-source-dirs:   lib
     34   ghc-options:
     35       -Wall
     36   if flag(llvm)
     37     ghc-options: -fllvm -O2
     38   exposed-modules:
     39       Numeric.Eproc.Bernoulli
     40       Numeric.Eproc.Bernoulli.TwoSided
     41       Numeric.Eproc.Bounded
     42       Numeric.Eproc.Common
     43       Numeric.Eproc.ConfSeq
     44       Numeric.Eproc.Mixture
     45       Numeric.Eproc.Paired
     46   build-depends:
     47       base >= 4.9 && < 5
     48 
     49 test-suite eproc-tests
     50   type:                exitcode-stdio-1.0
     51   default-language:    Haskell2010
     52   hs-source-dirs:      test
     53   main-is:             Main.hs
     54 
     55   ghc-options:
     56     -rtsopts -Wall -O2
     57 
     58   build-depends:
     59       base
     60     , ppad-eproc
     61     , tasty
     62     , tasty-hunit
     63     , tasty-quickcheck
     64 
     65 benchmark eproc-bench
     66   type:                exitcode-stdio-1.0
     67   default-language:    Haskell2010
     68   hs-source-dirs:      bench
     69   main-is:             Main.hs
     70 
     71   ghc-options:
     72     -rtsopts -O2 -Wall -fno-warn-orphans
     73   if flag(llvm)
     74     ghc-options: -fllvm
     75 
     76   build-depends:
     77       base
     78     , criterion
     79     , deepseq
     80     , ppad-eproc
     81 
     82 benchmark eproc-weigh
     83   type:                exitcode-stdio-1.0
     84   default-language:    Haskell2010
     85   hs-source-dirs:      bench
     86   main-is:             Weight.hs
     87 
     88   ghc-options:
     89     -rtsopts -O2 -Wall -fno-warn-orphans
     90   if flag(llvm)
     91     ghc-options: -fllvm
     92 
     93   build-depends:
     94       base
     95     , deepseq
     96     , ppad-eproc
     97     , weigh