statistics-0.13.3.0: A library of statistical types, data, and functions

Copyright(c) 2009 2011 Bryan O'Sullivan
LicenseBSD3
Maintainerbos@serpentine.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Statistics.Resampling.Bootstrap

Contents

Description

The bootstrap method for statistical inference.

Synopsis

Documentation

data Estimate #

A point and interval estimate computed via an Estimator.

Constructors

Estimate 

Fields

Instances

Eq Estimate # 
Data Estimate # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Estimate -> c Estimate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Estimate #

toConstr :: Estimate -> Constr #

dataTypeOf :: Estimate -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Estimate) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Estimate) #

gmapT :: (forall b. Data b => b -> b) -> Estimate -> Estimate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Estimate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Estimate -> r #

gmapQ :: (forall d. Data d => d -> u) -> Estimate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Estimate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Estimate -> m Estimate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Estimate -> m Estimate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Estimate -> m Estimate #

Read Estimate # 
Show Estimate # 
Generic Estimate # 

Associated Types

type Rep Estimate :: * -> * #

Methods

from :: Estimate -> Rep Estimate x #

to :: Rep Estimate x -> Estimate #

NFData Estimate # 

Methods

rnf :: Estimate -> () #

ToJSON Estimate # 
FromJSON Estimate # 
Binary Estimate # 

Methods

put :: Estimate -> Put #

get :: Get Estimate #

putList :: [Estimate] -> Put #

type Rep Estimate # 
type Rep Estimate = D1 (MetaData "Estimate" "Statistics.Resampling.Bootstrap" "statistics-0.13.3.0-5G6LnnwwEAsBXhZQyOoIJ5" False) (C1 (MetaCons "Estimate" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "estPoint") SourceUnpack SourceStrict DecidedUnpack) (Rec0 Double)) (S1 (MetaSel (Just Symbol "estLowerBound") SourceUnpack SourceStrict DecidedUnpack) (Rec0 Double))) ((:*:) (S1 (MetaSel (Just Symbol "estUpperBound") SourceUnpack SourceStrict DecidedUnpack) (Rec0 Double)) (S1 (MetaSel (Just Symbol "estConfidenceLevel") SourceUnpack SourceStrict DecidedUnpack) (Rec0 Double)))))

bootstrapBCA #

Arguments

:: Double

Confidence level

-> Sample

Sample data

-> [Estimator]

Estimators

-> [Resample]

Resampled data

-> [Estimate] 

Bias-corrected accelerated (BCA) bootstrap. This adjusts for both bias and skewness in the resampled distribution.

scale #

Arguments

:: Double

Value to multiply by.

-> Estimate 
-> Estimate 

Multiply the point, lower bound, and upper bound in an Estimate by the given value.

References