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

Data.Summary.Utils

Description

Utilities for data summaries.

Synopsis

intervalSource

Arguments

the confidence level

the sample mean

the sample standard error

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).

(0,1)

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

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