home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / sigm / vol243 / chisqr.com (.txt) < prev    next >
Encoding:
Turbo Pascal Compiled 8bit CP/M-80 COM  |  1986-02-10  |  9.4 KB  |  48 lines

  1. Copyright (C) 1984 BORLAND Inc
  2. Pseudo TeleVideo 910P
  3. C0000
  4. ^#V#N#F
  5. s#r#q#p
  6.     #^#V
  7. 9^#Vh&
  8. |/g}/o#
  9. T]=o`9y
  10. T9^K#
  11. 8/<oz
  12. T9^K#
  13. oGOW_g
  14. `1pF,
  15. w###6
  16. ##N#F*
  17. Nw#Fw
  18. q#p#6
  19. #w#w#w
  20. TRUEFALSE
  21.     N#F#s#r
  22. N#F#^#V
  23. " C}=(
  24. F+N+++V+^
  25. q#p##
  26. User break
  27. Run-time
  28.  error 
  29. , PC=
  30. Program aborted
  31. H This program performs a chi-square test of the random number generator.
  32. E The relevant statistic, Q, which has approximately a chi-square dis-
  33. I tribution, is calculated.  The program does not have a chi-square table;
  34. G only the value of Q is computed and therefore you will need a table to
  35. G complete the test.  See Morris H. DeGroot  Probability and Statistics,
  36. $ pp. 440-441 (table on pp. 578-579).
  37. ( Chi-Square Test of TURBO Pascal RNG
  38. 5 It is best to take a large number of samples (up to !
  39. , Please make your sample size a multiple of *
  40. - What do you choose for your sample size?    
  41. R)]T)
  42.  The value of Q (*
  43.  degrees of freedom) is !
  44.  The value of Q (*
  45.  degrees of freedom) is !
  46. ! Do you want to do this again?   
  47. ! Do you wan
  48.