packages feed

statistics-0.16.0.0: statistics.cabal

name:           statistics
version:        0.16.0.0
synopsis:       A library of statistical types, data, and functions
description:
  This library provides a number of common functions and types useful
  in statistics.  We focus on high performance, numerical robustness,
  and use of good algorithms.  Where possible, we provide
  references to the statistical literature.
  .
  The library's facilities can be divided into four broad categories:
  .
  * Working with widely used discrete and continuous probability
    distributions.  (There are dozens of exotic distributions in use;
    we focus on the most common.)
  .
  * Computing with sample data: quantile estimation, kernel density
    estimation, histograms, bootstrap methods, significance testing,
    and regression and autocorrelation analysis.
  .
  * Random variate generation under several different distributions.
  .
  * Common statistical tests for significant differences between
    samples.

license:        BSD2
license-file:   LICENSE
homepage:       https://github.com/haskell/statistics
bug-reports:    https://github.com/haskell/statistics/issues
author:         Bryan O'Sullivan <bos@serpentine.com>, Alexey Khudaykov <alexey.skladnoy@gmail.com>
maintainer:     Alexey Khudaykov <alexey.skladnoy@gmail.com>
copyright:      2009-2014 Bryan O'Sullivan
category:       Math, Statistics
build-type:     Simple
cabal-version:  >= 1.10
extra-source-files:
  README.markdown
  benchmark/bench.hs
  changelog.md
  examples/kde/KDE.hs
  examples/kde/data/faithful.csv
  examples/kde/kde.html
  examples/kde/kde.tpl
  tests/Tests/Math/Tables.hs
  tests/Tests/Math/gen.py
  tests/utils/Makefile
  tests/utils/fftw.c

tested-with:
    GHC ==8.0.2
     || ==8.2.2
     || ==8.4.4
     || ==8.6.5
     || ==8.8.4
     || ==8.10.7
     || ==9.0.1
     || ==9.2.1

library
  default-language: Haskell2010
  exposed-modules:
    Statistics.Autocorrelation
    Statistics.ConfidenceInt
    Statistics.Correlation
    Statistics.Correlation.Kendall
    Statistics.Distribution
    Statistics.Distribution.Beta
    Statistics.Distribution.Binomial
    Statistics.Distribution.CauchyLorentz
    Statistics.Distribution.ChiSquared
    Statistics.Distribution.DiscreteUniform
    Statistics.Distribution.Exponential
    Statistics.Distribution.FDistribution
    Statistics.Distribution.Gamma
    Statistics.Distribution.Geometric
    Statistics.Distribution.Hypergeometric
    Statistics.Distribution.Laplace
    Statistics.Distribution.Lognormal
    Statistics.Distribution.Normal
    Statistics.Distribution.Poisson
    Statistics.Distribution.StudentT
    Statistics.Distribution.Transform
    Statistics.Distribution.Uniform
    Statistics.Distribution.Weibull
    Statistics.Function
    Statistics.Quantile
    Statistics.Regression
    Statistics.Resampling
    Statistics.Resampling.Bootstrap
    Statistics.Sample
    Statistics.Sample.Internal
    Statistics.Sample.Histogram
    Statistics.Sample.KernelDensity
    Statistics.Sample.KernelDensity.Simple
    Statistics.Sample.Normalize
    Statistics.Sample.Powers
    Statistics.Test.ChiSquared
    Statistics.Test.KolmogorovSmirnov
    Statistics.Test.KruskalWallis
    Statistics.Test.MannWhitneyU
--    Statistics.Test.Runs
    Statistics.Test.StudentT
    Statistics.Test.Types
    Statistics.Test.WilcoxonT
    Statistics.Transform
    Statistics.Types
  other-modules:
    Statistics.Distribution.Poisson.Internal
    Statistics.Internal
    Statistics.Test.Internal
    Statistics.Types.Internal
  build-depends: base                    >= 4.9 && < 5
                 --
               , math-functions          >= 0.3.4.1
               , mwc-random              >= 0.15.0.0
               , random                  >= 1.2
                 --
               , aeson                   >= 0.6.0.0
               , async                   >= 2.2.2 && <2.3
               , deepseq                 >= 1.1.0.2
               , binary                  >= 0.5.1.0
               , primitive               >= 0.3
               , dense-linear-algebra    >= 0.1 && <0.2
               , vector                  >= 0.10
               , vector-algorithms       >= 0.4
               , vector-th-unbox
               , vector-binary-instances >= 0.2.1
               , data-default-class      >= 0.1.2
  if !impl(ghcjs)
    build-depends:
      monad-par               >= 0.3.4
  -- Older GHC
  if impl(ghc < 7.6)
    build-depends:
      ghc-prim
  ghc-options: -O2 -Wall -fwarn-tabs -funbox-strict-fields

test-suite statistics-tests
  default-language: Haskell2010
  type:           exitcode-stdio-1.0
  hs-source-dirs: tests
  main-is:        tests.hs
  other-modules:
    Tests.ApproxEq
    Tests.Correlation
    Tests.Distribution
    Tests.Function
    Tests.Helpers
    Tests.KDE
    Tests.Matrix
    Tests.Matrix.Types
    Tests.NonParametric
    Tests.NonParametric.Table
    Tests.Orphanage
    Tests.Parametric
    Tests.Serialization
    Tests.Transform
    Tests.Quantile
  ghc-options:
    -Wall -threaded -rtsopts -fsimpl-tick-factor=500
  build-depends: base
               , statistics
               , dense-linear-algebra
               , QuickCheck >= 2.7.5
               , binary
               , erf
               , aeson
               , ieee754 >= 0.7.3
               , math-functions
               , primitive
               , tasty
               , tasty-hunit
               , tasty-quickcheck
               , tasty-expected-failure
               , vector
               , vector-algorithms

source-repository head
  type:     git
  location: https://github.com/haskell/statistics