module Data.TDigest.Vector.Postprocess (
median,
quantile,
mean,
variance,
stddev,
cdf,
icdf,
) where
import GHC.TypeLits (KnownNat)
import Prelude ()
import Prelude.Compat
import Data.TDigest.Vector.Internal
import qualified Data.TDigest.Postprocess as PP
median :: KnownNat comp => TDigest comp -> Maybe Double
median :: TDigest comp -> Maybe Double
median = TDigest comp -> Maybe Double
forall a (f :: * -> *). HasHistogram a f => a -> f Double
PP.median
quantile :: KnownNat comp => Double -> TDigest comp -> Maybe Double
quantile :: Double -> TDigest comp -> Maybe Double
quantile = Double -> TDigest comp -> Maybe Double
forall a (f :: * -> *). HasHistogram a f => Double -> a -> f Double
PP.quantile
mean :: KnownNat comp => TDigest comp -> Maybe Double
mean :: TDigest comp -> Maybe Double
mean = TDigest comp -> Maybe Double
forall a (f :: * -> *). HasHistogram a f => a -> f Double
PP.mean
variance :: KnownNat comp => TDigest comp -> Maybe Double
variance :: TDigest comp -> Maybe Double
variance = TDigest comp -> Maybe Double
forall a (f :: * -> *). HasHistogram a f => a -> f Double
PP.variance
stddev :: KnownNat comp => TDigest comp -> Maybe Double
stddev :: TDigest comp -> Maybe Double
stddev = TDigest comp -> Maybe Double
forall a (f :: * -> *). HasHistogram a f => a -> f Double
PP.stddev
cdf :: KnownNat comp => Double -> TDigest comp -> Double
cdf :: Double -> TDigest comp -> Double
cdf = Double -> TDigest comp -> Double
forall a (f :: * -> *). HasHistogram a f => Double -> a -> Double
PP.cdf
icdf :: KnownNat comp => Double -> TDigest comp -> Maybe Double
icdf :: Double -> TDigest comp -> Maybe Double
icdf = Double -> TDigest comp -> Maybe Double
forall (comp :: Nat).
KnownNat comp =>
Double -> TDigest comp -> Maybe Double
quantile