Overload List
| # | Signature | Description |
|---|---|---|
| 1 | procedure RayleighFit(const X: TVec; out b: Double); | Calculate parameters for Rayleigh distributed values. |
| 2 | procedure RayleighFit(const X: TVec; out b: Double; var PCIB: TDoubleArray; Alpha: Double); | Calculate parameters for Rayleigh distributed values. |
Overload 1: procedure RayleighFit(const X: TVec; out b: Double);
Calculate parameters for Rayleigh distributed values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TVec | |
| 2 | b | Double |
Result: stored in self (calling object)
Examples
var vec1: Vector;
resB : double;
CIb: TTwoElmReal;
begin
// first, generate 1000 randomly Rayleigh distributed
// numbers with b=1.3
vec1.Size(1000);
RandomRayleigh(1.3,vec1);
// Now extract the r and it's 95% confidence intervals.
RayleighFit(vec1,resb,CIb);
end;
Overload 2: procedure RayleighFit(const X: TVec; out b: Double; var PCIB: TDoubleArray; Alpha: Double);
Calculate parameters for Rayleigh distributed values.
| # | Name | Description |
|---|---|---|
| 1 | X | Stores data which is assumed to be Rayleigh distributed. |
| 2 | b | Returns Rayleigh distribution parameter estimator. |
| 3 | PCIB | b (1-Alpha)*100 percent confidence interval. |
| 4 | Alpha | Confidence interval percentage. |
Result: stored in self (calling object)
See Also: StatRandom.RandomRayleigh, Probabilities.RayleighStat