Calculates the empirical distribution function (for unclassified data).
Syntax
EmpiricalDistribution(Sample, [ PlottingPosition = EMPIRICALDISTRIB_PLOTTINGPOS_CDF ], [ NumberOfRightCensoredValues = 0 ] [ , NumberOfLeftCensoredValues = 0 ])
The syntax of the EmpiricalDistribution function consists of the following parts:
Part |
Description |
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sample |
The sample from which the empirical distribution is to be determined. Permitted data structures are Data series und Signal. All real data types are permitted. If the argument is a list, then the function is executed for each element of the list and the result is also a list. |
||||||||||||
PlottingPosition |
Specifies which calculation mode is to be used to calculate the empirical distribution (also referred to as plotting position in the literature). In the following, n denotes the number of different observation values and x_1, x_2, ..., x_n the data series of the characteristic values sorted by size. The argument PlottingPosition can have the following values:
If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated. If this argument is omitted, it will be set to the default value EMPIRICALDISTRIB_PLOTTINGPOS_CDF . |
||||||||||||
NumberOfRightCensoredValues |
Specifies the number of additional right-censored events. This is the number of events that have not yet been observed or have not yet occurred by the end of the experiment (and are therefore not included in the sample). Permitted data structures are Scalar value. Supported data types are 16-bit integer, 32-bit integer und 64-bit integer. The value must be greater or equal to 0. If the argument is a list, then the function is executed for each element of the list and the result is also a list. If this argument is omitted, it will be set to the default value 0 . |
||||||||||||
NumberOfLeftCensoredValues |
Specifies the number of additional left-censored events. This is the number of events that have already occurred at an unknown time in the past (and are therefore not included in the sample). Permitted data structures are Scalar value. Supported data types are 16-bit integer, 32-bit integer und 64-bit integer. The value must be greater or equal to 0. If the argument is a list, then the function is executed for each element of the list and the result is also a list. If this argument is omitted, it will be set to the default value 0 . |
Remarks
The result always has the data structure Signal.
An overview of the various calculation modes (plotting positions) can be found, for example, at: https://mathworld.wolfram.com/Quantile.html
Available in
Option Statistics
Examples
EmpiricalDistribution(Sample) |
Calculates the empirical distribution function of a sample. |