<?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: Predicting Ex-Gaussian Parameters in SAS in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Predicting-Ex-Gaussian-Parameters-in-SAS/m-p/555637#M27607</link>
    <description>&lt;P&gt;Yes, NLIN would be a good way to do this. I implemented this distribution in JMP for a customer and was done with a nonlinear model.&lt;/P&gt;</description>
    <pubDate>Thu, 02 May 2019 15:25:52 GMT</pubDate>
    <dc:creator>DanObermiller</dc:creator>
    <dc:date>2019-05-02T15:25:52Z</dc:date>
    <item>
      <title>Predicting Ex-Gaussian Parameters in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Predicting-Ex-Gaussian-Parameters-in-SAS/m-p/555486#M27601</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am analyzing some reaction time data, and I am attempting to do a more sophisticated analysis than simply transforming the data to reduce skew. A lot of current work recommends using the ex-Gaussian distribution as it more accurately captures the shape of the data. The ex-Gaussian is a convolution of the Gaussian and an exponential distributions. so essentially normal with a long positive skew.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The distribution is described by three parameters, mu, sigma, and tau, which are the mean and SD of the Gaussian portion, and the third parameter describes the mean of the exponential component. The below paper describes a toolbox for MATLAB that estimates these parameters based on inputted data, as well as some other fun things.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.tqmp.org/RegularArticles/vol04-1/p035/p035.pdf" target="_blank"&gt;https://www.tqmp.org/RegularArticles/vol04-1/p035/p035.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is, is there any way to do this in SAS? I can't find any literature on implementing ex-Gaussian distributions in SAS, or on how to estimate these parameters. I'm wondering if anyone here has some insight.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-David&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2019 20:45:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Predicting-Ex-Gaussian-Parameters-in-SAS/m-p/555486#M27601</guid>
      <dc:creator>dsm</dc:creator>
      <dc:date>2019-05-01T20:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Predicting Ex-Gaussian Parameters in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Predicting-Ex-Gaussian-Parameters-in-SAS/m-p/555628#M27604</link>
      <description>&lt;P&gt;PROC NLIN could do it.&lt;/P&gt;
&lt;P&gt;And I have feeling SAS/IML also could get it .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Calling&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 14:56:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Predicting-Ex-Gaussian-Parameters-in-SAS/m-p/555628#M27604</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-05-02T14:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Predicting Ex-Gaussian Parameters in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Predicting-Ex-Gaussian-Parameters-in-SAS/m-p/555637#M27607</link>
      <description>&lt;P&gt;Yes, NLIN would be a good way to do this. I implemented this distribution in JMP for a customer and was done with a nonlinear model.&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 15:25:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Predicting-Ex-Gaussian-Parameters-in-SAS/m-p/555637#M27607</guid>
      <dc:creator>DanObermiller</dc:creator>
      <dc:date>2019-05-02T15:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Predicting Ex-Gaussian Parameters in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Predicting-Ex-Gaussian-Parameters-in-SAS/m-p/555643#M27608</link>
      <description>&lt;P&gt;The PROC IML syntax is very similar to MATLAB, so you could use the existing paper to write the log-likelihood and then use SAS/IML&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See &lt;A href="https://blogs.sas.com/content/iml/2011/10/12/maximum-likelihood-estimation-in-sasiml.html" target="_self"&gt;"Maximum likelihood estimation in SAS/IML"&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't have a license for SAS/IML, you can use PROC NLMIXED to &lt;A href="https://blogs.sas.com/content/iml/2017/06/14/maximum-likelihood-estimates-in-sas.html" target="_self"&gt;set up and maximize the log-likelihood function.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;See also "&lt;A href="https://blogs.sas.com/content/iml/2017/06/12/log-likelihood-function-in-sas.html" target="_self"&gt;Two simple ways to construct a log-likelihood function in SAS."&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 15:50:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Predicting-Ex-Gaussian-Parameters-in-SAS/m-p/555643#M27608</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-05-02T15:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Predicting Ex-Gaussian Parameters in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Predicting-Ex-Gaussian-Parameters-in-SAS/m-p/555778#M27610</link>
      <description>&lt;P&gt;Thanks, &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;.I'm actually having the most trouble deciphering the Phi symbol in the formula, or how to implement it in SAS. Do you have advice on this one? It states that is is the cumulative distribution of the Gaussian function. Does SAS have a built in for this mathematical computation?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 00:00:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Predicting-Ex-Gaussian-Parameters-in-SAS/m-p/555778#M27610</guid>
      <dc:creator>dsm</dc:creator>
      <dc:date>2019-05-03T00:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Predicting Ex-Gaussian Parameters in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Predicting-Ex-Gaussian-Parameters-in-SAS/m-p/555886#M27612</link>
      <description>&lt;P&gt;Capital Phi is a standard symbol that indicates the cumulative nornal distribution function. You can use the CDF function in SAS&lt;/P&gt;
&lt;P&gt;to evaluate the cumulative normal distribution. The syntax is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;c = CDF("Normal", x, mu, sigma);&lt;/P&gt;
&lt;P&gt;Then c represents the probability that a random draw from the N(mu, sigma) distribution is less than x.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more information about the CDF in SAS, see &lt;A href="https://blogs.sas.com/content/iml/2011/10/19/four-essential-functions-for-statistical-programmers.html" target="_self"&gt;"Four essential functions for statistical programmers."&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 10:57:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Predicting-Ex-Gaussian-Parameters-in-SAS/m-p/555886#M27612</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-05-03T10:57:00Z</dc:date>
    </item>
  </channel>
</rss>

