home *** CD-ROM | disk | FTP | other *** search
/ Play and Learn 2 / 19941.ZIP / 19941 / EDUCMATH / STATS / RICSTS.DOC < prev    next >
Encoding:
Text File  |  1994-02-04  |  26.4 KB  |  758 lines

  1. INTRODUCTION ..........................................................1
  2. QUESTIONNAIRE ANALYSIS PROGRAMS
  3.         FILEIT - Program to create a questionnaire data file...........2
  4.         COLTAB - Single Column Tabulation Program .....................3
  5.         CRSTAB - Cross-tabulation Program .............................4
  6.         CHISQ1 - Chi Square Test of Independence ......................5
  7. SAMPLE DESCRIPTION PROGRAMS
  8.         DSCRPT - Frequency Distribution, Percentiles and T-Scores......6
  9.         MEANSD - Means, Standard Deviations and Standard Errors........7
  10.         INTRVL - Mean and Standard Deviation Using Grouped Data........8
  11. CORRELATION
  12.         CORREL - Product Moment Correlation............................9
  13.         SPEARM - Spearman Rank Correlation............................10
  14. STATISTICAL TESTS
  15.         ANOVA1 - One-Way Analysis of Varience.........................11
  16.         ANOVAR - One Factor Repeated Measures Analysis of Varience....12
  17.         ANOVA2 - Two Factor Analysis of Variance......................13
  18.         CONFIN - Confidence Interval Program..........................14
  19.         TTESTR - Student's t-test for Correlated Means................15
  20.         TTESTI - Student's t-test for Independent Means ..............16
  21. .PAGE
  22.                                 INTRODUCTION
  23.  
  24.      The SHAREWARE STATISTICAL programs contained on this disk have been
  25. designed in a way such that the user need only identify the statistic
  26. desired and supply the data.  All formulas required for computation
  27. are supplied by the program.  In addition, procedures have been included
  28. that allow the user to store data in a disk file and retrieve it at a
  29. later date for further processing.  This document file contains brief
  30. descriptions of each program and an example of its use.
  31.  
  32.      All of the programs on this disk are copyrighted by Dr. Robert D.
  33. Cloward, Department of Psychology, Rhode Island College, Providence, R.I.
  34. 02908.  The disk may be copied as shareware with the understanding that
  35. the user will send $20.00 to the author, a modest amount for programs that
  36. would go for a hundred dollars or more from a commercial vendor.
  37. .PAGE
  38.         FILEIT:  A PROGRAM TO CREATE A QUESTIONNAIRE DATA FILE
  39.  
  40.      This program enables the user to create a data file consisting of
  41. alphabetic and numeric codes to identify respondents and their responses
  42. on a questionnaire.  The file will consist of one record for each respondent
  43. and assumes that the same kind of information will be coded in respective
  44. positions (columns) of each record.  The maximum record size is 200 positions.
  45. The program will accommodate up to 1000 records.  The user must specify the
  46. filename and record size at the beginning of the program.  Column markers
  47. are provided to assist the user in entering data in the correct columns.
  48. When the record size is greater than 60, input for each record will occur
  49. over several lines.  Options are provided for displaying, changing, and
  50. deleting records, as well as extending the file with new records.  The
  51. file created is conpatable with the other Questionnaire Analysis Programs
  52. on this disk.
  53.  
  54.      WARNING: the new file is not created (or the old file updated with
  55. corrections) until the end of the program.  If the program is aborted
  56. prematurely, the data entered will be lost.  Consequently, large amounts of
  57. data should be entered in stages, exiting the program normally at the
  58. end of each stage, and saving that much data.
  59. **************
  60.      The following is an example of its use to create a file:
  61.  
  62.      *****  FILEIT PROGRAM  *****
  63.  
  64.      ENTER YOUR FILE LABEL - ANY 6 LETTERS AND .DAT
  65.      ? QUES82.DAT
  66.  
  67.      HOW MANY CHARACTERS IN YOUR RECORD - RECORD LENGTH?
  68.      ? 50
  69.  
  70.      FILE QUES82.DAT CONTAINS 0 RECORDS
  71.  
  72.      SELECT A PROCEDURE:
  73.               1  ENTER DATA
  74.               2  DISPLAY DATA
  75.               3  DELETE RECORDS
  76.               4  CORRECT RECORDS
  77.               5  WRITE DATA FILE AND EXIT
  78.               6  ABORT (EXIT WITHOUT WRITING FILE)
  79.      ? 1
  80.  
  81. *********
  82.  
  83.      ENTER YOUR DATA     ENTER **END** IF NO MORE CASES.
  84.  
  85.      CASE 1
  86.        POSITION 1         2         3         4         5
  87.        ....:....0....:....0....:....0....:....0....:....0
  88.      ? SMITH      ANDREW   121212321232143151345432323234
  89.  
  90.      CASE 2
  91.        POSITION 1         2         3         4         5
  92.        ....:....0....:....0....:....0....:....0....:....0
  93.      ? JONES      JOHN     213456619825453475654346565322
  94.  
  95.      CASE 3
  96.        POSITION 1         2         3         4         5
  97.        ....:....0....:....0....:....0....:....0....:....0
  98.      ? **END**
  99.  
  100.  
  101. ************
  102.  
  103. SELECT A PROCEDURE:
  104.               1 ENTER DATA
  105.               2 DISPLAY DATA
  106.               3 DELETE RECORDS
  107.               4 CORRECT RECORDS
  108.               5 WRITE DATA FILE AND EXIT
  109.               6 ABORT (EXIT WITHOUT WRITING FILE)
  110. ? 5
  111.  
  112. FILE - QUES82.DAT - NOW CONTAINS 2 RECORDS.
  113.  
  114. .PAGE
  115.                   SINGLE COLUMN TABULATION PROGRAM
  116.  
  117.      This program tabulates the frequency of codes 0 through 9 in specified
  118. positions of each record in a data file.  The output includes the total
  119. number of records, number of records with codes alphabetic, blank, or
  120. non-zero through nine codes, and the median code for that position
  121. [column].  Up to 100 positions can be tabulated in one run, providing
  122. that the positions to be tabulated are sequential.  The following is an
  123. example of its use with a file containing coded responses to a questionaire:
  124.  
  125.      SINGLE COLUMN TABULATION PROGRAM
  126.  
  127.      ENTER NAME OF DATA FILE    ? B:CLOW1.DAT
  128.  
  129.      FOR HOW MANY COLUMNS ARE TABULATIONS TO BE RUN?      ?5
  130.  
  131.      ENTER STARTING POSITION ON DATA RECORD          ?3
  132.  
  133.      STARTING TALLY ROUTINE
  134.       50 RECORDS TALLIED
  135.      TALLY COMPLETED
  136. ************
  137.  
  138. TABULATIONS FOR DATA FILE **CLOW1.DAT**  51 RECORDS
  139.  
  140. POSI  CODE CODE CODE  CODE CODE CODE CODE  CODE  CODE CODE OTHER  TOTAL
  141. TION  ZERO  ONE  TWO THREE FOUR FIVE  SIX SEVEN EIGHT NINE  CODE  0 - 9
  142.  
  143.   3          40    6          4    1                                 51
  144.             78%  12%         8%   2%                       MEDIAN   1.1
  145.  
  146.   4          12         25    9    5                                 51
  147.             23%        49%  17%  10%                       MEDIAN   3.0
  148.  
  149.   5          16    2    16   14    1                            2    49
  150.             32%   4%   33%  28%   2%                        MEDIAN  2.9
  151.  
  152.   6          10   11     8    3    1                           18    33
  153.             30%  33%   25%   9%   3%                        MEDIAN  2.9
  154.  
  155.   7           9   11     3    6    3                           19    32
  156.             28%  34%    9%  19%   9%                        MEDIAN  2.1
  157. .PAGE
  158.                     CROSS-TABULATION PROGRAM
  159.  
  160.      This program cross-tabulates up to 80 single digit fields
  161. with one field being used to define groups.  The fields are
  162. cross-tabulated in serial order, and need to be contiguous for
  163. any given run.  The program assumes that the data are stored
  164. in a file with each record as much as 200 characters long.
  165. Characters other than 1 thru 9 are automaticlly excluded from the
  166. tabulations.  The following is and example of its use:
  167. ************
  168.  
  169.      SINGLE DIGIT CROSS-TABULATION PROGRAM
  170.  
  171.      ENTER NAME OF DATA FILE  ?  B:LIV.SRC
  172.      HOW MANY RECORDS ARE TO BE TABULATED   ?  100
  173.      ENTER THE POSITION ON THE FILE RECORD
  174.           OF THE ITEM USED TO FORM GROUPS   ?  76
  175.      HOW MANY GROUPS (COLUMNS) ARE THERE    ?  2
  176.      DO YOU WANT TO POOL GROUPS             ?  NO
  177.      DO YOU WANT TO LABEL YOUR COLUMNS      ?  YES
  178.      ENTER  2 LABELS EACH 12 CHARACTERS ON A LINE
  179.      ? BOYS
  180.      ? GIRLS
  181.      ENTER THE NUMBER OF ITEMS TO BE TABULATED  ?  1
  182.      ENTER THE POSITION ON THE FILE RECORD
  183.              OF THE FIRST ITEM TO BE TABULATED  ?  2
  184.      ENTER THE MAXIMUM NUMBER OF ROWS
  185.                 IN THE CROSS-TABULATION TABLES  ?  4
  186.      DO YOU WANT CELL FREQUENCIES PRINTED       ?  YES
  187. ************
  188.  
  189.      CROSS-TABULATION OF ITEM IN POSITION  2 WITH POSITION 76
  190.  
  191.      GROUPS          1            2
  192.      LABELS        BOYS         GIRLS
  193.  
  194.      CODE 1          3            1
  195.        PERCENT       16           25
  196.        CHI SQ.       0            0
  197.  
  198.      CODE 2          12           1
  199.        PERCENT       66           25
  200.        CHI SQ.       0            0
  201.  
  202.      CODE 3          2            2
  203.        PERCENT       11           50
  204.        CHI SQ.       0            2
  205.  
  206.      TOTAL CASES INCLUDED =  22
  207.      TOTAL CASES DELETED  =  16
  208.      TOTAL CHI SQUARE     =  4.03098
  209. .PAGE
  210.                  CHI SQUARE TEST OF INDEPENDENCE PROGRAM
  211.  
  212.      This program performs a 'chi' square test of the independence of a
  213. series of frequency distributions.  Cell frequencies must be entered in
  214. row major order.  The program will accommodate from two to ten columns
  215. and from one to ten rows.
  216.  
  217.          CHI SQUARE TEST OF INDEPENDENCE PROGRAM
  218.  
  219.          HOW MANY ROWS, HOW MANY COLUMNS?
  220.          ? 2,4
  221.          ENTER YOUR CELL FREQUENCIES ONE AT A TIME IN ROW MAJOR ORDER.
  222.          ? 67
  223.          ? 87
  224.          ? 97
  225.          ? 45
  226.          ? 27
  227.          ? 37
  228.          ? 33
  229.          ? 22
  230. ************
  231.  
  232.          OBSERVED FREQUENCIES
  233.           67  87  97  45  296
  234.  
  235.           27  37  33  22  119
  236.  
  237.           94 124 130  67  415
  238.  
  239.          EXPECTED FREQUENCIES
  240.           67.0458  88.4434  92.7229  47.788
  241.  
  242.           26.9542  35.5566  37.2771  19.212
  243.  
  244.          CHI SQUARE CONTRIBUTION BY CELL
  245.           .0003    .0236   .1972   .1626
  246.  
  247.           .0008    .0586   .4907   .4045
  248.  
  249.          TOTAL CHI SQUARE = 1.3375
  250. .PAGE
  251.             FREQUENCY DISTRIBUTION, PERCENTILES, and T-SCORES
  252.  
  253.      This program produces a frequency distribution and cumulative
  254. frequency distribution of entered scores, and calculates a percentile
  255. rank and T-score value for each score interval with a frequency greater
  256. than zero.  The output includes the mean, the standard deviation (n-1)
  257. of the distribution and the computed median.  The program will accommodate
  258. up to 500 data points.  Options are included for storage of data on
  259. disk, and for data verification.  The following is an example:
  260. **********
  261.      FREQUENCY DISTRIBUTION, PERCENTILES, AND T-SCORES PROGRAM
  262.  
  263.      ENTER YOUR SAMPLE SIZE
  264.      ? 12
  265.      DOES YOU DATA ALREADY EXIST IN A FILE     ?  NO
  266.      ENTER YOUR DATA, ONE SCORE ON A LINE.
  267.      ? 45
  268.      ? 44
  269.      ? 43
  270.      ? 45
  271.      ? 46
  272.      ? 43
  273.      ? 48
  274.      ? 46
  275.      ? 39
  276.      ? 44
  277.      ? 43
  278.      ? 45
  279.      DO YOU WISH TO VERIFY YOUR INPUT DATA OR CHANGE ANY SCORES?
  280.      ? NO
  281. ***********
  282.                               CUMULATIVE    PERCENTILE
  283.       SCORE     FREQUENCY     FREQUENCY       RANK          T-SCORE
  284.  
  285.       48.00         1             12            96             67
  286.       46.00         2             11            83             58
  287.       45.00         3              9            63             53
  288.       44.00         2              6            42             49
  289.       43.00         3              4            21             44
  290.       39.00         1              1             4             26
  291.  
  292.  
  293.       THE MEAN =                        44.2500
  294.       STANDARD DEVIATION =               2.2208
  295.       COMPUTED MEDIAN =                 44.5000
  296.  
  297.       DO YOU WISH TO SAVE YOUR DATA      ?  NO
  298. .PAGE
  299.                MEANS, STANDARD DEVIATIONS, AND STANDARD ERRORS
  300.  
  301.      This program computes means, standard deviations and standard errors
  302. for up to 10 variables (scores per case) at a time.  There is a limit of
  303. 250 cases per variable.  Data may be permanently stored by a routine that
  304. creates a file at the user's request at the end of the program.  Options
  305. are included for verification and correction of the data.
  306.  
  307.          MEAN, STANDARD DEVIATION AND STANDARD ERROR PROGRAM
  308.  
  309.          ENTER NUMBER OF VARIABLES TO BE RUN:
  310.          ? 2
  311.          HOW MANY CASES OR SCORES FOR EACH VARIABLE?
  312.          ? 10
  313.          DOES YOUR DATA ALREADY EXIST IN A FILE   ? NO
  314. ***********
  315.  
  316.          ENTER 2 SCORES FOR EACH CASE ON A LINE.
  317.          ? 23,1.45
  318.          ? 28,2.31
  319.          ? 26,5.54
  320.          ? 25,-4.98
  321.          ? 31,-8.01
  322.          ? 25,-7.77
  323.          ? 24,10.33
  324.          ? 19,-3.25
  325.          ? 26,.25
  326.          ? 30,-1.21
  327.  
  328.          DO YOU WANT TO VERIFY YOUR DATA   ? NO
  329.  
  330.          DO YOU WANT TO CHANGE ANY SCORES   ? NO
  331.  
  332.          VAR           MEAN           STD DEV             STD ERROR
  333.  
  334.           1           25.7000         3.4657                1.0960
  335.           2           -0.5340         5.8062                1.8361
  336. .PAGE
  337.               MEAN AND STANDARD DEVIATION USING GROUPED DATA
  338.  
  339.      This program computes the means and standard deviation from a
  340. frequency distribution with no limit on the number of intervals.
  341. The data from the frequency distribution may be entered in any order
  342. providing that the midpoint of an interval is followed immediately by
  343. the score frequency for that interval (the two numbers being separated
  344. by a comma, of course.)  After the last interval and frequency has been
  345. entered, the user must enter an additional interval of zero and a
  346. frequency of zero.  The following is an example of its use:
  347.  
  348.      MEAN AND STANDARD DEVIATION FROM GROUPED DATA PROGRAM
  349.  
  350.      ENTER YOUR DATA.   MIDPOINT OF INTERVAL AND FREQUENCY ON A LINE.
  351.      AFTER YOUR LAST SCORE, ENTER A ZERO FOR INTERVAL AND
  352.                                 A ZERO FOR FREQUENCY.
  353.      ? 1.5,3
  354.      ? 3.5,5
  355.      ? 5.5,11
  356.      ? 7.5,8
  357.      ? 9.5,4
  358.      ? 0,0
  359. ***********
  360.  
  361.             SAMPLE SIZE=                        31
  362.             SUM OF SCORES=                180.5000
  363.             SUM X SQ=                    1211.7500
  364.             SUM x SQ=                     160.7740
  365.             THE VARIANCE (N-1) =            5.1863
  366.  
  367.             THE MEAN=                       5.8226
  368.             STANDARD DEVIATION (N-1) =      2.3150
  369.             THE STANDARD ERROR=             0.4158
  370. .PAGE
  371.                   PRODUCT MOMENT CORRELATION PROGRAM
  372.  
  373.      This program computes the means, standard deviations, and the
  374. Pearson product moment correlations for from two to ten variables.
  375. The program is limited to a total of 1500 data points.  Options are
  376. included for user correction of  input data and for permanent storage
  377. of data in a user file.  The following is an example of its use:
  378.  
  379. CORRELATION PROGRAM
  380.  
  381. HOW MANY VARIABLES?
  382. ? 4
  383. HOW MANY CASES?
  384. ?9
  385. DOES YOUR DATA ALREADY EXIST ON A FILE   ? NO
  386. ***********
  387.  
  388. ENTER 4 SCORES FOR EACH CASE ON A LINE.
  389. ? 21,23,6,3
  390. ? 23,21,7,5
  391. ? 10,22,2,4
  392. ? 15,27,0,5
  393. ? 19,21,7,6
  394. ? 25,19,0,7
  395. ? 27,25,3,8
  396. ? 23,54,8,5
  397. ? 25,31,4,7
  398.  
  399. DO YOU WANT TO VERIFY YOUR DATA  ? NO
  400. DO YOU WANT TO CHANGE ANY SCORES ? NO
  401. DO YOU WANT REGRESSION COEFFICIENTS AS PART OF THE OUTPUT ? NO
  402. ***********
  403.  
  404. VARIABLE            MEAN          STD DEV           STD ERROR
  405.  
  406.     1              20.889          5.4416             1.8139
  407.     2              27.000         10.7587             3.5862
  408.     3               4.111          3.0596             1.0199
  409.     4               5.556          1.5899             0.5300
  410.  
  411.  VR   VR  COEFFICIENT
  412.  
  413.   1   2    0.1729
  414.   1   3    0.2411
  415.   1   4    0.6293
  416.   2   3    0.4101
  417.   2   4   -0.0512
  418.   3   4   -0.2712
  419. .PAGE
  420.                       SPEARMAN RANK CORRELATION
  421.  
  422.      This program calculates the Spearman Rho from paired rankings for
  423. individuals on two variables.  The user must produce the rankings by
  424. sorting cases into rank order and numbering them '1' (highest) to 'N'
  425. lowest on each variable.  The program includes a verification routine
  426. that allows the user to display and correct rankings before calculation
  427. of the correlation coefficient.  The output of the programs includes a
  428. T-value that may be used to test the significance of the correlation
  429. coefficient.  The following is an example of its use:
  430.  
  431.          SPEARMAN RANK CORRELATION PROGRAM
  432.  
  433.          HOW MANY RANKS DO YOU HAVE?
  434.          ? 10
  435. **************
  436.          ENTER TWO RANKS FOR EACH CASE ON A LINE.
  437.          ? 7,5
  438.          ? 4,2
  439.          ? 2,1
  440.          ? 9,8
  441.          ? 1,4
  442.          ? 6,3
  443.          ? 3,6
  444.          ? 10,10
  445.          ? 5,7
  446.          ? 8,9
  447.  
  448.          DO YOU WISH TO VERIFY YOUR DATA  ?  NO
  449.          DO YOU WISH TO CHANGE ANY VALUES ?  NO
  450. ***********
  451.  
  452.                 RANK ON         RANK ON
  453.          CASE  VARIABLE A      VARIABLE B     DIFFERENCE    DIFF SQUARED
  454.             1      7.0             5.0             2.0            4.00
  455.             2      4.0             2.0             2.0            4.00
  456.             3      2.0             1.0             1.0            1.00
  457.             4      9.0             8.0             1.0            1.00
  458.             5      1.0             4.0            -3.0            9.00
  459.             6      6.0             3.0             3.0            9.00
  460.             7      3.0             6.0            -3.0            9.00
  461.             8     10.0            10.0             0.0            0.00
  462.             9      5.0             7.0            -2.0            4.00
  463.            10      8.0             9.0            -1.0            1.00
  464.  
  465.          SPEARMAN RHO =   0.7455               T-VALUE =   3.1632
  466.  
  467. .PAGE
  468.                      ONE-WAY ANALYSIS OF VARIANCE
  469.  
  470.      This program performs a one-way analysis of variance on from two to
  471. ten groups.  The program is limited to 1000 data points.  Options are
  472. included for verification of input data and data storage in a file.
  473. The following is an example of its use:
  474.  
  475.          ONE-WAY ANALYSIS OF VARIANCE PROGRAM
  476.  
  477.          HOW MANY GROUPS?
  478.          ? 2
  479.          DO YOU HAVE THE SAME SAMPLE SIZE FOR EACH GROUP?   YES
  480.          ENTER YOUR SAMPLE SIZE  ? 5
  481.          DOES YOUR DATA ALREADY EXIST ON A FILE   ? NO
  482. ***********
  483.          ENTER SCORES FOR GROUP 1--ONE SCORE ON A LINE
  484.          ? 435
  485.          ? 498
  486.          ? 425
  487.          ? 500
  488.          ? 525
  489.          ENTER SCORES FOR GROUP 2--ONE SCORE ON A LINE
  490.          ? 501
  491.          ? 513
  492.          ? 490
  493.          ? 520
  494.          ? 530
  495.          DO YOU WISH TO VERIFY YOUR DATA   ? NO
  496.          DO YOU WISH TO CHANGE ANY SCORES  ? NO
  497. ***********
  498.          GROUP     CASES      MEAN   STD DEV    STD ERROR
  499.  
  500.             1         5    476.600   43.9920    19.67380
  501.             2         5    510.800   15.7067     7.02424
  502.          TOTAL       10    493.700   35.9816    11.37839
  503.  
  504.          ANOVA SUMMARY   SUM OF SQUARES   D.F.    MEAN SQ.      F RATIO
  505.  
  506.          BETWEEN GROUPS     2924.10        1     2924.1000      2.6802
  507.          WITHIN GROUPS      8728.00        8     1091.0000
  508.  
  509.          TOTAL             11652.10        9
  510.  
  511. .PAGE
  512.               ONE FACTOR REPEATED MEASURES ANALYSIS OF VARIANCE
  513.  
  514.      This program performs an analysis of variance over treatments using
  515. a 'within subjects' design, i.e. each subject being measured under every
  516. treatment.  The program is limited to 1000 data points (10 treatments by
  517. 100 subjects).  Data for the analysis must be entered in subject-treatment
  518. order, i.e. all of the treatment scores in order for the first subject,
  519. then treatment scores in the same order for the second subject, and so on.
  520. The following is an example of the program:
  521.  
  522. ONE FACTOR REPEATED MEASURES ANALYSIS OF VARIANCE PROGRAM
  523.  
  524. HOW MANY TREATMENTS?
  525. ? 3
  526. ENTER YOUR SAMPLE SIZE
  527. ? 4
  528. DOES YOUR DATA ALREADY EXIST IN A FILE?   NO
  529. ***********
  530. ENTER YOUR TREATMENT SCORES FOR EACH SUBJECT ON A LINE.
  531. ? 17,20,22
  532. ? 18,24,25
  533. ? 20,19,26
  534. ? 16,18,17
  535. DO YOU WANT TO VERIFY YOUR INPUT DATA  ?  NO
  536. DO YOU WANT TO CHANGE ANY SCORES       ?  NO
  537.  
  538. SUBJECT  1       MEAN SCORE=  19.6667
  539. SUBJECT  2       MEAN SCORE=  22.3333
  540. SUBJECT  3       MEAN SCORE=  21.6667
  541. SUBJECT  4       MEAN SCORE=  17.0000
  542.  
  543. TREATMENT 1       MEAN SCORE=  17.7500
  544. TREATMENT 2       MEAN SCORE=  20.2500
  545. TREATMENT 3       MEAN SCORE=  22.5000
  546.  
  547. TOTAL           MEAN SCORE=  20.1667
  548. ***********
  549.  
  550. SOURCE       SUM OF SQRS      DF         MEAN SQ          F RATIO
  551.  
  552. TREATMENTS        45.17        2          22.583          5.0497
  553. SUBJECTS          51.67        3          17.222          3.8510
  554. INTERACTION       26.83        6           4.472
  555.  
  556. TOTAL            123.67       11          11.242
  557.  
  558. .PAGE
  559.           FACTORIAL ANALYSIS OF VARIANCE, 2 INDEPENDENT FACTORS
  560.  
  561.      This program performs an analysis of variance over two independent
  562. factors, with up to ten levels for each factor.  However, the program is
  563. limited to a total of 1000 data points.  The program permits verification
  564. and correction of input data.  An option is included for storage of data
  565. in a virtual array file.  The following is an example of its use:
  566.  
  567. FACTORIAL ANALYSIS OF VARIANCE, 2 INDEPENDENT FACTORS
  568.  
  569. HOW MANY LEVELS FOR FACTOR A  ? 2
  570. HOW MANY LEVELS FOR FACTOR B  ? 2
  571. DO YOU HAVE THE SAME NUMBER OF CASES IN EACH CELL  ? YES
  572. ENTER YOUR CELL SIZE  ?  4
  573. DOES YOUR DATA ALREADY EXIST ON A FILE?   NO
  574. ***********
  575. ENTER 4 SCORES FOR CELL (1,1) - ONE SCORE ON A LINE
  576. ? 2
  577. ? 4
  578. ? 3
  579. ? 3
  580. ENTER 4 SCORES FOR CELL (1,2) - ONE SCORE ON A LINE
  581. ? 6
  582. ? 5
  583. ? 4
  584. ? 5
  585. ENTER 4 SCORES FOR CELL (2,1) - ONE SCORE ON A LINE
  586. ? 5
  587. ? 4
  588. ? 5
  589. ? 4
  590. ***********
  591. ENTER 4 SCORES FOR CELL (2,2) - ONE SCORE ON A LINE
  592. ? 7
  593. ? 6
  594. ? 5
  595. ? 6
  596.  
  597. DO YOU WANT TO VERIFY YOUR INPUT DATA   ?  NO
  598. DO YOU WISH TO CHANGE ANY SCORES    ?   NO
  599.  
  600.   CELL     CASES      MEAN      S.D.
  601. A1   B1       4       3.000     0.8165
  602. A1   B2       4       5.000     0.8165
  603. A2   B1       4       4.500     0.5774
  604. A2   B2       4       6.000     0.8165
  605.  
  606. TEST OF HOMOGENIETY OF VARIANCE    F =  1.4142
  607. ***********
  608.  
  609. FACTOR A   CASES      MEAN
  610. LEVEL 1       8       4.000
  611. LEVEL 2       8       5.250
  612.  
  613. FACTOR B   CASES      MEAN
  614. LEVEL 1       8       3.750
  615. LEVEL 2       8       5.500
  616.  
  617. TOTAL        16       4.625
  618.  
  619. SOURCE     SUM OF SQUARES   D.F.   MEAN SQUARE       F RATIO
  620. FACTOR A      6.2500          1       6.2500         10.7143
  621. FACTOR B     12.2500          1      12.2500         21.0000
  622. A x B         0.2500          1       0.2500          0.4286
  623.  
  624. WITHIN        7.0000         12       0.5833
  625. TOTAL        25.7500         15
  626. .PAGE
  627.                       THE CONFIDENCE INTERVAL TEST
  628.  
  629.      This program utilizes the mean square for error from the analysis of
  630. variance test to compute a confidence interval for each pair of means
  631. employed in the analysis of variance.  The user must supply the width of
  632. the interval by entering from a table of F the value given at a particular
  633. level of probability for his degrees of freedom.   The program will
  634. accomodate up to ten means.  The sample sizes need not be equal.  The
  635. following is an example of its use with five samples of equal size and
  636. a .05 interval:
  637.  
  638.          CONFIDENCE INTERVAL PROGRAM
  639.  
  640.          ENTER DESIRED F-VALUE FROM TABLE ON F.
  641.          ? 2.52
  642.          ENTER THE MEAN-SQUARE-FOR-ERROR FROM YOUR ANALYSIS OF VARIANCE
  643.          ? 1.8312
  644.          HOW MANY SAMPLE MEANS WERE THERE IN YOUR ANALYSIS OF VARIANCE
  645.          ? 5
  646. ***********
  647.          ENTER THE SAMPLE SIZE AND MEAN FOR EACH SAMPLE ON A LINE
  648.          ? 10,1.10
  649.          ? 10,1.50
  650.          ? 10,7.20
  651.          ? 10,23.50
  652.          ? 10,23.90
  653.  
  654.                              CONFIDENCE INTERVAL
  655.          MEAN      MEAN       FROM         TO        SIGNIFICANT
  656.  
  657.            1         2     -1.5214      2.3214           NO
  658.            1         3      4.1786      8.0214           YES
  659.            1         4     20.4786     24.3214           YES
  660.            1         5     20.8786     24.7214           YES
  661.            2         3      3.7786      7.6214           YES
  662.            2         4     20.0786     23.9214           YES
  663.            2         5     20.4786     24.3214           YES
  664.            3         4     14.3786     18.2214           YES
  665.            3         5     14.7786     18.6214           YES
  666.            4         5     -1.5214      2.3214           NO
  667.  
  668. .PAGE
  669.                    T-TEST FOR CORRELATED MEANS PROGRAM
  670.  
  671.      This program computes the student's t-value for a group's difference
  672. in scores at two time intervals.  Each variable or type of score is
  673. entered as a separate problem.  The program accommodates up to 250 pairs
  674. of scores and includes a routine for storage of data on a file as well
  675. as routines for verification and correction of data.  The following is
  676. an example of its use.
  677.  
  678.          T-TEST FOR CORRELATED MEANS PROGRAM
  679.  
  680.          ENTER YOUR SAMPLE SIZE
  681.          ? 8
  682.          DOES YOU DATA ALREADY EXIST IN A FILE    ?  NO
  683. ***********
  684.          ENTER YOUR SCORES, ONE PAIR ON A LINE.
  685.          ? 34,44
  686.          ? 38,42
  687.          ? 35,35
  688.          ? 33,38
  689.          ? 39,34
  690.          ? 40,46
  691.          ? 39,40
  692.          ? 41,43
  693.  
  694.          DO YOU WANT TO VERIFY YOUR DATA   ?  NO
  695.          DO YOU WANT TO CHANGE ANY SCORES  ?  NO
  696.  
  697.                                TIME 1        TIME 2      DIFFERENCE
  698.  
  699.          MEANS                 37.375        40.250          2.875
  700.          STD. DEV.             2.9731        4.3012         4.4861
  701.          STD. ERRORS          1.05115       1.52069        1.58607
  702.          T-VALUE                                           1.81265
  703. .PAGE
  704.                    T-TEST FOR INDEPENDENT MEANS
  705.  
  706.      This program computes the student's t-value for two independent
  707. samples.  Each variable or type of score is entered as a sample.
  708. The program accommodates up to 250 scores and includes a routine for
  709. storage of data on a disk and data verification.  The following is
  710. an example of its use.
  711.  
  712.              T-TEST FOR INDEPENDENT MEANS
  713.  
  714.          DOES YOUR DATA ALREADY EXIST IN A DISK FILE?  n
  715.  
  716.          HOW MANY SAMPLES ARE TO BE ENTERED?  2
  717.  
  718.          ARE YOUR SAMPLES OF EQUAL SIZE?      Y
  719.  
  720.          ENTER YOUR SAMPLE SIZE -       6
  721.  
  722. *****************
  723.  
  724.          ENTER YOUR DATA FOR SAMPLE 1 -- ONE VALUE OR SCORE ON A LINE.
  725.          1         ? 42
  726.          2         ? 38
  727.          3         ? 36
  728.          4         ? 40
  729.          5         ? 40
  730.          6         ? 38
  731.  
  732.          ENTER YOUR DATA FOR SAMPLE 2 -- ONE VALUE OR SCORE ON A LINE.
  733.          1         ? 36
  734.          2         ? 35
  735.          3         ? 37
  736.          4         ? 38
  737.          5         ? 36
  738.          6         ? 37
  739.  
  740.          DO YOU WISH TO VERIFY OR CHANGE YOUR DATA?  N
  741.  
  742. ***************
  743.  
  744.  
  745.       GROUP     CASES          MEAN       STD DEV      STD ERROR
  746.  
  747.         1         6          39.000        2.0976        0.85635
  748.         2         6          36.500        1.0488        0.42817
  749.  
  750.  
  751.  
  752.       SAMPLE VS SAMPLE    DIFFERENCE      T-VALUE          DF
  753.  
  754.         1         2           2.5000       5.4031          10
  755.  
  756.  
  757. .PAGE
  758.