You are here: Symbol Reference > StatProbPlots Namespace > Functions > StatProbPlots.StatExpPlot Function
Stats Master VCL
ContentsIndex
PreviousUpNext
StatProbPlots.StatExpPlot Function

Exponential distribution probability plot.

Pascal
procedure StatExpPlot(const Data: TVec; const XDrawVec: TVec; const YDrawVec: TVec; out MinX: double; out MaxX: double; out MinY: double; out MaxY: double; const DataSorted: boolean = true);
Parameters 
Description 
Data 
Data to be drawn. 
XDrawVec 
Returns vector of X values to be drawn - > Data estimated quantiles or in this case ordered data values. 
YDrawVec 
Returns vector of Y values to be drawn - > theretical Exponential probability values or in this case -ln(1-p), where p are predefined theoretical probabilities. 
MinX 
Returns slope line start X point, XDrawVec 25th percentile. These value are used by Dew.Stats.Tee.ProbabilityPlot series. 
MaxX 
Returns slope line end X point, XDrawVec 75th percentile. These value are used by Dew.Stats.Tee.ProbabilityPlot series. 
MinY 
Returns slope line start Y point, YDrawVec 25th percentile. These value are used by Dew.Stats.Tee.ProbabilityPlot series. 
MaxY 
Returns slope line end Y point, YDrawVec 75th percentile. These value are used by Dew.Stats.Tee.ProbabilityPlot series.  
DataSorted 
If true, algorithm assumes Data is already sorted in ascending order. If Data is not sorted, you must set this parameter to false so that internal algorithm will automatically do the sorting. 

How to construct Exponential distribution probability plot?

  1. If needed, Data values are sorted (DataSorted parameter set to false).
  2. Abscissa drawing values are formed by estimated data quantiles - ordered Data values. After calculation they are copied to XDrawVec. crefTMtxVecBase.Length and crefTMtxVec.Complex properties of XDrawVec are adjusted automatically.
  3. Ordinate drawing values are formed by using theoretical probability p 0 to p -> -ln(1-p). After calculation they are copied to YDrawVec. crefTMtxVecBase.Length and crefTMtxVec.Complex properties of YDrawVec are adjusted automatically.
  4. XDrawVec and YDrawVec 25th and 75th percentile points are used to construct a reference line. Drawing points departures from this straight line indicate departures from Exponential distribution.

Dew.Stats.Tee.ProbabilityPlot

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!