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

Copyright(c) 2013 John McDonnell;
LicenseBSD3
Maintainerbos@serpentine.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Statistics.Distribution.Transform

Description

Transformations over distributions

Synopsis

Documentation

data LinearTransform d

Linear transformation applied to distribution.

LinearTransform μ σ _
x' = μ + σ·x

Constructors

LinearTransform 

Fields

linTransLocation :: !Double

Location parameter.

linTransScale :: !Double

Scale parameter.

linTransDistr :: d

Distribution being transformed.

linTransFixedPoint :: LinearTransform d -> Double

Get fixed point of linear transformation

scaleAround

Arguments

:: Double

Fixed point

-> Double

Scale parameter

-> d

Distribution

-> LinearTransform d 

Apply linear transformation to distribution.