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

Statistics.Distribution.Transform

Description

Transformations over distributions

Synopsis

# Documentation

Linear transformation applied to distribution.

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

Constructors

 LinearTransform FieldslinTransLocation :: !DoubleLocation parameter.linTransScale :: !DoubleScale parameter.linTransDistr :: dDistribution being transformed.

Instances

 Functor LinearTransform Eq d => Eq (LinearTransform d) Data d => Data (LinearTransform d) Read d => Read (LinearTransform d) Show d => Show (LinearTransform d) Generic (LinearTransform d) ToJSON d => ToJSON (LinearTransform d) FromJSON d => FromJSON (LinearTransform d) Binary d => Binary (LinearTransform d) ContGen d => ContGen (LinearTransform d) (Entropy d, DiscreteDistr d) => Entropy (LinearTransform d) (MaybeEntropy d, DiscreteDistr d) => MaybeEntropy (LinearTransform d) Variance d => Variance (LinearTransform d) MaybeVariance d => MaybeVariance (LinearTransform d) Mean d => Mean (LinearTransform d) MaybeMean d => MaybeMean (LinearTransform d) ContDistr d => ContDistr (LinearTransform d) Distribution d => Distribution (LinearTransform d) Typeable (* -> *) LinearTransform type Rep (LinearTransform d)

Get fixed point of linear transformation

Arguments

 :: Double Fixed point -> Double Scale parameter -> d Distribution -> LinearTransform d

Apply linear transformation to distribution.