<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Generating multivariate data with various distributions in SAS/IML in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Generating-multivariate-data-with-various-distributions-in-SAS/m-p/649373#M5116</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know if there is a way to generate multiple variables where each has a certain distributional form given a covariance matrix. Specifically, I'm looking to generate three variables (X1, X2, X3) with X1~lognormal, X2~multimodal and a X3~normal distribution, and also allow for correlation among all three (given a covariance matrix).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I read about generating univariate data from each type of distribution independently and also ways to generate MVN or more complex distributions given a covariance matrix, but I can't seem to find a way to allow for &lt;EM&gt;different&lt;/EM&gt; distributional forms given a &lt;EM&gt;covariance matrix&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;highly appreciate any help.&lt;/P&gt;</description>
    <pubDate>Wed, 20 May 2020 20:12:22 GMT</pubDate>
    <dc:creator>ZMX</dc:creator>
    <dc:date>2020-05-20T20:12:22Z</dc:date>
    <item>
      <title>Generating multivariate data with various distributions in SAS/IML</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Generating-multivariate-data-with-various-distributions-in-SAS/m-p/649373#M5116</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know if there is a way to generate multiple variables where each has a certain distributional form given a covariance matrix. Specifically, I'm looking to generate three variables (X1, X2, X3) with X1~lognormal, X2~multimodal and a X3~normal distribution, and also allow for correlation among all three (given a covariance matrix).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I read about generating univariate data from each type of distribution independently and also ways to generate MVN or more complex distributions given a covariance matrix, but I can't seem to find a way to allow for &lt;EM&gt;different&lt;/EM&gt; distributional forms given a &lt;EM&gt;covariance matrix&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;highly appreciate any help.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 20:12:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Generating-multivariate-data-with-various-distributions-in-SAS/m-p/649373#M5116</guid>
      <dc:creator>ZMX</dc:creator>
      <dc:date>2020-05-20T20:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Generating multivariate data with various distributions in SAS/IML</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Generating-multivariate-data-with-various-distributions-in-SAS/m-p/649381#M5117</link>
      <description>&lt;P&gt;The technique you are looking for is called a "copula." It is a multivariate distribution with a given correlation structure with specified marginal distributions for each variable.&amp;nbsp; You can use PROC COPULA in SAS if you have a SAS/ETS license. Chapter 9 of &lt;A href="https://support.sas.com/en/books/authors/rick-wicklin.html" target="_self"&gt;&lt;EM&gt;Simulating Data with SAS&lt;/EM&gt;&amp;nbsp;(Wicklin, 2013)&lt;/A&gt; includes SAS/IML programs that generate correlated variables for discrete variables (binary and ordinal) as well as the copula approach for continuous variables (pp. 164-170). I also describe a powerful technique called the Iman-Conover method (pp. 161-164).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can download the programs from the book's web site.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 20:33:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Generating-multivariate-data-with-various-distributions-in-SAS/m-p/649381#M5117</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-05-20T20:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Generating multivariate data with various distributions in SAS/IML</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Generating-multivariate-data-with-various-distributions-in-SAS/m-p/650565#M5118</link>
      <description>Many thanks for your help. Got the book and the programs and everything works well.</description>
      <pubDate>Tue, 26 May 2020 00:52:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Generating-multivariate-data-with-various-distributions-in-SAS/m-p/650565#M5118</guid>
      <dc:creator>ZMX</dc:creator>
      <dc:date>2020-05-26T00:52:45Z</dc:date>
    </item>
  </channel>
</rss>

