Convolution random number generator: Difference between revisions

Content deleted Content added
Undid revision 124342128 by Avenue (talk)
m punctuation, formatting
Line 4:
 
== Example ==
Consider the random variable <math>X\ \sim Erlang(k, \theta)</math>, defined as the sum of '''''k''''' random variables each with distribution '''<math>exp(k \theta)</math>'''.
 
Notice that :
 
:<math>E[X] = \frac{1}{k \theta} + \frac{1}{k \theta} + ... + \frac{1}{k \theta} = \frac{1}{\theta}</math>
 
WeOne can now generate '''<math>Erlang(k, \theta)</math>''' samples using the sampler for the exponential distribution:
 
if <math>X_i\ \sim exp(k \theta)</math> then <math>X=\sum_{i=1}^k X_i \sim Erlang(k,\theta)</math>