Content deleted Content added
mNo edit summary |
No edit summary |
||
Line 9:
Many [[programming language]]s have the ability to generate [[pseudorandom number sequence|pseudo-randomnumbers]] which are effectively distributed according to the standard [[uniform distribution]]. If a random variable has that distribution, then the probability of its falling within any subinterval (''a'', ''b'') of the interval from 0 to 1 is just the length ''b'' - ''a'' of that subinterval.
The
#Generate a random number from the standard uniform distribution; call this ''u''.
#Compute the value for ''x'' which has the associated cdf value ''u''; call this ''x''<sub>''chosen''</sub>.
Line 18:
[[image:inverse_transform_sampling.png]]
<center>'''Sampling using the
=== See also ===
The [[
|