JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for ALLSTAT Archives


ALLSTAT Archives

ALLSTAT Archives


allstat@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

ALLSTAT Home

ALLSTAT Home

ALLSTAT  June 2007

ALLSTAT June 2007

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Gamma and other right-skewed distributions #4

From:

Alan Statistics <[log in to unmask]>

Reply-To:

Alan Statistics <[log in to unmask]>

Date:

Sat, 23 Jun 2007 16:22:49 -0400

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (220 lines)

Re: Gamma and other right-skewed distributions #2Dear Madam

    I have the StatsDirect statistical package. It allows me to generate random numbers in 17 distributions of which the normal and lognormal I know do not fit, the uniform(both versions), Logistic, Student-t(squared?), and Cauchy seem too blilateral to fit, the gamma is what I have already tried and the exponential and chi-squared are special cases of gamma, Poisson, Binomial, Geometric,  Negative Binomial and FRatio(variances) are not listed in the Compendium of Common Distributions for me to check,  and beta and Weibull both seem possible for a right-skewed distribution.

    Again is there any sort of decision tree in existence which would alllow narrowing down possible distributions from scratch? Or is there any software which will calculate parameters a data set would have if it were in each common distribution, generate random numbers for each distribution and its parameters, and provide a measure of how the actual data fit with the random nmbers for each distribution(lsum of squared differences?)

    Has anyone done anything on how exhaustive lists of common distributions such as Johnson and Kotz's are? How much possible distributions can deviate from the nearest known distribution? Or how much recorded distributions do?

    From the Johnson and Kotz books I see that there are systems of distributions, but none seems to correspond to right-skewed distributions as a class.

    I am mainly interested in the distribution of one ratio of parameters and what theoretical information I can derive from that, but would also be interested if there were more parametric( using-more-of-the-data) ways of comparing it to the (log-normal and power-law) distributions of other measures of the same sample than the Kendall's taus I already have.

    The Compendium gives the mean of gamma as BC (the parameters found in variance) +A (a location parameter) where Wikipedia gives it as just k times theta.

    The fit of the plot to the gamma distribution is so close that I doubt there is much to be found in trying other distributions but I am intersted in the question of determining distributions generally. MathSciNet returns 5 items for "determining distribution*" anywhere. Of the 3 that seem relevant, one says things would be easier if there were a natural law that helped determine distributions, one is on distributions of "time to failure" and one is a review of Janos Galombos's Introductory Probability Theory one of which's unusual features is a section on determining distributions. They give very different impressions of how well mastered this task is by the science of statistics.

    Thank you for your activity and help to my mathematically illl-informed gropings

                                             Yours Sincerely,
                                                    Alan E. Dunne
  ----- Original Message ----- 
  From: kornbrot 
  To: Alan Statistics 
  Sent: Wednesday, June 13, 2007 2:57 AM
  Subject: Re: Gamma and other right-skewed distributions #2


  Do you have access to a statistical package?
  My recommendation would be to use SPSS ro similar to fit to selection of skewed distirbutions

  It is useful if when you pose question you briefly describe your actual problem.
  For example, it matters if you are just looking at 1 group and fitting gamma or whatever, or if you wish to compare groups

  Wikipaedia is not best source in this case, since referneces are slightly out of date and ONLY to gamma
  The acknowledged classic is 
  Johnson, N. L., & Kotz, S. (1970). Continuous distributions in statistics (vol. 2). Boston: Houghton Mifflin Co.
  .
  There is later edition

  diana

  On 11/6/07 19:14, "Alan Statistics" <[log in to unmask]> wrote:


    Dear Madam

       I used the ratio of variance to mean, and the ratio of the mean to that to estimate alpha and beta, working from the values given in the Wikipedia article on the gamma distribution.

       I have no theoretical grounds for expecting the distribution to be a gamma one. I'm affraid I simply heard of gamma as a common right-skewed distribution different from the lognormal and power-law ones I knew didn't fit, and tried to find a way of checking if that particular distribution fit -particularly when I read that it could underlie L-shaped distributions. I just compared the random gamma version by eye to the actual one but the fit was so close I don't think it could be minimised further. Is there a way of working through possible distributions by some sort of decision tree?

       I have looked at the article by Dr Hosking. I was unable to understand much, particularly not what "L-moments" actually are, mainly because of my lack of mathematical grounding. I did grasp that the method for determining distributions still involves picking likely distributions and generating random measures from them to compare to the actual ones His example, further, involves estimation of distributions from multiple samples, while I have only one.

               Yours Sincerely,
                    Alan E. Dunne



      ----- Original Message ----- 
       
      From:  kornbrot <mailto:[log in to unmask]>  
       
      To: Alan Statistics <mailto:[log in to unmask]>  
       
      Sent: Saturday, May 12, 2007 3:14 AM
       
      Subject: Re: Gamma and other right-skewed  distributions #2
       

      What do you  want to know?

      Is it that you want to know the best theoretical  distribution for your data?
      Or do you have theoretical reason to believe it  is gamma, and want to find best fitting parameters?

      How did you  estimate gamma parameters? Did your use skew and kurtosis or some best fit  methodthat, say minimised the K-S parameter? Or the departure from linearity  of the Q_Q plot?

      If you are using skew and kurtosis, I would recommend  linear versions, not well known b ut the bets I have  found
      Hosking, J. R. M., & Wallis, J. R. (1997).  Regional frequency analysis.  An approach based on L-Moments.  Cambridge, UK: Cambridge University Press.
      Hosking, J. R. M. (1990).  L-moments:  analysis and estimation of distributions using linear  combinations of order statistics. Journal of the Royal Statistical Society,  B, 52, 105-124.
      It is very good on how to get the parameters of a whole  lot of dsitributions

      Best
      Diana


      On 12/5/07 03:29, "Alan Statistics"  <[log in to unmask]> wrote:

       

        With Respect

            The  most helpful general references I got were to Wikipedia(starting from http://en.wikipedia.org/wiki/Gamma-distribution)  and to N.L. Johnson and Samuel Kotz Continuous Univariate  Distributions.

            I thought my ratio of rwo  variables approximated to the shape of one exponential distribution, a  special case of gamma.But trying to estimate parameters has shown me that if  it is a gamma distribution I have it is one with k<1; the shape is more  like the exponential than any of the higher-k gammas, but differs from it in  the way opposite to them.

            Three-parameter  gamma is referred to in message 017726 on this  list(05/12/05)

            I have used StatsDirect to  create a random-numbers gamma distribution with the parameters I calculated  from my data.I have compared the two both with a Smirnov test, whose results  I was unsure how to interpret, and by plotting points with one as x-axis and  the other as y-axis, which gave me almost a straight diagonal line (with  small  kinks).

                        Yours  Sincerely,
                            Alan  E. Dunne

        > I will answer part of your question.
        > For me a  typical Gamma dist is one whose density initially increases and then
        >  decreases. I am not sure if when you talk about three parameter gamma,  
        > you mean
        > the variant with a shift  (i.e. instead of  (0,infinity) look at (a, infinity)
        > and "a" is the third parameter in  this case but it obviously does not change
        > the  shape of the  didtribution.
        > 
        > To test if the distribution of your data is a  gamma (or any other 
        > distribution)
        > , use probability plots  (there ar evariants called QQ plots or similar).
        > Most statistical  software  provide these. Menu driven software also 
        > will let  you
        > specify the distribution (gamma in your case) and may be the  parameters.
        > Roughly speaking, if the plot "resembles" a straight  line, than you are 
        > spot on.
        > These plots are usually  accompanied by p-values or similar statistics so that
        > you may use  also a traditional statistical judgement.
        > Most of the statistics  should be interpreted cautiously if the 
        > parameters of the
        >  distribution are estimated from the data (rather than supplied by you)  but
        > otherwise I have found them very useful for the task.
        >  
        > You don't mention particular books but probably the volumes of  Johnson 
        > and Kotz
        > are the best place for initial  reference.
        > 
        > Best regards,
        > Georgi Boshnakov
        >  
        > ============================
        > Georgi Boshnakov
        >  School of Mathematics
        > University of Manchester
        > Manchester  M60 1QD
        > UK

        Alan,

        I saw your allstat posting. I find  www.xycoon.com a useful resource for density function and other formulae  relating to statistical distributions with which I am not familiar - it has  a good section on continuous distributions and includes relationships among  them. This may be obvious, but watch out that you don't confuse the "gamma  distribution" for the "gamma function" (gamma(x) = (x-1)! where x is an  integer). 

        Dominic Muston

        Hi

        For general info on  distributions try wikipedia
        e.g. http://en.wikipedia.org/wiki/Gamma-distribution

        >>  How can I test whether my dataset approximates a gamma  distribution?

        To test whether two datasets come from the same  distribution use a Kolmogorov-Smirnov test.
        If one of the datasets is  your real test data, and the other is sampled from the gamma distribution,  then you have your test.
        K-S tests come in two forms (in stata)
        2  sample - your supply two datasets
        1 sample - you supply your test  dataset, and specify the distribution they are to be tested  against.

        Desmond

        Respect for digging up so much literature to  understand Gamma
        distribution. There's a lot in your email that I don't  know. But in my
        diploma in Statistics, we did learn something simple  which you didn't
        seem to have mentioned. The Gamma distribution  represents the
        distribution of time until the n events if events occur  with constant
        rate. The Exponential distribution is thus a special case  of the Gamma
        as it's the distribution of time until the occurance of the  first event.
        The Chi-square distribution is also a special case of the  Gamma. 

        Regards, 

        Tim  
        [Timothy  Mak]




      Professor Diana Kornbrot
      Evaluation  Co-ordinator, Blended Learning Unit
      University of Hertfordshire
      College  Lane, Hatfield, Hertfordshire AL10 9AB, UK 

      email:   [log in to unmask]     
      web:    http://web.mac.com/kornbrot/iweb/KornbrotHome.html  
             
      Blended  Learning Unit  
          voice +44 (0) 170 728  1315
          fax    +44 (0) 170 728  1320
      Psychology            
          voice  +44 (0) 170 728 4626
          fax    +44 (0)  170 728 5073
      Home
      19 Elmhurst Avenue
      London N2 0LT,  UK
         voice +44 (0) 208 883 3657







  Professor Diana Kornbrot
  Evaluation Co-ordinator, Blended Learning Unit
  University of Hertfordshire
  College Lane, Hatfield, Hertfordshire AL10 9AB, UK 

  email:  [log in to unmask]    
  web:    http://web.mac.com/kornbrot/iweb/KornbrotHome.html 
          
  Blended Learning Unit  
      voice +44 (0) 170 728 1315
      fax    +44 (0) 170 728 1320
  Psychology           
      voice +44 (0) 170 728 4626
      fax    +44 (0) 170 728 5073
  Home
  19 Elmhurst Avenue
  London N2 0LT, UK
     voice +44 (0) 208 883 3657

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
2006
2005
2004
2003
2002
2001
2000
1999
1998


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager