<?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 Re: standard normal set in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/standard-normal-set/m-p/548441#M152084</link>
    <description>&lt;P&gt;Hi and welcome to the SAS Communities &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First of all, please do not double post. You will get the help you need from a single post.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding your question: When you say "observations", do you mean from a Standard Normal PDF or a random variate or something else? If it is the first, you can do like this (This is 21 obs though)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data Normal;
   do x=-2 to 2 by .2;
      y=pdf('Normal', x, 0, 1);
      output;
   end;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 04 Apr 2019 09:47:36 GMT</pubDate>
    <dc:creator>PeterClemmensen</dc:creator>
    <dc:date>2019-04-04T09:47:36Z</dc:date>
    <item>
      <title>standard normal set</title>
      <link>https://communities.sas.com/t5/SAS-Programming/standard-normal-set/m-p/548428#M152078</link>
      <description>&lt;P&gt;may you help me generate a set of 20 observations from standard normal distribution using do, do while and do until loops in SAS&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 08:21:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/standard-normal-set/m-p/548428#M152078</guid>
      <dc:creator>OWINO</dc:creator>
      <dc:date>2019-04-04T08:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: standard normal set</title>
      <link>https://communities.sas.com/t5/SAS-Programming/standard-normal-set/m-p/548440#M152083</link>
      <description>&lt;P&gt;Hi here are 3 basic programs to illustrate do, do while and do until loop.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope this helps you to understand.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*DO LOOP*/
data doloop;
age=5;
do year=2010 to 2030 by 1;
age=age+1;
output;
end;
run;


/*DO WHILE LOOP*/
data doloop;
age=5;
year=2010;
do 
while(year&amp;lt;=2030);
year=year+1;
age=age+1 ;
output;
end;
run;


/*DO UNTIL LOOP*/
data doloop;
age=5;
year=2010;
do
until(year=2030);
year=year+1;
age=age+1 ;
output;
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 09:42:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/standard-normal-set/m-p/548440#M152083</guid>
      <dc:creator>Shivam</dc:creator>
      <dc:date>2019-04-04T09:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: standard normal set</title>
      <link>https://communities.sas.com/t5/SAS-Programming/standard-normal-set/m-p/548441#M152084</link>
      <description>&lt;P&gt;Hi and welcome to the SAS Communities &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First of all, please do not double post. You will get the help you need from a single post.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding your question: When you say "observations", do you mean from a Standard Normal PDF or a random variate or something else? If it is the first, you can do like this (This is 21 obs though)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data Normal;
   do x=-2 to 2 by .2;
      y=pdf('Normal', x, 0, 1);
      output;
   end;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Apr 2019 09:47:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/standard-normal-set/m-p/548441#M152084</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-04-04T09:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: standard normal set</title>
      <link>https://communities.sas.com/t5/SAS-Programming/standard-normal-set/m-p/548462#M152088</link>
      <description>&lt;P&gt;Depending on what is meant, there is also the RAND function which produces random numbers from a normal distribution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmmvacdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=lefunctionsref&amp;amp;docsetTarget=p0fpeei0opypg8n1b06qe4r040lv.htm&amp;amp;locale=en#p0ks84a9b9vnv9n1unenv71z1uuu"&gt;https://documentation.sas.com/?cdcId=pgmmvacdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=lefunctionsref&amp;amp;docsetTarget=p0fpeei0opypg8n1b06qe4r040lv.htm&amp;amp;locale=en#p0ks84a9b9vnv9n1unenv71z1uuu&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 12:05:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/standard-normal-set/m-p/548462#M152088</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-04-04T12:05:14Z</dc:date>
    </item>
  </channel>
</rss>

