Stochastic Simulation Generation of random variables Continuous sample space
Bo Friis Nielsen
Institute of Mathematical Modelling Technical University of Denmark 2800 Kgs. Lyngby – Denmark Email: bfn@imm.dtu.dk 02443 – lecture 4 2
DTU
Plan W1.1-2 Plan W1.1-2
Random number generation Independent Random variable Output Independent, uniformly distributed RN Model Distribution
02443 – lecture 4 3
DTU
Random variables Random variables
Aim
- The scope is the generation of independent random variables
X1, X2, ... Xn with a given distribution, Fx(x), (or probability density function [pdf]).
- We assume we have access to a supply (Ui) of random numbers,
independent samples from the uniform distribution on [0, 1].
- Our task is to transform Ui into Xi.
02443 – lecture 4 4
DTU
Generation of (pseudo)random variates Generation of (pseudo)random variates
- Inverse transformation techniques
- Composition methods
- Acceptance/rejection methods
- Mathematical methods