<?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 lognormal random numbers in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Generating-lognormal-random-numbers/m-p/72543#M3484</link>
    <description>I want to confirm if the following is a correct form to generate random numbers coming from a lognormal distribution with a threshold parameter of 10,000, scale parameter of 9.0 and shape parameter of 0.8:&lt;BR /&gt;
&lt;BR /&gt;
x=10000+exp(9+0.8*rannor(123))&lt;BR /&gt;
&lt;BR /&gt;
Is there another way to do this?</description>
    <pubDate>Mon, 21 Sep 2009 21:18:12 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-09-21T21:18:12Z</dc:date>
    <item>
      <title>Generating lognormal random numbers</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Generating-lognormal-random-numbers/m-p/72543#M3484</link>
      <description>I want to confirm if the following is a correct form to generate random numbers coming from a lognormal distribution with a threshold parameter of 10,000, scale parameter of 9.0 and shape parameter of 0.8:&lt;BR /&gt;
&lt;BR /&gt;
x=10000+exp(9+0.8*rannor(123))&lt;BR /&gt;
&lt;BR /&gt;
Is there another way to do this?</description>
      <pubDate>Mon, 21 Sep 2009 21:18:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Generating-lognormal-random-numbers/m-p/72543#M3484</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-09-21T21:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Generating lognormal random numbers</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Generating-lognormal-random-numbers/m-p/72544#M3485</link>
      <description>What a pitty that zomorales didn´t get an answer! I have a problem regarding lognormal random numbers too:&lt;BR /&gt;
&lt;BR /&gt;
Does anyone know how to generate random numbers coming from a lognormal distribution, when this resulting lognormal distribution should have a certain mean and variance?&lt;BR /&gt;
&lt;BR /&gt;
I think it works like zomorales suggested it. But I don´t know how to set the scale and shape parameter to get a certain mean and variance for x.</description>
      <pubDate>Wed, 13 Jan 2010 15:17:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Generating-lognormal-random-numbers/m-p/72544#M3485</guid>
      <dc:creator>Lea12345</dc:creator>
      <dc:date>2010-01-13T15:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Generating lognormal random numbers</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Generating-lognormal-random-numbers/m-p/72545#M3486</link>
      <description>Look at the RAND function in 9.2; it has a lognormal option.</description>
      <pubDate>Wed, 13 Jan 2010 19:28:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Generating-lognormal-random-numbers/m-p/72545#M3486</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-01-13T19:28:40Z</dc:date>
    </item>
  </channel>
</rss>

