This preview shows pages 1–4. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: Using Transformations Generating from a Normal distribution (BoxMuller Method): We need two sequences of standard uniform variables. Let U 1 and U 2 be two independent standard uniform variables. Define Z 1 := [ 2 ln U 1 ] 1 / 2 cos (2 U 2 ) Z 2 := [ 2 ln U 1 ] 1 / 2 sin (2 U 2 ) Then both Z 1 and Z 2 have a standard normal distribution and are independent. To get X i N ( , 2 ) transform using X i := + Z i , i = 1 , 2 To get a sequence of n random numbers from a Normal N ( , 2 ) distribution, we use a U (0 , 1) sequence u i , i = 1 , . . . , n , convert them to z i , i = 1 , . . . , n and use them to compute x i , i = 1 , . . . , n . 1 Inverse CDF Method for Continuous Densities Main Idea: Consider generating a random variable X from a distribution with cdf F and suppose that F is continuous and strictly increasing and F 1 ( u ) is welldefined for u 1 . If U is a random variable from U (0 , 1) , then it can be shown that X = F 1 ( U ) has distribution F . x F X x o 2 Applications of Inverse CDF Method This result can be used to obtain closed form transformations only if F can be inverted analytically i.e., the equation u = F ( x ) can be solved for x in closed form. However, if F can be accurately and efficiently inverted numerically, this method can be very useful....
View Full
Document
 Spring '11
 Zhou
 Normal Distribution

Click to edit the document details