monte-carlo-0.3.1: A monad and transformer for Monte Carlo calculations.

Stabilityexperimental
MaintainerPatrick Perry <patperry@gmail.com>

Data.Summary.Utils

Description

Utilities for data summaries.

Synopsis

Documentation

intervalSource

Arguments

:: Double

the confidence level

-> Double

the sample mean

-> Double

the sample standard error

-> (Double, Double) 

Get a Central Limit Theorem-based confidence interval for the population mean with the specified coverage level. The level must be in the range (0,1).

inInterval :: Double -> (Double, Double) -> BoolSource

Tests if the value is in the open interval (a,b)