Darwin Help

Back to Index

FDist_Rand

Function FDist_Rand - Generate random F-(variance-ratio) distributed reals

Calling Sequence  Rand(FDist(nu1,nu2))
Parameters
NameTypeDescription

nu1 nonnegative 
nu2 nonnegative 
Return Type  nonnegative
Synopsis This function returns a random F distributed or Variance-ratio distributed number with average nu1/(nu2-2). If X1 and X2 are Chi-square distributed variables with parameters nu1 and nu2, then X1/X2 is distributed as FDist(nu1,nu2). This distribution has a non-finite expected value for nu2<=2 and non-finite variance for nu2<=4. FDist_Rand uses Rand() which can be seeded by either the function SetRand or SetRandSeed.
References Handbook of Mathematical functions, Abramowitz and Stegun, 26.6
Examples
> Rand(FDist(3,1));
1.9703
> Rand(FDist(1,100));
0.02513195
See also Beta_Rand,   Binomial_Rand,   ChiSquare_Rand,   CreateRandSeq,   Cumulative,   Exponential_Rand,   GammaDist_Rand,   Geometric_Rand,   Graph_Rand,   Multinomial_Rand,   Normal_Rand,   Poisson_Rand,   SetRand,   SetRandSeed,   Shuffle,   StatTest,   Std_Score,   Student_Rand,   Zscore