🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

12 total messages Started by Monte Bateman Sat, 05 Sep 1992 06:46
Testing for Normality
#284
Author: Monte Bateman
Date: Sat, 05 Sep 1992 06:46
22 lines
1017 bytes
I would like to test data for normality.  The books I have
access to talk about graphing frequencies on "probability paper".

First off, I don't have any.

Second, it seems that there should be software available 
to do this test.

Pointers?

Any/all help appreciated!


Monte

--
===============================================================================
Monte Bateman, WB5RZX
Physics Ph.D. Candidate at The University of Oklahoma 
& The National Severe Storms Laboratory, Norman, OK! 

InterNet: bateman @ nsslsun.nssl.uoknor.edu
Re: Testing for Normality
#286
Author: T. Scott Thompson
Date: Sat, 05 Sep 1992 19:22
18 lines
1443 bytes
bateman@nsslsun.nssl.uoknor.edu (Monte Bateman) writes:

>I would like to test data for normality.  The books I have
>access to talk about graphing frequencies on "probability paper".

Look up the Kolmogorov-Smirnov (sp?) statistic in a more advanced
statistics text than the ones you have now.  This statistic is
implemented in many of the major commercial stat packages, and is not
hard to compute.  (It is basically a software implementation of using
probability paper.)  Be forewarned, however, that the test is not
very powerful against many alternative distributions, especially the
ones that are "normal-like", so you might need a very large sample to
do a reliable test.

--
T. Scott Thompson              email:  thompson@atlas.socsci.umn.edu
Department of Economics        phone:  (612) 625-0119
University of Minnesota        fax:    (612) 624-0209
Re: Testing for Normality
#289
Author: Herman Rubin
Date: Sun, 06 Sep 1992 13:44
27 lines
1514 bytes
In article <1992Sep5.064647.15570@constellation.ecn.uoknor.edu> bateman@nsslsun.nssl.uoknor.edu (Monte Bateman) writes:
>I would like to test data for normality.  The books I have
>access to talk about graphing frequencies on "probability paper".

>First off, I don't have any.

>Second, it seems that there should be software available 
>to do this test.

>Pointers?

>Any/all help appreciated!


There is no shortage of tests for normality.  One problem is that the
behavior of the test statistic, even the size, is generally not computable
except by simulation, even approximately.  The problem is also to get a
reasonably good test against the most likely alternatives.

The Kolmogorov-Smirnov test with the parameters, assuming normality, 
estimated from the data is not difficult to calculate.  There are tables
of the significance levels.
-- 
Herman Rubin, Dept. of Statistics, Purdue Univ., West Lafayette IN47907-1399
Phone: (317)494-6054
hrubin@pop.stat.purdue.edu (Internet, bitnet)  
{purdue,pur-ee}!pop.stat!hrubin(UUCP)
Re: Testing for Normality
#290
Author: Jerry Dallal
Date: Sun, 06 Sep 1992 16:09
27 lines
1964 bytes
In article <thompson.715720959@hermes.socsci.umn.edu>, thompson@atlas.socsci.umn.edu (T. Scott Thompson) writes:
> bateman@nsslsun.nssl.uoknor.edu (Monte Bateman) writes:
> 
>>I would like to test data for normality.  The books I have
>>access to talk about graphing frequencies on "probability paper".
> 
> Look up the Kolmogorov-Smirnov (sp?) statistic in a more advanced
> statistics text than the ones you have now.  

A clarification:  Using the K-S statistic to test for normality, 
calculated after plugging in the sample mean and variance in place of the 
population parameters, is known as
Lilliefors' [Strunk and White be damned!] test.

A Shapiro-Wilk test or a D'Agostino test would probably serve you better.
Lilliefors' test tends to be more sensitive to departures from normality
in the center of the distribution.  (One look at the test statistic will
reveal why.)  THe other tests tend to be more sensitive to departures
from normality in the tails, which is where non-normality is most often a
problem.  

This various tests have been compared most recently in, of all places, 
the Stata Technical Bulletin.  I dislike mentioning articles in a computer 
program's documentation/house organ because they are typically neither peer 
reviewed nor widely circulated, but it's there, so what can I say?
(I have heard rumors that Royston is preparing his contributions for formal 
publication, but they are only second hand rumors.)
Re: Testing for Normality
#295
Author: Chuck Haas
Date: Mon, 07 Sep 1992 18:18
10 lines
1044 bytes
RE: Testing for Normality

see the following reference for a good review of the various normality
tests, including comparative power calculations.  This is also a nice
review of the various methods for drawing class intervals in the
chi-squared tests for distributional goodness of fit:

"How to Test Normality and other Distributional Assumptions", SS Shapiro,
American Society for Quality Control - Statistics Division, Volume 3-ASQC
Basic References in Quality Control (1990).
Re: Testing for Normality
#297
Author: anthony.r.rizzo
Date: Tue, 08 Sep 1992 14:38
22 lines
1062 bytes
In article <1992Sep5.064647.15570@constellation.ecn.uoknor.edu> bateman@nsslsun.nssl.uoknor.edu (Monte Bateman) writes:
>I would like to test data for normality.  The books I have
>access to talk about graphing frequencies on "probability paper".
>
>First off, I don't have any.
>
>Second, it seems that there should be software available 
>to do this test.
>
>Pointers?
>
>Any/all help appreciated!
>
>
>Monte

I can offer one little pointer, for what its worth.
Box, Hunter, and Hunter, in "Statistics for Experimenters" (I'm guessing
at the title) give the scale factors with which you can create
your own normal probability paper.

Tony
Re: Testing for Normality
#299
Author: J A Stephen Viggiano
Date: Tue, 08 Sep 1992 20:49
18 lines
1307 bytes
In article <1992Sep5.064647.15570@constellation.ecn.uoknor.edu> bateman@nsslsun.nssl.uoknor.edu (Monte Bateman) writes:
>I would like to test data for normality.  The books I have
>access to talk about graphing frequencies on "probability paper".
>
>First off, I don't have any.

Available at better stationery stores. It's National form 12-083.

>Second, it seems that there should be software available 
>to do this test.

I don't know of any software, but Lillefors's test is relatively simple, and
described in many texts. Kolmogorov's test, which was the basis for Lillefors's,
requires that you _completely_ specify the distribution (including mean and
variance). Lillefors relaxed this requirement.

If you have a spreadsheet with the Gaussian CDF available as a function,
you can program it to perform this test easily. Good luck!
Re: Testing for Normality
#298
Author: David Gagnon
Date: Tue, 08 Sep 1992 21:46
10 lines
727 bytes
   The reference for D'Agostino's test of normality is:

A Suggestion for Using Powerful and Informative Tests of Normality
  by D'Agostino, Belanger and D'Agostino Jr.
The American Stastician, Nov 1990, Vol 44, No. 4, 316-321

   I found it a good overview of the problem.

						>David<
Re: Testing for Normality
#300
Author: anthony.r.rizzo
Date: Wed, 09 Sep 1992 14:19
1 lines
596 bytes
I AM normal, damn it!                                                 Me too!
Re: Testing for Normality
#312
Author: Alan Myrvold
Date: Thu, 10 Sep 1992 12:43
55 lines
2513 bytes
In article <Bu5suB.HxM@mentor.cc.purdue.edu> hrubin@pop.stat.purdue.edu (Herman Rubin) writes:
>In article <1992Sep5.064647.15570@constellation.ecn.uoknor.edu> bateman@nsslsun.nssl.uoknor.edu (Monte Bateman) writes:
>>I would like to test data for normality.  The books I have
>>access to talk about graphing frequencies on "probability paper".
>
>>First off, I don't have any.
>
>>Second, it seems that there should be software available 
>>to do this test.
>
>>Pointers?
>
>>Any/all help appreciated!
>
>
>There is no shortage of tests for normality.

Yes, there are many test statistics that can be calculated. The probability
plot, as originally asked for, has the advantage of being GRAPHICAL, so you
actually see your data, and you see HOW it differs from normality.

It is fairly easy to do without the special paper - one way is to :

   1) Order your data from smallest to largest
   2) Determine the expected values of the order statistics from
      a Normal(0,1) population the same size as your sample.
   3) Plot your values against the corresponding order statistics.
   4) Assess normality : if your sample is normal, the data will fall 
      roughly along a straight line.

Step #2 can be done by consulting tables, doing some icky numerical 
integration, or conveniently and approximately if you have access to
an implementation of the inverse of the Normal CDF (call it G(y)).

Just apply the inverse CDF to uniform order statistics :

      r(i) = G((i-1/2)/n)       for i from 1 to n

A slightly better approximation to the normal order statistics is (if
my memory serves me right) :

      r(i) = G((i-3/8)/(n+1/4))  for i from 1 to n

You'll find the inverse normal CDF implemented in surprisingly many
spreadsheets, math librarys, and math&stats packages.

Most statistics packages do perform this plot for you!  
I suggest you find one.


---
Alan Myrvold          3755 Riverside Dr.    
Cognos Incorporated   P.O. Box 9707          alanm@cognos.com
(613) 738-1440 x3317  Ottawa, Ontario       
                      CANADA  K1G 3Z4       
Re: Testing for Normality
#316
Author: Charles Packer
Date: Fri, 11 Sep 1992 10:53
1 lines
639 bytes
Why not use a traditional chi-square test?
Re: Testing for Normality
#320
Author: Bill Venables
Date: Sat, 12 Sep 1992 14:15
22 lines
1852 bytes
>>>>> "Charles" == Charles Packer <packer@amarna.gsfc.nasa.gov> writes:

Charles> Why not use a traditional chi-square test?

I can think of two possible reasons:

1. It requires an arbitrary partition of the range into panels, *before*
   the sample comes to hand.  (In fact it really does not test normality as
   such, but rather that the grouped sample distribution agrees with a
   similarly grouped normal.)  Arbitrariness always comes at some cost.

2. In seeking to get some power against a very wide class of alternatives
   it manages only to achieve low power against any subclass, including the
   subclass of practically important alternatives.  In this sense it is not
   well focused enough.

[BTW I would be interested in a Bayesian reaction to this question.  It always
seemed to me that tests of fit could be rather an embarrassment to a Bayesian.]
--
___________________________________________________________________________
Bill Venables, Dept. of Statistics, | Email: venables@stats.adelaide.edu.au
Univ. of Adelaide, South Australia. | Tel: +61 8 228 5412  Fax: ...232 5670
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads