module Data.TDigest.Tree.Postprocess (
median,
quantile,
mean,
variance,
stddev,
cdf,
icdf,
) where
import Prelude ()
import Prelude.Compat
import Data.TDigest.Tree.Internal
import qualified Data.TDigest.Postprocess as PP
median :: 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 :: 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 :: 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 :: 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 :: 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 :: 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 :: Double -> TDigest comp -> Maybe Double
icdf :: Double -> TDigest comp -> Maybe Double
icdf = Double -> TDigest comp -> Maybe Double
forall (comp :: Nat). Double -> TDigest comp -> Maybe Double
quantile