Use the Box Muller transform and the probability transform to simulate 100 pairs of standard normal random variables with correlations p = -2/3,-1/3.0,1/3.2/3,1. Display each simulation in separate scatterplot _
Added by Nicol-S E.
Close
Step 1
Generate 100 pairs of uniformly distributed random variables $(U_1, U_2)$, where $U_1, U_2 \sim U(0, 1)$. Show more…
Show all steps
Your feedback will help us improve your experience
Benjamin Densmore and 81 other Intro Stats / AP Statistics educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
For your code, the only random generator you can use is uniform (0,1). 1. Normal distribution (50%) Write a program to generate normal distribution using Box-Muller transformation. Sample 10^4 data and draw the histogram to make sure you actually get a normal distribution.
Shyam P.
The density of a bivariate normal distribution with mean equal to (0,0) and correlation matrix equal to ρ = [1.0 0.5; 0.5 1.0] is f(x,y) = 1/(π√3) exp[-2(x^2 + y^2 - xy)/3]. Write R code that will create objects x and y that are each equal to the sequence {-3.00, -2.95, ..., 2.95, 3.00}. Then create a matrix z and populate it with the values of f(x,y) for each combination of x and y values. A nested for loop can be used to do this. Once this has been completed create a contour plot of the data. The lines on the plot should be red.
Sri K.
The random variables X, Y, and Z are distributed as follows: X ~ N (μ = 100, σ² = 100) Y ~ N (μ = 300, σ² = 225) Z ~ N (μ = 40, σ² = 64) Simulated 50 values of the random variable W = (X + Y) / Z Prepare a histogram of the resulting values, using class intervals of width equal 3.
Sheryl E.
Recommended Textbooks
Elementary Statistics a Step by Step Approach
The Practice of Statistics for AP
Introductory Statistics
Watch the video solution with this free unlock.
EMAIL
PASSWORD