order-statistics 0.1 → 0.1.0.2
raw patch · 3 files changed
+13/−7 lines, 3 filesdep ~containers
Dependency ranges changed: containers
Files
- .travis.yml +1/−0
- Statistics/Order.hs +8/−5
- order-statistics.cabal +4/−2
+ .travis.yml view
@@ -0,0 +1,1 @@+language: haskell
Statistics/Order.hs view
@@ -21,11 +21,11 @@ , (@#) , breakdown -- ** Robust L-Estimators- , trimean -- Tukey's trimean- , midhinge -- average of q1 and q3- , iqr -- interquartile range- , iqm -- interquartile mean- , lscale -- second L-moment+ , trimean -- Tukey's trimean+ , midhinge -- average of q1 and q3+ , iqr -- interquartile range+ , iqm -- interquartile mean+ , lscale -- second L-moment -- ** L-Estimator Combinators , trimmed , winsorized, winsorised@@ -69,6 +69,9 @@ -- | L-estimators are linear combinations of order statistics used by 'robust' statistics. newtype L r = L { runL :: Int -> IntMap r }++-- TODO: Write code to test if the result of a given L-estimator will be always than or equal +-- to the result of another L-estimator at a given sample size. -- | Calculate the result of applying an L-estimator after sorting list into order statistics (@@) :: (Num r, Ord r) => L r -> [r] -> r
order-statistics.cabal view
@@ -1,6 +1,6 @@ name: order-statistics category: Statistics-version: 0.1+version: 0.1.0.2 license: BSD3 cabal-version: >= 1.6 license-file: LICENSE@@ -8,10 +8,12 @@ maintainer: Edward A. Kmett <ekmett@gmail.com> stability: provisional homepage: http://github.com/ekmett/order-statistics/+bug-reports: http://github.com/ekmett/order-statistics/issues copyright: Copyright (C) 2012 Edward A. Kmett synopsis: L-Estimators for robust statistics description: L-Estimators for robust statistics build-type: Simple+extra-source-files: .travis.yml source-repository head type: git@@ -27,7 +29,7 @@ math-functions >= 0.1.1 && < 0.2, vector >= 0.9.1 && < 0.10, vector-space >= 0.8 && < 0.9,- containers >= 0.3 && < 0.5+ containers >= 0.3 && < 0.6 exposed-modules: Statistics.Distribution.Beta