Portability | GHC |
---|---|
Stability | experimental |
Maintainer | bos@serpentine.com |
Safe Haskell | None |
Analysis code for benchmarks.
- data Outliers = Outliers {
- samplesSeen :: !Int64
- lowSevere :: !Int64
- lowMild :: !Int64
- highMild :: !Int64
- highSevere :: !Int64
- data OutlierEffect
- = Unaffected
- | Slight
- | Moderate
- | Severe
- data OutlierVariance = OutlierVariance {}
- data SampleAnalysis = SampleAnalysis {}
- analyseSample :: Double -> Sample -> Int -> IO SampleAnalysis
- scale :: Double -> SampleAnalysis -> SampleAnalysis
- analyseMean :: Sample -> Int -> Criterion Double
- countOutliers :: Outliers -> Int64
- classifyOutliers :: Sample -> Outliers
- noteOutliers :: Outliers -> Criterion ()
- outlierVariance :: Estimate -> Estimate -> Double -> OutlierVariance
Documentation
Outliers from sample data, calculated using the boxplot technique.
Outliers | |
|
data OutlierEffect Source
A description of the extent to which outliers in the sample data affect the sample mean and standard deviation.
Unaffected | Less than 1% effect. |
Slight | Between 1% and 10%. |
Moderate | Between 10% and 50%. |
Severe | Above 50% (i.e. measurements are useless). |
data OutlierVariance Source
Analysis of the extent to which outliers in a sample affect its standard deviation (and to some extent, its mean).
OutlierVariance | |
|
data SampleAnalysis Source
Result of a bootstrap analysis of a non-parametric sample.
:: Double | Confidence interval (between 0 and 1). |
-> Sample | Sample data. |
-> Int | Number of resamples to perform when bootstrapping. |
-> IO SampleAnalysis |
Perform a bootstrap analysis of a non-parametric sample.
:: Double | Value to multiply by. |
-> SampleAnalysis | |
-> SampleAnalysis |
Multiply the Estimate
s in an analysis by the given value, using
scale
.
Display the mean of a Sample
, and characterise the outliers
present in the sample.
countOutliers :: Outliers -> Int64Source
Count the total number of outliers in a sample.
classifyOutliers :: Sample -> OutliersSource
Classify outliers in a data set, using the boxplot technique.
:: Estimate | Bootstrap estimate of sample mean. |
-> Estimate | Bootstrap estimate of sample standard deviation. |
-> Double | Number of original iterations. |
-> OutlierVariance |
Compute the extent to which outliers in the sample data affect the sample mean and standard deviation.