1. Learn
  2. /
  3. Courses
  4. /
  5. Multivariate Probability Distributions in R

Exercise

Drawing samples from skew distributions

In this exercise, you will generate random samples from a bivariate skew-normal distribution using the rmsn() function from the sn package for specified location, scale, and skewness parameters. You will then modify the code to generate random samples from a bivariate t-distribution.

The mu.sim and sigma.sim objects are preloaded for you.

Instructions 1/2

undefined XP
  • 1
    • Generate 100 samples from a bivariate skew-normal with skewness parameter (4, -4).
    • Print the first six samples.
  • 2
    • Generate 100 samples from a bivariate skewed-t with 5 df, labeled skewt.sample.
    • Print the first six samples.