[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Weibull scale and shape parameters swapped
From: |
John W. Eaton |
Subject: |
Weibull scale and shape parameters swapped |
Date: |
Thu, 31 Dec 2009 19:03:02 -0600 |
On 4-Nov-2009, Muhali wrote:
| I'm not sure if this is a bug as it only affects naming conventions of the
| help text: The weibull functions have shape and scale parameters mixed up.
|
| -- Function File: weibull_cdf (X, SHAPE, SCALE)
| Compute the cumulative distribution function (CDF) at X of the
| Weibull distribution with shape parameter SCALE and scale
| parameter SHAPE, which is
|
| 1 - exp(-(x/shape)^scale)
|
| for X >= 0.
What version of Octave are you using? In 3.0 and later, the weibull_X
(X = cdf, ...) functions are deprecated. The correct functions to use
are called wblX instead. I think those functions have arguments that
are ordered in a way that is correct and compatible with Matlab.
If you think you've found a bug, please send a complete report to the
address@hidden list.
jwe
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Weibull scale and shape parameters swapped,
John W. Eaton <=