| 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 Source # | |
| Eq distr => Eq (Test distr) Source # | |
| Data distr => Data (Test distr) Source # | |
| Ord distr => Ord (Test distr) Source # | |
| Show distr => Show (Test distr) Source # | |
| Generic (Test distr) Source # | |
| NFData d => NFData (Test d) Source # | |
| ToJSON d => ToJSON (Test d) Source # | |
| FromJSON d => FromJSON (Test d) Source # | |
| Binary d => Binary (Test d) Source # | |
| type Rep (Test distr) Source # | |
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 |
significant :: Bool -> TestResult Source #
significant if parameter is True, not significant otherwiser
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. |