[SOLVED] EE 381 - Project 4

35.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Project4-g0wgim.zip (225.1 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
πŸ”’ Securely Powered by:
Secure Checkout
5/5 - (2 votes)

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.

 

  • Project4-g0wgim.zip