Question: (a) Write an algorithm for drawing a pseudo-random sample from a threedimensional multivariate normal distribution N [0, ] with j j = 1, j =

(a) Write an algorithm for drawing a pseudo-random sample from a threedimensional multivariate normal distribution N [0, ] with σj j = 1, j = 1, 2.3, and covariances σ12 = σ13 = σ23 = 0.5. Draw a sample of 1,000 realizations and compare the estimated means and variances with those of the dgp.

(b) Repeat part

(a) with the trivariate normal being replaced by a Student’s t-distribution with five degrees of freedom.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Foundations Of Modern Macroeconomics Questions!