multipass-0.1.0.2: Folding data with multiple named passes

Safe Haskell None

Data.Pass.L

Synopsis

# Documentation

data L a b whereSource

An L-Estimator represents a linear combination of order statistics

Constructors

 LTotal :: (Num a, Ord a) => L a a LMean :: (Fractional a, Ord a) => L a a LScale :: (Fractional a, Ord a) => L a a NthLargest :: (Num a, Ord a) => Int -> L a a NthSmallest :: (Num a, Ord a) => Int -> L a a QuantileBy :: (Fractional a, Ord a) => Estimator -> Rational -> L a a Winsorized :: (Fractional b, Ord b) => Rational -> L a b -> L a b Trimmed :: (Fractional b, Ord b) => Rational -> L a b -> L a b Jackknifed :: (Fractional b, Ord b) => L a b -> L a b :* :: Fractional b => Rational -> L a b -> L a b :+ :: Num b => L a b -> L a b -> L a b

Instances

 Typeable2 L By L Named L Naive L Eval L Robust L Accelerated L Eq (L a b) Show (L a b) Hashable (L a b)

getL :: (Fractional a, Ord a) => Get (L a a)Source

callL :: L a b -> Int -> IntMap bSource

ordL :: L a b -> ((Ord b, Num b) => r) -> rSource

eqL :: L a b -> p a -> p bSource

selectM :: (Num a, Ord a) => IntMap a -> [a] -> aSource

breakdown :: (Num b, Eq b) => L a b -> IntSource

A common measure of how robust an L estimator is in the presence of outliers.

(@#) :: Num a => L a a -> Int -> [a]Source

`f @# n` Return a list of the coefficients that would be used by an L-Estimator for an input of length `n`