<?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: Statistics: R programming in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Statistics-R-programming/m-p/644915#M30928</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/326890"&gt;@Idjaz12&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Welcome to the SAS community users!&lt;/P&gt;
&lt;P&gt;As this forum is exclusively dedicated to SAS matters, I am afraid your question is not at the right place here. I believe there are dedicated forums for R users, where you will find answers to your questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the best,&lt;/P&gt;</description>
    <pubDate>Mon, 04 May 2020 06:44:29 GMT</pubDate>
    <dc:creator>ed_sas_member</dc:creator>
    <dc:date>2020-05-04T06:44:29Z</dc:date>
    <item>
      <title>Statistics: R programming</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Statistics-R-programming/m-p/644905#M30926</link>
      <description>&lt;P&gt;Suppose you are tasked with simulating a process where the inter-arrival times are not exponentially distributed, but Gamma(2, λ) under the fixed-count scheme, say 25 events, subject to the constraint that you must use the integral transform method of the Gamma distribution.&lt;/P&gt;&lt;P&gt;Im working using R.&lt;/P&gt;&lt;P&gt;The code below is what i used for an exponential distribution:&lt;BR /&gt;1 R&amp;gt; n = 25&lt;BR /&gt;2 R&amp;gt; lambda = 10&lt;BR /&gt;3 R&amp;gt; u = runif(n,0,1)&lt;BR /&gt;4 R&amp;gt; t = -1/lambda*log(1-u)&lt;/P&gt;&lt;P&gt;How would you modify it for a gamma distribution simulation.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 03:36:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Statistics-R-programming/m-p/644905#M30926</guid>
      <dc:creator>Idjaz12</dc:creator>
      <dc:date>2020-05-04T03:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Statistics: R programming</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Statistics-R-programming/m-p/644915#M30928</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/326890"&gt;@Idjaz12&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Welcome to the SAS community users!&lt;/P&gt;
&lt;P&gt;As this forum is exclusively dedicated to SAS matters, I am afraid your question is not at the right place here. I believe there are dedicated forums for R users, where you will find answers to your questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the best,&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 06:44:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Statistics-R-programming/m-p/644915#M30928</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-05-04T06:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Statistics: R programming</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Statistics-R-programming/m-p/644961#M30931</link>
      <description>It looks like you need CDF() .  calling &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;</description>
      <pubDate>Mon, 04 May 2020 11:51:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Statistics-R-programming/m-p/644961#M30931</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-05-04T11:51:14Z</dc:date>
    </item>
  </channel>
</rss>

