Two-Sided Power Distribution

TSPRND generates discrete random numbers from a two-sided power distribution
916 download
Aggiornato 14 set 2007

Nessuna licenza

Adapted from the trirnd(a,c,b,n) user-submited m-file by Dr. Mongkut Piantanakulchai, the tsprnd(a,c,b,n,m) simulates the four-parameter two-sided power distribution with parameters:
a - minimum value
b - maximum value
c - most likely value
n - shape parameter
m - total number of random samples generated, forming an m-by-1 vector X.

A useful alternative to the triangular distribution, allowing for a nonlinear distribution. Triangular and uniform distributions are special cases of the two-sided power distribution.

Details about the two-sided power distribution can be found in:
van Dorp, J.R. and S. Kotz. 2002. A Novel Extension of the Triangular Distribution and its Parameter Estimation. The Statistician, 51: 63-79.

Cita come

Kash Barker (2025). Two-Sided Power Distribution (https://it.mathworks.com/matlabcentral/fileexchange/16368-two-sided-power-distribution), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R14
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0