<?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: Gamma Dist stats PROC UNIVARIATE in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Gamma-Dist-stats-PROC-UNIVARIATE/m-p/243133#M55902</link>
    <description>&lt;P&gt;From output I can see these . Is it what you need ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Distribution of Plate Gaps&lt;BR /&gt;The UNIVARIATE Procedure&lt;BR /&gt;Fitted Gamma Distribution for Gap&lt;BR /&gt;Parameters for Gamma Distribution&lt;BR /&gt;Parameter Symbol Estimate&lt;BR /&gt;Threshold Theta 0&lt;BR /&gt;Scale Sigma 0.155198&lt;BR /&gt;Shape Alpha 4.082646&lt;BR /&gt;Mean 0.63362&lt;BR /&gt;Std Dev 0.313587&lt;BR /&gt;Goodness-of-Fit Tests for Gamma Distribution&lt;BR /&gt;Test ----Statistic----- ------p Value------&lt;BR /&gt;Kolmogorov-Smirnov D 0.09695325 Pr &amp;gt; D &amp;gt;0.250&lt;BR /&gt;Cramer-von Mises W-Sq 0.07398467 Pr &amp;gt; W-Sq &amp;gt;0.250&lt;BR /&gt;Anderson-Darling A-Sq 0.58106613 Pr &amp;gt; A-Sq 0.137&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Quantiles for Gamma Distribution&lt;BR /&gt;------Quantile------&lt;BR /&gt;Percent Observed Estimated&lt;BR /&gt;1.0 0.23100 0.13326&lt;BR /&gt;5.0 0.24700 0.21951&lt;BR /&gt;10.0 0.29450 0.27938&lt;BR /&gt;25.0 0.37800 0.40404&lt;BR /&gt;50.0 0.53150 0.58271&lt;BR /&gt;75.0 0.74600 0.80804&lt;BR /&gt;90.0 1.10050 1.05392&lt;BR /&gt;95.0 1.54700 1.22160&lt;BR /&gt;99.0 1.74100 1.57939&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jan 2016 08:20:01 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2016-01-13T08:20:01Z</dc:date>
    <item>
      <title>Gamma Dist stats PROC UNIVARIATE</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Gamma-Dist-stats-PROC-UNIVARIATE/m-p/243126#M55897</link>
      <description>&lt;P&gt;Hello - I want to output a host of Gamma distribution stats on a numeric variable grouped (or classed) by a couple of catagorical variables in an output table for easy consumption.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think PROC UNIVARIATE is what I need. PROC UNIVARIATE can get me the range of stats I need in an output table, but where I get stuck is that as far as I can manage the stats are only for a normal distribution. i.e. I can't get a table output for Gamma distribution. I want stats about the distribution like quartiles, standard deviation, kurtosis, skewdness &amp;nbsp;etc etc.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would really appreciate your help.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 07:08:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Gamma-Dist-stats-PROC-UNIVARIATE/m-p/243126#M55897</guid>
      <dc:creator>Silvertreetops</dc:creator>
      <dc:date>2016-01-13T07:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Gamma Dist stats PROC UNIVARIATE</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Gamma-Dist-stats-PROC-UNIVARIATE/m-p/243128#M55899</link>
      <description>&lt;P&gt;I find an example how to fit Gamma distribution in Documentation .&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods select ParameterEstimates GoodnessOfFit FitQuantiles;&lt;BR /&gt;proc univariate data=Plates;
var Gap;
histogram / midpoints=0.2 to 1.8 by 0.2
gamma
vaxis = axis1
name = 'MyHist';
inset n mean(5.3) std='Std Dev'(5.3) skewness(5.3)
/ pos = ne header = 'Summary Statistics';
axis1 label=(a=90 r=0);
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Jan 2016 07:49:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Gamma-Dist-stats-PROC-UNIVARIATE/m-p/243128#M55899</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-01-13T07:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Gamma Dist stats PROC UNIVARIATE</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Gamma-Dist-stats-PROC-UNIVARIATE/m-p/243129#M55900</link>
      <description>Hi- thank you for responding. I've also seen that exact example. My problem
with it is that I want a table output, but using the two table output
options I know for PROC UNIVARIATE (TABLE and OUTTABLE) I can only get the
normal distribution output go the table, not the Gamma distribution. Do you
know starting from that code how to output a table with the gamma
distribution?

Also the full range of stats would be helpful. From what I can tell this
code doesn't have the same as PROC UNIVARIATE produces for a normal
distribution.</description>
      <pubDate>Wed, 13 Jan 2016 07:52:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Gamma-Dist-stats-PROC-UNIVARIATE/m-p/243129#M55900</guid>
      <dc:creator>Silvertreetops</dc:creator>
      <dc:date>2016-01-13T07:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Gamma Dist stats PROC UNIVARIATE</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Gamma-Dist-stats-PROC-UNIVARIATE/m-p/243132#M55901</link>
      <description>&lt;P&gt;I do not understand your question. All the quantiles are empirical quantiles . You want exact theory quantiles ? Check function QUANTILE() .&lt;/P&gt;
&lt;P&gt;Or you could use histogram option&amp;nbsp;OUTHISTOGRAM= OUTKERNEL= &amp;nbsp;to get these histogram information.&lt;/P&gt;
&lt;P&gt;Or you just want find a BEST Gamma curve to &amp;nbsp;fit these data ? Check Rick's blog how to find the best Normal distribution parameter with a sample data. This can guide you to how to&amp;nbsp;&lt;SPAN&gt;find a BEST Gamma distribution parameter&amp;nbsp;to &amp;nbsp;fit these data .&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://blogs.sas.com/content/iml/2011/10/12/maximum-likelihood-estimation-in-sasiml.html" target="_blank"&gt;http://blogs.sas.com/content/iml/2011/10/12/maximum-likelihood-estimation-in-sasiml.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 08:15:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Gamma-Dist-stats-PROC-UNIVARIATE/m-p/243132#M55901</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-01-13T08:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Gamma Dist stats PROC UNIVARIATE</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Gamma-Dist-stats-PROC-UNIVARIATE/m-p/243133#M55902</link>
      <description>&lt;P&gt;From output I can see these . Is it what you need ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Distribution of Plate Gaps&lt;BR /&gt;The UNIVARIATE Procedure&lt;BR /&gt;Fitted Gamma Distribution for Gap&lt;BR /&gt;Parameters for Gamma Distribution&lt;BR /&gt;Parameter Symbol Estimate&lt;BR /&gt;Threshold Theta 0&lt;BR /&gt;Scale Sigma 0.155198&lt;BR /&gt;Shape Alpha 4.082646&lt;BR /&gt;Mean 0.63362&lt;BR /&gt;Std Dev 0.313587&lt;BR /&gt;Goodness-of-Fit Tests for Gamma Distribution&lt;BR /&gt;Test ----Statistic----- ------p Value------&lt;BR /&gt;Kolmogorov-Smirnov D 0.09695325 Pr &amp;gt; D &amp;gt;0.250&lt;BR /&gt;Cramer-von Mises W-Sq 0.07398467 Pr &amp;gt; W-Sq &amp;gt;0.250&lt;BR /&gt;Anderson-Darling A-Sq 0.58106613 Pr &amp;gt; A-Sq 0.137&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Quantiles for Gamma Distribution&lt;BR /&gt;------Quantile------&lt;BR /&gt;Percent Observed Estimated&lt;BR /&gt;1.0 0.23100 0.13326&lt;BR /&gt;5.0 0.24700 0.21951&lt;BR /&gt;10.0 0.29450 0.27938&lt;BR /&gt;25.0 0.37800 0.40404&lt;BR /&gt;50.0 0.53150 0.58271&lt;BR /&gt;75.0 0.74600 0.80804&lt;BR /&gt;90.0 1.10050 1.05392&lt;BR /&gt;95.0 1.54700 1.22160&lt;BR /&gt;99.0 1.74100 1.57939&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 08:20:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Gamma-Dist-stats-PROC-UNIVARIATE/m-p/243133#M55902</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-01-13T08:20:01Z</dc:date>
    </item>
  </channel>
</rss>

