Next: Generation of Exponentially
Up: 6: Generation of
Previous: Generation of Gaussian
- Example: Exponential Distribution
- Suppose x has distribution
for x=0 to
.
![](img1479.gif)
- Therefore,
where y is a uniform random variable in
range 0 to 1.
- More generally put,
![](img1481.gif)
- Then
, the characteristic function is uniformly
distributed
![](img1483.gif)
- (could be different lower limit if as above
where
).
- You must be able to invert integral to be able to do this.
Geoffrey Fox, Northeast Parallel Architectures Center at Syracuse University, gcf@npac.syr.edu