FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro Support
Knowledge
Community
About us
References
Jobs
General Contact
List Of Retailers
FlexPro Support
EN
DE
FR
Placeholder

FlexPro Documentation 2025

EmpiricalDistribution

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:

Constant

Meaning

EMPIRICALDISTRIB_PLOTTINGPOS_CDF

Corresponds to the usual definition of the empirical distribution for unclassified data. Calculation: F(x_i) = i / n.

EMPIRICALDISTRIB_PLOTTINGPOS_HAZEN

Hazen's formula for estimating the distribution function. Calculation: F(x_i) = [i - 0.5] / n

EMPIRICALDISTRIB_PLOTTINGPOS_MEDIANRANK

Approximated median rank calculation to estimate the distribution function. Calculation: F(x_i) = [i - 0.3] / [n + 0.4]

EMPIRICALDISTRIB_PLOTTINGPOS_MEANRANK

Mean-rank calculation to estimate the distribution function (also known as the Weibull formula). Calculation: F(x_i) = i / [n + 1]

EMPIRICALDISTRIB_PLOTTINGPOS_WHITEFORMULA

White's formula for estimating the distribution function (approximated estimator for normal distribution). Calculation: F(x_i) = [i - 0.375] / [n + 0.25]

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.

See Also

Distribution Function

WeibullFit Function

Distribution Analysis Object

Statistics Option