home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / educ / pstat1.zip / LILFOR.DOC < prev    next >
Text File  |  1987-02-07  |  3KB  |  57 lines

  1.  
  2.  
  3.  
  4.                                   LILFOR
  5.  
  6.  
  7.      This program does two things. It prints a graph that can be used to hand
  8. plot a sample CDF to perform the Lilliefors test for normality. It also reads
  9. data from disk or keyboard and performs the Lilliefors test, printing both
  10. graphic and numeric output.
  11.  
  12.      To do the test, there must be between 4 and 255 pieces of data. The upper
  13. limit of 255 may be increased by changing the value of "Limit" in the constant
  14. declaration at the beginning of the program. Data in disk files must be in space
  15. delimited ASCII (SDA) format. Variables are in columns. Each case is in a
  16. separate row, with one or more spaces separating each number. All data should be
  17. numeric; no letters. See SAMPLE.SDA for an example.
  18.  
  19.     The Lilliefors test is an attractive alternative to the Chi-Square test
  20. usually used to test for normality. The test is simple to use. If the sample CDF
  21. falls outside the Lilliefors bounds for the selected significance level, the
  22. hypothesis that the data is normally distributed is rejected. Try the program
  23. with a few sample data sets to get the idea. A number of recent statistics books
  24. discuss this test, e.g. Iman and Conover, "A Modern Approach to Statistics",
  25. Wiley; Conover, "Practical Nonparametric Statistics", Wiley; and Milton and
  26. Arnold, "Probability and Statistics in the Engineering and Computing Sciences",
  27. McGraw Hill. Conover gives the table of quantiles originally used in this
  28. program. The quantiles used in version 1.1 come from Dallal and Wilkinson, "An
  29. analytic approximation to the Distribution of Lilliefor's test statistic for
  30. normality" in The November 1986 American Statistician (Vol 40 No 4).
  31.  
  32.      The printer control codes included in the program are for an Epson RX-80
  33. printer. They should also work with other Epson 9 pin dot matrix printers. These
  34. codes do not work with the Star printers I am familiar with, nor do they work
  35. with the Epson LQ series 24 pin printers. All printer codes used are contained
  36. in the procedure DefinePrintVars at the beginning of the program. If you need to
  37. change the codes, this is the only place you have to look. The codes are defined
  38. in global variables as ASCII strings. For example the reset printer code is
  39. given as #27#64, meaning ASCII 27 (ESC) followed by ASCII 64 (@). The maximum
  40. length string permitted is 6 (the reset printer code is a string of length 2).
  41. If you need longer strings, change the length in the VAR declaration just above
  42. the procedure. All this presumes, of course, that you have a Turbo Pascal
  43. compiler available to recompile after the changes. If you exhaust all other
  44. possibilities and still need the changes made, send a disk, a self addressed
  45. stamped return mailer and a thorough description of the required changes to me
  46. and I'll make them for you. Send to Joe Hudson, Dept. of Science and Math, GMI,
  47. 1700 W. Third Ave. Flint, MI 48502.
  48.  
  49.      This program was written by Joseph C. Hudson with major contributions in
  50. the non-statistical parts by Joseph Dear. The program is hereby placed in the
  51. public domain, with no guarantees of suitability or accuracy, though we tried
  52. our best. If you use any part of the code in your own work, we would appreciate
  53. acknowledgment.
  54.  
  55. P.S. If you get stuck in a submenu and want to get out, use the escape key.
  56. 
  57.