statistics-0.16.1.2: A library of statistical types, data, and functions
Safe Haskell None
Language Haskell2010

Statistics.Test.Types

Synopsis

Documentation

data Test distr Source #

Result of statistical test.

Constructors

Test

Fields

Instances

Instances details
Functor Test Source #
Instance details

Defined in Statistics.Test.Types

Eq distr => Eq ( Test distr) Source #
Instance details

Defined in Statistics.Test.Types

Data distr => Data ( Test distr) Source #
Instance details

Defined in Statistics.Test.Types

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Test distr -> c ( Test distr) Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ( Test distr) Source #

toConstr :: Test distr -> Constr Source #

dataTypeOf :: Test distr -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ( Test distr)) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ( Test distr)) Source #

gmapT :: ( forall b. Data b => b -> b) -> Test distr -> Test distr Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Test distr -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Test distr -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Test distr -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Test distr -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Test distr -> m ( Test distr) Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Test distr -> m ( Test distr) Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Test distr -> m ( Test distr) Source #

Ord distr => Ord ( Test distr) Source #
Instance details

Defined in Statistics.Test.Types

Show distr => Show ( Test distr) Source #
Instance details

Defined in Statistics.Test.Types

Generic ( Test distr) Source #
Instance details

Defined in Statistics.Test.Types

Associated Types

type Rep ( Test distr) :: Type -> Type Source #

ToJSON d => ToJSON ( Test d) Source #
Instance details

Defined in Statistics.Test.Types

FromJSON d => FromJSON ( Test d) Source #
Instance details

Defined in Statistics.Test.Types

Binary d => Binary ( Test d) Source #
Instance details

Defined in Statistics.Test.Types

NFData d => NFData ( Test d) Source #
Instance details

Defined in Statistics.Test.Types

Methods

rnf :: Test d -> () Source #

type Rep ( Test distr) Source #
Instance details

Defined in Statistics.Test.Types

isSignificant :: PValue Double -> Test d -> TestResult Source #

Check whether test is significant for given p-value.

data TestResult Source #

Result of hypothesis testing

Constructors

Significant

Null hypothesis should be rejected

NotSignificant

Data is compatible with hypothesis

Instances

Instances details
Eq TestResult Source #
Instance details

Defined in Statistics.Test.Types

Data TestResult Source #
Instance details

Defined in Statistics.Test.Types

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> TestResult -> c TestResult Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c TestResult Source #

toConstr :: TestResult -> Constr Source #

dataTypeOf :: TestResult -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c TestResult ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c TestResult ) Source #

gmapT :: ( forall b. Data b => b -> b) -> TestResult -> TestResult Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> TestResult -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> TestResult -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> TestResult -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> TestResult -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> TestResult -> m TestResult Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> TestResult -> m TestResult Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> TestResult -> m TestResult Source #

Ord TestResult Source #
Instance details

Defined in Statistics.Test.Types

Show TestResult Source #
Instance details

Defined in Statistics.Test.Types

Generic TestResult Source #
Instance details

Defined in Statistics.Test.Types

ToJSON TestResult Source #
Instance details

Defined in Statistics.Test.Types

FromJSON TestResult Source #
Instance details

Defined in Statistics.Test.Types

Binary TestResult Source #
Instance details

Defined in Statistics.Test.Types

NFData TestResult Source #
Instance details

Defined in Statistics.Test.Types

type Rep TestResult Source #
Instance details

Defined in Statistics.Test.Types

type Rep TestResult = D1 (' MetaData "TestResult" "Statistics.Test.Types" "statistics-0.16.1.2-IkOne9g3oJ1vhHVSRLPUO" ' False ) ( C1 (' MetaCons "Significant" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "NotSignificant" ' PrefixI ' False ) ( U1 :: Type -> Type ))

significant :: Bool -> TestResult Source #

significant if parameter is True , not significant otherwise

data PositionTest Source #

Test type for test which compare positional (mean,median etc.) information of samples.

Constructors

SamplesDiffer

Test whether samples differ in position. Null hypothesis is samples are not different

AGreater

Test if first sample (A) is larger than second (B). Null hypothesis is first sample is not larger than second.

BGreater

Test if second sample is larger than first.

Instances

Instances details
Eq PositionTest Source #
Instance details

Defined in Statistics.Test.Types

Data PositionTest Source #
Instance details

Defined in Statistics.Test.Types

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> PositionTest -> c PositionTest Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c PositionTest Source #

toConstr :: PositionTest -> Constr Source #

dataTypeOf :: PositionTest -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c PositionTest ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c PositionTest ) Source #

gmapT :: ( forall b. Data b => b -> b) -> PositionTest -> PositionTest Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> PositionTest -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> PositionTest -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> PositionTest -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> PositionTest -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> PositionTest -> m PositionTest Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> PositionTest -> m PositionTest Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> PositionTest -> m PositionTest Source #

Ord PositionTest Source #
Instance details

Defined in Statistics.Test.Types

Show PositionTest Source #
Instance details

Defined in Statistics.Test.Types

Generic PositionTest Source #
Instance details

Defined in Statistics.Test.Types

ToJSON PositionTest Source #
Instance details

Defined in Statistics.Test.Types

FromJSON PositionTest Source #
Instance details

Defined in Statistics.Test.Types

Binary PositionTest Source #
Instance details

Defined in Statistics.Test.Types

NFData PositionTest Source #
Instance details

Defined in Statistics.Test.Types

type Rep PositionTest Source #
Instance details

Defined in Statistics.Test.Types

type Rep PositionTest = D1 (' MetaData "PositionTest" "Statistics.Test.Types" "statistics-0.16.1.2-IkOne9g3oJ1vhHVSRLPUO" ' False ) ( C1 (' MetaCons "SamplesDiffer" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "AGreater" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "BGreater" ' PrefixI ' False ) ( U1 :: Type -> Type )))