void StatExpPlot(TVec Data, TVec XDrawVec, TVec YDrawVec, ref Double MinX, ref Double MaxX, ref Double MinY, ref Double MaxY, Boolean DataSorted)
Exponential distribution probability plot.
| # | Name | Description |
|---|---|---|
| 1 | Data | Data to be drawn. |
| 2 | 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. |
| 3 | XDrawVec | Returns vector of X values to be drawn - > Data estimated quantiles or in this case ordered data values. |
| 4 | 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. |
| 5 | MinX | Returns slope line start X point, XDrawVec 25th percentile. These value are used by Dew.Stats.Tee.ProbabilityPlot series. |
| 6 | MinY | Returns slope line start Y point, YDrawVec 25th percentile. These value are used by Dew.Stats.Tee.ProbabilityPlot series. |
| 7 | MaxX | Returns slope line end X point, XDrawVec 75th percentile. These value are used by Dew.Stats.Tee.ProbabilityPlot series. |
| 8 | MaxY | Returns slope line end Y point, YDrawVec 75th percentile. These value are used by Dew.Stats.Tee.ProbabilityPlot series. |
Result: stored in self (calling object)
Remarks:
How to construct Exponential distribution probability plot?
- If needed, Data values are sorted (DataSorted parameter set to false).
- Abscissa drawing values are formed by estimated data quantiles - ordered Data values. After calculation they are copied to XDrawVec. Dew.Math.TMtxVecBase.Length and Dew.Math.TMtxVec.Complex properties of XDrawVec are adjusted automatically.
- Ordinate drawing values are formed by using theoretical probability
p0 top -> -ln(1-p). After calculation they are copied to YDrawVec. Dew.Math.TMtxVecBase.Length and Dew.Math.TMtxVec.Complex properties of YDrawVec are adjusted automatically. - 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.
See Also: ProbabilityPlot