Empirical Module
Represents a probability mass function (map from values to probabilities).
Functions and values
| Function or value | Description |
Full Usage:
add equalBandwidthOrNominal histA histB
Parameters:
bool
-
Is the binwidth equal for both distributions? For nominal data set to true.
histA : Map<'a, ^value>
-
Empirical distribution A
histB : Map<'a, ^value>
-
Empirical distribution B
Returns: Map<'a, ^value>
New frequency map that results from merged maps histA and histB. Values from keys that are present in both maps are handled by f
Modifiers: inline Type parameters: 'a, ^value |
When applied to continuous data the bandwidths must be equal!This function is not commutative! (add a b) is not equal to (add b a)
|
Full Usage:
create bandwidth data
Parameters:
float
-
data : float seq
-
Returns: Map<float, float>
|
|
Full Usage:
createNominal data
Parameters:
'a seq
-
Returns: Map<'a, float>
Modifiers: inline Type parameters: 'a |
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
merge equalBandwidthOrNominal histA histB
Parameters:
bool
-
Is the binwidth equal for both distributions? For nominal data set to true.
histA : Map<'a, 'value>
-
Empirical distribution A
histB : Map<'a, 'value>
-
Empirical distribution B
Returns: Map<'a, 'value>
New frequency map that results from merged maps histA and histB.
|
When applied to continuous data the bandwidths must be equal!This function is not commutative! (merge a b) is not equal to (merge b a)
|
Full Usage:
mergeBy equalBandwidthOrNominal f histA histB
Parameters:
bool
-
Is the binwidth equal for both distributions? For nominal data set to true.
f : 'value -> 'value -> 'value
-
Function to transform values if key is present in both histograms. `histA-value → histB-value → newValue`
histA : Map<'a, 'value>
-
Empirical distribution A
histB : Map<'a, 'value>
-
Empirical distribution B
Returns: Map<'a, 'value>
New frequency map that results from merged maps mapA and mapB. Values from keys that are present in both maps are handled by f
|
When applied to continuous data the bandwidths must be equal!This function is not commutative! (mergeBy f a b) is not equal to (mergeBy f b a)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FSharp.Stats