Poisson

Poisson

Interface poisson(m:real) : int where m>0.0. Returns a drawing from a Poisson distribution with intensity m. Raises Poisson exception, if m<=0.0. Characteristics Mean: m Variance: m Probability mass functions for Poisson distributions: Example poisson(100.0) A company has a network with a certain load. Each second an average of 100 packets is sent to the network. The number of packets arriving to the network per second […]

Read Me Leave comment

Rayleigh

Rayleigh

Note: Introduced in CPN Tools 3.4.0. Interface rayleigh(s:real) : real where s >=0.0. Returns a drawing from a rayleigh distribution with parameter s. Raises Rayleigh exception, if s<=0.0. Related pages Random distribution functions

Read Me Leave comment

Student

Student

Interface student (n:int) : real where n>=1. Returns a drawing from a Student distribution (also called t distribution) with n degrees of freedom. Note that as n increases, the Student density approaches the normal density. Indeed, even for n=8, the Student density is almost the same as the normal density. Raises Student exception, if n<1. Characteristics Mean: 0 Variance: 1/n-2 Density functions for student distributions: […]

Read Me Leave comment

Uniform

Uniform

Interface uniform(a:real, b:real) : real where a<=b. Returns a drawing from a continuous uniform distribution between a and b. Raises Uniform exception, if a>b. Characteristics Mean: (a+b)/2 Variance: ((b-a)^2)/12 Density functions for continuous uniform distributions: Example uniform(1.0,10.0) A person is asked to choose a real number between 1 and 10. This random variable is uniformly distributed with parameters a=1.0 and b=10.0. Related pages Random distribution […]

Read Me Leave comment

Weibull

Weibull

Note: Introduced in CPN Tools 3.5.3. Interface weibull(lambda:real, k:real) : real where lambda>0.0 and k>0.0. Returns a drawing from a Weibull distribution with parameters lambda and k. Raises Weibull exception, if lambda<=0.0 or k<=0.0. Related pages Random distribution functions

Read Me Leave comment