Simulating Random Variables
Inverse Transformation Method
Introduction:Β There are a variety of ways of simulating random variables, (rv).Β In this project we will explore one of the common methods of simulation.Β This is the inverse transformation method.Β Further, we need a context in which to discuss this method.Β Consequently, we will introduce a rv and apply the method to it.
Exponential rv, π:Β This rv can be used to model the reliability of an apparatus.Β If the apparatus has been in use for any number of hours, it is as good as a new apparatus of the same kind in regards to the amount of time remaining until the item fails.Β The cumulative distribution function (CDF) and the probability density function (pdf) are:
πΉπ(π‘) = 1 β πβππ‘ for π‘ β₯ 0Β and ππ(π‘) = ππβππ‘Β for π‘ β₯ 0.
The inverse transformation method:Β We will be using a linear congruential pseudorandom number generator to provide us with a random variable uniformly distributed between zero and one.Β This pseudorandom number generator is provided in computer languages.Β We will characterize this as:Β The random variable π such that π is uniform on the interval [0,1) or equivalently ππ(π’) = 1 for 0 β€ π’ < 1.
Then the method is based on the argument:Β For the CDF function πΉ if we define the rv π by π =Β πΉβ1(π) then the rv π has CDF πΉ.
The application of the inverse transformation method to the exponential distribution.Β (In doing
Monte Carlo studies it is sometimes necessary to generate a series of exponential RVβs.)Β Let π be a uniform rv on the interval [0,1).Β Find a transformation such that it possess an exponential distribution with mean 1βπ.
The CDF πΉπ(π‘) is strictly increasing on the interval [0, β).Β Let 0 < π’ < 1 and observe that there is a unique value of π‘ such that πΉπ(π‘) = π’.Β Thus πΉπβ1(π’) for 0 < π’ < 1 is well defined.Β In this case πΉπ(π‘) = 1 β πβππ‘ = π’ if and only if.Β So, consequently given a
list of random numbers that are uniformly distributed a list of random numbers that are exponentially distributed can be determined using the derived transformation.




