Macaulay2 » Documentation
Packages » Probability » ProbabilityDistribution » continuousProbabilityDistribution » exponentialDistribution
next | previous | forward | backward | up | index | toc

exponentialDistribution -- exponential distribution

Description

The exponential distribution, the waiting time between events in a Poisson process, where lambda is the expected number of events in one unit of time.

i1 : X = exponentialDistribution 0.25

o1 = Exp(.25)

o1 : ContinuousProbabilityDistribution
i2 : density_X 2

o2 = .1516326649281584

o2 : RR (of precision 53)
i3 : probability_X 3

o3 = .5276334472589853

o3 : RR (of precision 53)
i4 : quantile_X 0.4

o4 = 2.043302495063963

o4 : RR (of precision 53)
i5 : random X

o5 = 8.928947989904163

o5 : RR (of precision 53)

Ways to use exponentialDistribution:

  • exponentialDistribution(Number)

For the programmer

The object exponentialDistribution is a method function.


The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/Probability.m2:1111:0.