packages feed

differential 0.2.0.0 → 0.2.0.1

raw patch · 2 files changed

+2/−2 lines, 2 files

Files

differential.cabal view
@@ -1,5 +1,5 @@ name:                differential-version:             0.2.0.0+version:             0.2.0.1 synopsis:            Finds out whether an entity comes from different distributions (statuses). description:         Uses statistical tests to find whether an entity comes from one or two distributions. homepage:            http://github.com/GregorySchwartz/differential#readme
src/Utility.hs view
@@ -83,4 +83,4 @@     getFDRCritical _ Nothing     = Nothing     getFDRCritical rank (Just _) = Just . FDR $ alpha * (rank / m)     getQValue _ Nothing     = Nothing-    getQValue rank (Just (PValue p)) = Just . QValue $ p * (m / rank)+    getQValue rank (Just (PValue p)) = Just . QValue . min 1 $ p * (m / rank)