Safe Haskell | None |
---|---|
Language | Haskell98 |
Statistics.Test.Types
- data Test distr = Test {
- testSignificance :: !(PValue Double)
- testStatistics :: !Double
- testDistribution :: distr
- isSignificant :: PValue Double -> Test d -> TestResult
- data TestResult
- significant :: Bool -> TestResult
- data PositionTest
Documentation
Result of statistical test.
Constructors
Test | |
Fields
|
Instances
Functor Test # | |
Eq distr => Eq (Test distr) # | |
Data distr => Data (Test distr) # | |
Ord distr => Ord (Test distr) # | |
Show distr => Show (Test distr) # | |
Generic (Test distr) # | |
NFData d => NFData (Test d) # | |
ToJSON d => ToJSON (Test d) # | |
FromJSON d => FromJSON (Test d) # | |
Binary d => Binary (Test d) # | |
type Rep (Test distr) # | |
isSignificant :: PValue Double -> Test d -> TestResult #
Check whether test is significant for given p-value.
data TestResult #
Result of hypothesis testing
Constructors
Significant | Null hypothesis should be rejected |
NotSignificant | Data is compatible with hypothesis |
Instances
significant :: Bool -> TestResult #
significant if parameter is True
, not significant otherwiser
data PositionTest #
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. |