<?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 how to generate 3 independent variables that correlate in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-generate-3-independent-variables-that-correlate/m-p/49758#M2199</link>
    <description>how do i create a simulation with n observations where the variables such as income, age, gender, etc have a specific r or correlation such as .5?</description>
    <pubDate>Wed, 13 Apr 2011 18:24:16 GMT</pubDate>
    <dc:creator>tammy</dc:creator>
    <dc:date>2011-04-13T18:24:16Z</dc:date>
    <item>
      <title>how to generate 3 independent variables that correlate</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-generate-3-independent-variables-that-correlate/m-p/49758#M2199</link>
      <description>how do i create a simulation with n observations where the variables such as income, age, gender, etc have a specific r or correlation such as .5?</description>
      <pubDate>Wed, 13 Apr 2011 18:24:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-generate-3-independent-variables-that-correlate/m-p/49758#M2199</guid>
      <dc:creator>tammy</dc:creator>
      <dc:date>2011-04-13T18:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to generate 3 independent variables that correlate</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-generate-3-independent-variables-that-correlate/m-p/49759#M2200</link>
      <description>I think the title of your request is misleading since you don't seem to want &lt;I&gt;independent &lt;/I&gt;variables generated. It is easy to use PROC IML to generate correlated normal variables. Google searches will show lots of examples. There is a whole chapter in the IML documentation on simulating values of different distributions. If you want to avoid IML, the new procedure SIMNORMAL should work fine. You can either input a covariance matrix directly, or take one from a PROC CORR run, and then generate as many values as you want. I have not used SIMNORMAL yet.</description>
      <pubDate>Thu, 14 Apr 2011 13:20:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-generate-3-independent-variables-that-correlate/m-p/49759#M2200</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2011-04-14T13:20:29Z</dc:date>
    </item>
  </channel>
</rss>

