home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 25 / CD_ASCQ_25_1095.iso / dos / educ / kstat41 / xxks1.lzh / KS4.DOC < prev    next >
Text File  |  1995-08-16  |  150KB  |  3,542 lines

  1.  
  2.      
  3.      
  4.      
  5.      
  6.      
  7.      
  8.      
  9.      
  10.      
  11.      
  12.                                    TexaSoft's
  13.                                USING KWIKSTAT 4.1
  14.                      Reference Guide, Condensed Disk Version
  15.      
  16.      (C)Copyright 1995 Alan C. Elliott
  17.      
  18.      (C)Copyright 1991, 92, 93, 94, 95 Alan C. Elliott For additional
  19.      information on this product, contact TexaSoft, P.O. Box 1169, Cedar
  20.      Hill, Texas 75106-1169 (214) 291-2115, Fax: (214) 291-3400,
  21.      Compuserve:70721,3145, Internet: 70721.3145@compuserve.com. Production
  22.      team: Alan Elliott, Marcia Stoesz, Paul Witt, Nancy Witt, Carol
  23.      Bigler, Doug Pollock, Melanie Walker. Program Testing Team: Leo Bolta,
  24.      Shopsy's Foods, Canada Randy Hamlin, Senior Scientist, R&D Dept.,
  25.      Hunt-Wesson, Inc. Dick Hawkins, Hunt-Wesson, Inc. Jack Holloway III,
  26.      University of Phoenix Robert Jirsa, Southern CT State University Chip
  27.      Kloos, Lab Manager, R&D Dept., Hunt-Wesson, Inc. Victor L. Landry,
  28.      Ph.D., The Mercy Hospital of Pittsburgh, PA Gerard Leboucher,Labo
  29.      Ethologie Et Psychoph, France Allen Lein, Professor Emeritus, UCSD
  30.      Randolph Maheux, Tampa, FL Sukanya Misra, SMU Sanford Moos, Lab
  31.      Manager, Enzo Labs Joseph Padgett, Raleigh, NC George Sadler, Ph.D.,
  32.      USC Prof. Emeritus, Okla. City, OK Dr. Karl-August Schaeffer, Cologne,
  33.      Germany Michael Stratil, Ph. D., Pembroke State University Wayne
  34.      Woodward, Ph. D., SMU Carter Yeager, Boston University
  35.      
  36.      All rights reserved. No part of this book may be reproduced without
  37.      prior permission. For information, address TexaSoft, P.O. Box 1169,
  38.      Cedar Hill, Texas 75106-1169.
  39.      
  40.      No patent liability is assumed with respect to the use of the
  41.      information contained herein. While every precaution has been taken in
  42.      the preparation of this publication, the publisher assumes no
  43.      responsibility for errors or omissions. Neither is any liability
  44.      assumed for damages resulting from the use of the information herein.
  45.      
  46.      The KWIKSTAT software and manual ("documentation") are copyrighted by
  47.      TexaSoft and are protected by both United States copyright and
  48.      International treaty provisions. Before you can use this program on an
  49.      on-going basis, you must pay a license fee. An order form is on disk
  50.      in the file named KSORDER.TXT
  51.      
  52.      Important Information in the file LATENEWS.DOC: On the KWIKSTAT disk
  53.      is a file named LATENEWS.DOC, which contains information about the
  54.      program that is not in this documentation.
  55.  
  56.      --------------------------------------------------------------------
  57.                          Please Become a Registered User
  58.  
  59.                                         1
  60.  
  61.      
  62.      KWIKSTAT 4.1 Statistical Data Analysis
  63.      --------------------------------------------------------------------
  64.      
  65.      ===========================
  66.      AN OVERVIEW OF KWIKSTAT 4.1
  67.      ===========================
  68.      
  69.      KWIKSTAT is a statistical data analysis program. It was designed by
  70.      professional statistical consultants and researchers to allow you to
  71.      quickly and easily use the most commonly needed statistical data
  72.      analysis procedures and graphs.
  73.      
  74.      KWIKSTAT REQUIREMENTS
  75.      
  76.      KWIKSTAT is a DOS program and may be run as either a stand alone
  77.      application, or as a DOS window executed from within the "Windows"
  78.      operating environment. It requires PC-DOS or MS-DOS version 3.0 or
  79.      higher. If you are running Windows, version 3.1 or higher is required.
  80.      Your computer should contain at least 512K or more of free RAM.
  81.      KWIKSTAT graphics require an EGA or VGA compatible monitor. Many
  82.      printers are supported. A mouse is optional.
  83.      
  84.      INSTALLATION
  85.      
  86.      In most cases, for a quick installation to a hard disk, you enter the
  87.      command:
  88.      
  89.      INSTALL
  90.      
  91.      Follow the instructions on the screen. This procedure will install the
  92.      program to a disk, and will automatically run the KWIKSTAT setup
  93.      program. After installing KWIKSTAT, you can begin the program from the
  94.      DOS prompt by entering the command KS.
  95.      
  96.      See the document on disk named KSWINDOWS.DOC for information on
  97.      installing KWIKSTAT as a Windows icon.
  98.      
  99.      USING THE KWIKSTAT MENUS
  100.      
  101.      KWIKSTAT menus are similar to a windows menu system. The main menu bar
  102.      contains five options: File, Edit, Analyze, Helps and About. Using the
  103.      right and left arrow keys on the cursor pad, you can move the menu
  104.      selection to one of the other menu bar options. Pressing the right
  105.      arrow key once moves the menu bar option from File to Edit. The File
  106.      pull-down menu vanishes and the Edit pull-down menu appears. Pressing
  107.      the left arrow key moves the selection back to the File menu. Or,
  108.      point to a menu option with the mouse and click.
  109.      
  110.      To select options from an extended menu (pulled-down), use the up and
  111.      down arrow keys  to highlight the option you desire, then press the
  112.      Enter key. Or, press the first letter of the option  name. If you are
  113.      using a mouse, point to the selection with the mouse pointer and
  114.      click. Here is brief description of each menu:
  115.      --------------------------------------------------------------------
  116.                          Please Become a Registered User
  117.  
  118.                                         2
  119.  
  120.      
  121.      KWIKSTAT 4.1 Statistical Data Analysis
  122.      --------------------------------------------------------------------
  123.      
  124.      
  125.      USING THE FILE MENU
  126.      
  127.      Before you can create a graph or calculate statistics, you must
  128.      create a database and enter data. The options are:
  129.      
  130.      NEW DATABASE  - You must create a new database and enter data before
  131.      doing any analysis or creating a  graph. The program creates and reads
  132.      dBase (.DBF) type file format  databases.
  133.      
  134.      OPEN A DATABASE - Open an existing database. A  database must be
  135.      opened so the program will know where the data is  located.
  136.      
  137.      SUBSET DATABASE - Creates a new database that is a subset of the
  138.      current database.
  139.      
  140.      COPY/BACKUP - Creates a copy of the database.It is useful to create a
  141.      duplicate copy in case the original copy is damaged.
  142.      
  143.      LIST (DISPLAY) THE CONTENTS OF THE DATABASE - Displays the information
  144.      in the database to the screen.
  145.      
  146.      MODIFY OR DISPLAY DATABASE STRUCTURE - Allows you to view or  change
  147.      characteristics about the database, including field widths and types.
  148.      
  149.      KILL - Deletes a database file from your disk.
  150.      
  151.      FILE UTILITIES - Imports information, creates reports, or outputs
  152.      data.
  153.      
  154.      EXIT - Ends the program.
  155.      
  156.      USING THE EDIT MENU
  157.      
  158.      The EDIT menu contains options that allow you to enter new data
  159.      into a database, edit data currently in a database, and other
  160.      editing options:
  161.      
  162.      EDIT RECORDS - Change data already in the database.
  163.      
  164.      APPEND RECORDS - Add new records to the database.
  165.      
  166.      MISSING VALUE CODES - Define missing value codes for your database.
  167.      Refer to the section titled "Setting Missing Value Codes".
  168.      
  169.      PACK DATABASE - Permanently erase all records marked for delete.
  170.      
  171.      ZAP - Get rid of all records in a database.
  172.      
  173.  
  174.      --------------------------------------------------------------------
  175.                          Please Become a Registered User
  176.  
  177.                                         3
  178.  
  179.      
  180.      KWIKSTAT 4.1 Statistical Data Analysis
  181.      --------------------------------------------------------------------
  182.      
  183.      USING THE ANALYZE MENU
  184.      
  185.      The KWIKSTAT ANALYZE menu allows you to choose which analysis module
  186.      to run. The menu items on the ANALYZE menu are:
  187.      
  188.      Descriptive Statistics
  189.      Graphs - Descriptive & Comparative
  190.      XYZ Visualization/Spin Plot
  191.      t-tests and Analysis of Variance (ANOVA)
  192.      Nonparametric Comparisons
  193.      Regression & Correlation
  194.      Crosstabulations, Frequencies, Chi Square
  195.      Life Tables and Survival Analysis
  196.      Data Generation, Concepts and Simulations
  197.      2-Way Advanced ANOVA Designs (Professional edition)
  198.      Multiple Comparisons (Professional edition)
  199.      Advanced Regression (Professional edition)
  200.      Time Series Analysis (Professional edition)
  201.      Quality control graphs and charts (Professional edition)
  202.      Pareto Charts (Professional edition)
  203.      
  204.      USING THE HELP MENU
  205.      
  206.      The KWIKSTAT Help system contains items to help you operate the
  207.      program. These include:
  208.      
  209.      PROGRAM HELP - Contains general program help information
  210.      TUTOR - Learn how to use the program
  211.      DECIDE WHAT ANALYSIS TO USE
  212.      CHANGE SETUP OPTIONS - Color, Printer, etc.
  213.      AUTOHELP/Hints (On or Off)
  214.      GO TO DOS, Return with Exit (Shell)
  215.      
  216.      TUTORIAL:TRY THIS EXAMPLE
  217.      
  218.      This short tutorial will give you a feeling for how to use KWIKSTAT.
  219.      It will assume you are using KWIKSTAT on a hard disk. To begin
  220.      KWIKSTAT, you must first be in the \KS4 directory on your hard disk.
  221.      Use the CD (Change Directory) command from the DOS prompt to change to
  222.      the \KS4 directory by using the command:
  223.      
  224.      CD\KS4   (or the directory where you installed KWIKSTAT.)
  225.      
  226.      Once in the \KS4 directory, begin KWIKSTAT with the KS command:
  227.      
  228.      KS
  229.      
  230.      The FILE pull-down menu will appear. (If the ANALYZE pull-down menu
  231.      appears, press the left arrow key twice to open the FILE menu.) This
  232.      example will use data already stored in a dBase ".DBF" file named
  233.      --------------------------------------------------------------------
  234.                          Please Become a Registered User
  235.  
  236.                                         4
  237.  
  238.      
  239.      KWIKSTAT 4.1 Statistical Data Analysis
  240.      --------------------------------------------------------------------
  241.      
  242.      EXAMPLE. Follow these steps:
  243.      
  244.      Step 1 Select a data file: Open the database named EXAMPLE by
  245.      selecting the Open a database option from the FILE menu, then choose
  246.      EXAMPLE from the list of files. (If the EXAMPLE database does not
  247.      appear on the list of databases, you may not have installed the
  248.      program correctly.) Once the database is opened, a notice at the
  249.      bottom of the screen tells you that the database named EXAMPLE is
  250.      open, and it contains 50 records.
  251.      
  252.      Step 2 View the contents of the database: Choose the List (display)
  253.      option from the menu.
  254.      
  255.      Step 3 Choose the ANALYZE pull-down menu: From the ANALYZE pull-down
  256.      menu, choose the Graphs option. KWIKSTAT now switches to the Graphs
  257.      module (which may take a few seconds). Soon, you will see the Graphs
  258.      module menu.
  259.      
  260.      Step 4 Select a plot type: From the Graphs menu, choose the TIME
  261.      SERIES PLOT option. The program now displays a screen with the fields
  262.      available for use by  the graph. The field names appear in a pick box
  263.      to the left of the screen, and an empty box appears to the right of
  264.      the screen.
  265.      
  266.      Step 5 Select fields to plot: From the left screen (list of fields),
  267.      choose which fields to plot in the time series plot. Choose the fields
  268.      TIME1 and TIME2.
  269.      
  270.      When you choose a field, it will appear in the "Fields to Graph" box.
  271.      After you choose the two fields, choose "Finished Choosing Fields."
  272.      After a few seconds, a time series plot will appear containing two
  273.      lines.
  274.      
  275.      The menu above the graph may be used to select user definable features
  276.      of the graphic display. The options include:
  277.      
  278.      EXIT - exit the graph and return to the module menu.
  279.      
  280.      OPTIONS - choose options for the graph including title, axis names,
  281.      footnote, and other options.
  282.      
  283.      PRINT - print the graph to your printer.
  284.      
  285.      CAP/PCX - capture the graph as a PCX file.
  286.      
  287.      GET COLORS - choose colors to be used to display the graph.
  288.      
  289.      +/- Smartpoint(tm) pointer used to select a datapoint on the screen.
  290.      Information about the selected point will be displayed. (see step 7.)
  291.      
  292.      --------------------------------------------------------------------
  293.                          Please Become a Registered User
  294.  
  295.                                         5
  296.  
  297.      
  298.      KWIKSTAT 4.1 Statistical Data Analysis
  299.      --------------------------------------------------------------------
  300.      
  301.      Step 6 Control the plot menu: On all graphic screens in KWIKSTAT, a
  302.      similar menu will appear at the top of the screen. If you want the
  303.      menu to temporarily vanish, press the spacebar. Press the spacebar
  304.      again for the menu to reappear. The  menu is active even if it is not
  305.      shown.
  306.      
  307.      Step 7 Using SmartPoint(tm): If you are using a mouse, place the mouse
  308.      pointer on a datapoint  on the screen and click. Or, if you are not
  309.      using a mouse, press the + (plus) key, then use the cursor keys to
  310.      position the + over a datapoint on the screen, and press Enter.
  311.      Information about the  datapoint you selected will be displayed on the
  312.      screen. This feature is particularly helpful in identifying points
  313.      that are interesting or "outliers." Press Enter to return to the plot.
  314.      
  315.      Step 8 Select color options: Press G or click on the "get color"
  316.      option. The color menu will appear. From this menu you can select
  317.      color options.  Most plots contain the following "get colors" menu:
  318.      
  319.      Menu - returns to the main graph menu
  320.      graph - changes graph colors
  321.      screen - changes background screen colors
  322.      labels - changes label colors
  323.      default - returns plot to original default colors
  324.      b&w - displays plot in black and white
  325.      help - displays help system
  326.      
  327.      Some "get color" menus also contain the option:
  328.      
  329.      tile - paints the plot using tiles rather than solid colors
  330.      
  331.      Step 9 End this example: Choose Menu to return to the Graph menu.
  332.      Choose Exit to return to the main graph menu. Choose Exit again to
  333.      return to the module menu.
  334.      
  335.      TIP: When you choose to print or capture the screen, the menu will
  336.      vanish, so the menu will not appear on the printout or PCX graphic.
  337.      
  338.      NOTE: You can also go through an on-screen tutorial on how to create a
  339.      chart by choosing the TUTORIAL option on the HELPS pull-down menu.
  340.      
  341.      EXAMPLE 2: DESCRIPTIVE STATISTICS
  342.      
  343.      This example uses the data stored in the database named EXAMPLE.
  344.      
  345.      Step 1 Open the database: To open the EXAMPLE database, select the
  346.      Open a Database option, then choose the EXAMPLE database.
  347.      
  348.      Step 2 Select an analysis module: Open the ANALYZE pull-down menu and
  349.      choose the Descriptive Statistics option from that menu.
  350.      KWIKSTAT switches to the Descriptive Statistics module.
  351.      --------------------------------------------------------------------
  352.                          Please Become a Registered User
  353.  
  354.                                         6
  355.  
  356.      
  357.      KWIKSTAT 4.1 Statistical Data Analysis
  358.      --------------------------------------------------------------------
  359.      
  360.      
  361.      Step 3 Choose analysis type: From the Descriptive Statistics menu,
  362.      choose "Detailed statistics (single interval variable)." The program
  363.      now displays the variables available for analysis from the database.
  364.      
  365.      Step 4 Select a field: Select the AGE variable. KWIKSTAT will perform
  366.      calculations on the data in field AGE, and will produce a screen of
  367.      descriptive statistics. At the bottom of this
  368.      screen are several options.
  369.      
  370.      The Descriptive Statistics report screen menu options are:
  371.      
  372.      Exit - return to the main module menu
  373.      
  374.      graph - displays a graphic representation of the data
  375.      
  376.      view/print - allows you to print the information using the KWIKSTAT
  377.      text viewer.
  378.      
  379.      ci - allows you to choose the confidence interval level.
  380.      
  381.      percent - allows you to choose what percentiles will be displayed.
  382.      
  383.      new var - returns you to the variable selection menu.
  384.      
  385.      Step 5 Display the graph: Choose the Graph option. This screen allows
  386.      you to examine the distribution of numbers in the variable being
  387.      analyzed (AGE in this case.) Several options on this menu that were
  388.      not described in the previous example are:
  389.      
  390.      exit - returns to the descriptive statistics summary screen.
  391.      
  392.      mean CI off/on - displays a normal curve on the histogram, and shows
  393.      where the mean and confidence interval is located on the box plot.
  394.      
  395.      print - prints the screen to the printer.
  396.      
  397.      + (plus) and -(minus) - redraws the histogram using more or fewer
  398.      classes. dist. off/on -- allows you to display a cumulative
  399.      distribution for the data.
  400.      
  401.      cap/PCX - captures the graph in a file using the PCX graph format.
  402.      
  403.      b&w or color - displays the graph using black and white or color.
  404.      
  405.      Step 6 End this tutorial: Choose Exit to return to the previous
  406.      screen. Choose Exit again to return to the module menu. End KWIKSTAT
  407.      by choosing the Quit option. This ends the tutorial.
  408.      
  409.  
  410.      --------------------------------------------------------------------
  411.                          Please Become a Registered User
  412.  
  413.                                         7
  414.  
  415.      
  416.      KWIKSTAT 4.1 Statistical Data Analysis
  417.      --------------------------------------------------------------------
  418.      
  419.      ===========================
  420.      USING THE KWIKSTAT DATABASE
  421.      ===========================
  422.      The FILE and EDIT pull-down menus are used to manage your data.
  423.      
  424.      Here is a roadmap to help you find the area of this chapter that
  425.      will be most helpful to you according to your database needs:
  426.      
  427.      YOUR DATA IS ALREADY IN A DBASE DATABASE: If your data is already in a
  428.      database, you may not have to use any of the procedures in this
  429.      chapter. Simply copy your database into your KWIKSTAT data
  430.      subdirectory, and it will be accessible immediately. If you have
  431.      missing values, you should review the section titled "Missing Value
  432.      Codes." If you have memo fields in your database, review the section
  433.      called "Using dBASE files."
  434.      
  435.      YOU NEED TO ENTER YOUR DATA: If your data is not already in a file,
  436.      you will need to create a database and enter your data. In this case,
  437.      read the next few sections beginning with "An Overview of Database
  438.      Creation and Design" and perform the two examples to learn how to
  439.      create a KWIKSTAT database. Your data is in a non-dBASE file: If your
  440.      data is already on the computer, but not in a dBASE (.DBF) file, you
  441.      can usually import the data into KWIKSTAT. See the section titled
  442.      "Using data from other programs" later in this chapter.
  443.      
  444.      DATABASE CREATION AND DESIGN
  445.      
  446.      The process for entering data and performing an analysis can be
  447.      summarized in three steps:
  448.      
  449.      Step 1: Create a database.
  450.      Step 2: Enter data into the database.
  451.      Step 3: Choose an analysis option.
  452.      
  453.      OPTIONS FOR CREATING A NEW DATABASE
  454.      
  455.      Before you can enter data into a database, you must create a new
  456.      database. The New Database option on the FILE Menu is used to
  457.      create a new database. The structure, or layout, of a database must
  458.      be described before you enter your data. KWIKSTAT allows you to
  459.      create a new database in two ways:
  460.      
  461.      1. Choose from a predefined structure or
  462.      2. Create a customized database structure.
  463.      
  464.      The following sections describe these two options.
  465.      
  466.  
  467.  
  468.  
  469.      --------------------------------------------------------------------
  470.                          Please Become a Registered User
  471.  
  472.                                         8
  473.  
  474.      
  475.      KWIKSTAT 4.1 Statistical Data Analysis
  476.      --------------------------------------------------------------------
  477.      
  478.      CREATING A DATABASE FROM A PRE-DEFINED STRUCTURE
  479.      
  480.      A pre-defined structure is a "blank" database designed for a
  481.      particular analysis type. Using a pre-defined database allows you to
  482.      create a database for your analysis without having to worry about what
  483.      fields are necessary, what type they should be, their width, and so
  484.      on.
  485.      
  486.      The list below contains examples of some of the pre-defined database
  487.      descriptions available when you choose to create a New Database.
  488.      Choose the option that will create a database structure for the kind
  489.      of analysis you will perform. (You may have to scroll to see some of
  490.      the options.)
  491.      
  492.      CREATE A CUSTOMIZED DATABASE
  493.      SINGLE VARIABLE, DETAILED STAT, HISTOGRAM, STEM & LEAF
  494.      GROUPED HISTOGRAM, STATISTICS OR STEM & LEAF
  495.      SIMPLE BAR CHART: LABEL AND VALUE
  496.      PIE CHART: LABEL AND VALUE
  497.      ETC...
  498.      
  499.      CREATING A CUSTOMIZED DATABASE
  500.      
  501.      If none of the pre-defined database structures meet your needs, you
  502.      need to create a customized database. The following sections describe
  503.      how you create a customized database structure to match your analysis
  504.      needs.
  505.      
  506.      SPECIFYING FIELD TYPES REQUIRED BY AN ANALYSIS
  507.      
  508.      When you create a new database, you must specify certain
  509.      information about each data field, including the field name, type,
  510.      width and number of decimals (if any):
  511.      
  512.      1. The FIELDNAME: A fieldname must be 1 to 10 characters in length and
  513.      MUST begin with a character (a to z) and can contain letters, numbers
  514.      and the underscore character "_". Upper and lower case DO NOT matter,
  515.      since the name is always translated into all upper case.
  516.      
  517.      2. The TYPE:Type may be . . .
  518.      
  519.      CHARACTER - May contain any characters.
  520.      
  521.      NUMERIC - Must contain numbers only. Example legal numbers are:1.00,
  522.      -4.32, 6, 10000. Example illegal numbers are: 450-23-1232, $23.95,
  523.      40%. (For data like these, use the character type.)
  524.      
  525.      DATE or LOGICAL fields can be created in KWIKSTAT, but KWIKSTAT
  526.      analyses will only use numeric and character fields. Thus, date and
  527.      logical fields are treated the same as CHARACTER fields, except for
  528.      --------------------------------------------------------------------
  529.                          Please Become a Registered User
  530.  
  531.                                         9
  532.  
  533.      
  534.      KWIKSTAT 4.1 Statistical Data Analysis
  535.      --------------------------------------------------------------------
  536.      
  537.      subsettings and in transformations (Replace).
  538.      
  539.      3. The WIDTH of the field: Choose a width so that the maximum number
  540.      of characters needed will fit into the field. For DATE or LOGICAL
  541.      types, field widths are automatically set at 8 or 1 respectively.
  542.      
  543.      4. DECIMALS:Decimals are only valid for numeric fields. This specifies
  544.      to KWIKSTAT how many decimals to retain in the field. For example, if
  545.      you wish to store numbers that are dollar prices, your data may look
  546.      like "9999.99". This field would have a width of 7, with 2 decimals.
  547.      
  548.      KWIKSTAT DATABASE LIMITATIONS
  549.      
  550.      Maximum of 250 fields.
  551.      Maximum width of a field name is 10 characters.
  552.      Maximum width of a cell is 60 characters (15 for numbers).
  553.      Dates are always 8 characters and logical fields are 1 character wide.
  554.      Memo fields are not supported.
  555.      
  556.      DATABASE EXAMPLES
  557.      
  558.      This section provides you with two examples of creating a KWIKSTAT
  559.      database. Go over these examples before creating your own database and
  560.      performing your own analysis. Following these examples will answer a
  561.      number of questions you may have about how to use KWIKSTAT.
  562.      
  563.      EXAMPLE 1, USING A PRE-DEFINED STRUCTURE
  564.      
  565.      This example shows how you would perform an independent group t-test
  566.      in KWIKSTAT using one of the pre-defined database structures. In this
  567.      example, 13 plants were randomly allocated to two groups. Group one
  568.      received the present fertilizer and group 2 received a newer
  569.      fertilizer. After a period of time, you observed the heights of the
  570.      plants. The results are:
  571.      
  572.      Data for independent group t-test (fertilizer study)
  573.      
  574.      Present  Newer Fertilizer
  575.      46.2 cm   51.3 cm
  576.      55.6      52.4
  577.      53.3      54.6
  578.      44.8      52.2
  579.      55.4      64.3
  580.      56.0      55.0
  581.      48.9
  582.      
  583.      In order to enter this into a database, you must assign group numbers
  584.      (or letters) to each group. For example, we will call the "Present
  585.      Fertilizer" group 1 and the "Newer Fertilizer" group 2.
  586.      
  587.      --------------------------------------------------------------------
  588.                          Please Become a Registered User
  589.  
  590.                                         10
  591.  
  592.      
  593.      KWIKSTAT 4.1 Statistical Data Analysis
  594.      --------------------------------------------------------------------
  595.      
  596.      The database will include thirteen records (one for each plant) and
  597.      two fields (one for the response and one for the group indicator).
  598.      When entered into the database, the data will look like this:
  599.      
  600.      Group  Height
  601.      1      46.2
  602.      1      55.6
  603.      1      53.3
  604.      1      44.8
  605.      1      55.4
  606.      1      56.0
  607.      1      48.9
  608.      2      51.3
  609.      2      52.4
  610.      2      54.6
  611.      2      52.2
  612.      2      64.3
  613.      2      55.0
  614.      
  615.      Step 1 Create the Database: From the FILE Menu on the main KWIKSTAT
  616.      menu screen select New database.
  617.      
  618.      Step 2 Name the Database: You will be prompted to enter the name of
  619.      the database you are creating. Type a name (e.g., TTEST (maximum of 8
  620.      characters)) and press Enter.
  621.      
  622.      Step 3 Select a Structure type. A screen with the instruction "Choose
  623.      the database type to create from the menu below" will appear. Since
  624.      you are performing an independent group t-test, you can select the
  625.      option titled INDEPENDENT GROUP T-TEST OR ANOVA from this list. This
  626.      process automatically builds a database structure suitable for
  627.      entering data for this kind of analysis. In this case, the database
  628.      will contain a grouping field GROUP (where you will enter a 1 or 2,
  629.      the fertilizer type) and an observation field OBS (where you will
  630.      enter the height.)
  631.      
  632.      Step 4 Enter the Data: A data entry screen will appear where you will
  633.      enter the data. In the spreadsheet type of entry, the field names are
  634.      listed at the top of the screen, and the record numbers at the left
  635.      side. The data you will enter in the first record is 1 (press Enter)
  636.      and 46.2 (press Enter). When you type the 46.2 and press Enter, your
  637.      cursor will automatically move to record number 2, where you will
  638.      enter 1 and 55.6, and so on.
  639.      
  640.      Enter the data for the thirteen records. For each record of a "Present
  641.      Fertilizer" observation, enter "1" for the GROUP variable. For the
  642.      "Newer Fertilizer" observations enter a "2" for the GROUP variable.
  643.      The eighth record is 2 and 51.3. Once all 13 records have been
  644.      entered, the program will be waiting for a 14th record to be entered.
  645.      
  646.      --------------------------------------------------------------------
  647.                          Please Become a Registered User
  648.  
  649.                                         11
  650.  
  651.      
  652.      KWIKSTAT 4.1 Statistical Data Analysis
  653.      --------------------------------------------------------------------
  654.      
  655.      Since there is no 14th record, press the F7 function key (Exit) to end
  656.      the data entry process. KWIKSTAT will return to the Data main menu.
  657.      
  658.      Step 5 Performing the Analysis: From the main KWIKSTAT menu, select
  659.      ANALYZE. From the ANALYZE pull-down menu, select t-tests and Analysis
  660.      of Variance (ANOVA). The menu will appear.
  661.      
  662.      Select Compare independent groups (t-test, ANOVA). A field selection
  663.      dialog box titled "Choose a grouping variable" will appear with the
  664.      following options:
  665.      
  666.      Exit Choices
  667.      GROUP   (N)
  668.      OBS   (N)
  669.      
  670.      Select GROUP as the grouping field. Another dialog box will appear
  671.      titled "Choose a data (numeric only) variable" with the same options.
  672.      Select OBS, as the data variable (OBS contains the height data). Note:
  673.      If you want to cancel the analysis, you would choose the Exit Choices
  674.      option.
  675.      
  676.      KWIKSTAT will now perform the calculations and display another dialog
  677.      box on the screen with the following options:
  678.      
  679.      A) View or print the calculated results
  680.      B) Graphical Comparison
  681.      Q) Quit, return to main menu
  682.      
  683.      Choose the "A)View..." option. The results of the analysis will appear
  684.      on the screen in the KWIKSTAT viewer. Select Exit (F7) to exit the
  685.      viewer and return to option menu. Choose "Q)Quit..." to return to the
  686.      module menu. Select "X)Exit..." to return to the main KWIKSTAT menu.
  687.      
  688.      EXAMPLE 2, CREATING A CUSTOMIZED DATABASE STRUCTURE
  689.      
  690.      This example shows you how to enter data and perform some simple
  691.      statistics and graphs. It will show you both the spreadsheet and
  692.      database entry screens. The data that will be used is listed below.
  693.      The GRADE variable is the grade received in the class, AGE is age, SEX
  694.      is sex, WT is weight and SCORE is the score on a pre-test (maximum of
  695.      25 points). In database language, these variables are called fields.
  696.      
  697.      Step 1 Choose the New database option: From the FILE menu, choose the
  698.      New Database option. You will be prompted to enter the name of the
  699.      database. Enter the name MYDATA (a DOS compatible filename).
  700.      
  701.      Step 2 Choose Customize option: Once you have entered a filename for
  702.      the database, a list of database structures will be displayed similar
  703.      to the list on page 2-4. For this example, choose the CREATE A
  704.      CUSTOMIZED DATABASE option.
  705.      --------------------------------------------------------------------
  706.                          Please Become a Registered User
  707.  
  708.                                         12
  709.  
  710.      
  711.      KWIKSTAT 4.1 Statistical Data Analysis
  712.      --------------------------------------------------------------------
  713.      
  714.      
  715.         GRADE    AGE   SEX   WT    SCORE
  716.      1  A        18     M   165    22.3
  717.      2  B        19     M   145    22.8
  718.      3  B        17     F   122    22.8
  719.      4  C        18     M   196    18.5
  720.      5  B        17     M   188    19.5
  721.      6  B        18     F   140    23.5
  722.      7  C        19     F   121    22.6
  723.      8  B        20     F   112    21.0
  724.      9  C        19     F   122    20.9
  725.      10 A        18     M   176    22.5
  726.      11 B        18     M   165    23.3
  727.      12 A        19     M   135    21.8
  728.      13 A        18     F   121    24.8
  729.      14 C        19     M   186    16.5
  730.      15 B        17     M   148    18.5
  731.      
  732.      Step 3: Define the Database Structure: For each field (each item of
  733.      data) in the database, you must specify the following information:
  734.      
  735.      A name of the field - something to identify it
  736.      
  737.      The type of data - is it numeric or character?
  738.      
  739.      The width of the field - enough to hold the biggest entry
  740.      
  741.      Decimal places - if needed
  742.      
  743.      For the data in this example, you will use the following information:
  744.      
  745.      Field name  Type  Width  Dec
  746.      GRADE       C     2
  747.      AGE         N     3
  748.      SEX         C     2
  749.      WT          N     4
  750.      SCORE       N     5       1
  751.      
  752.      The GRADE and SEX variables are of type "C" (Character) and the rest
  753.      of the variables are numbers "N". Only the SCORE variable requires a
  754.      decimal value. Enter the information about the database structure into
  755.      the database definition screen.
  756.      
  757.      Step 4 Enter the data: A data entry screen will appear listing the
  758.      names of all of the fields and an area to enter the data. KWIKSTAT
  759.      includes two types of data entry screens, database type and
  760.      spreadsheet type. In the Setup routine, you chose one of these two
  761.      entry options. The following discussion shows you how to enter data in
  762.      the spreadsheet screen.
  763.      
  764.      --------------------------------------------------------------------
  765.                          Please Become a Registered User
  766.  
  767.                                         13
  768.  
  769.      
  770.      KWIKSTAT 4.1 Statistical Data Analysis
  771.      --------------------------------------------------------------------
  772.      
  773.      TIP: You can toggle between spreadsheet entry mode and database entry
  774.      mode by pressing the F8 (Switch) key.
  775.      
  776.      Step 4A Using a spreadsheet entry screen: The spreadsheet screen, as
  777.      shown in figure 2.7 looks similar to a spreadsheet. If you prefer to
  778.      use the database entry mode, skip to the section titled "Using a
  779.      database entry screen."
  780.      
  781.      The names of the database fields (Grade, Age, etc.) are listed at the
  782.      top of the screen (columns) and the record numbers are listed down the
  783.      left side of the screen (rows). Initially, since you do not have any
  784.      records entered into the database, the only row displayed is the -ADD-
  785.      row, which indicates that you are adding a new record.
  786.      
  787.      To enter data into the database, begin typing the entry for the first
  788.      field (GRADE). Type an A (upper case), then press Enter. Your cursor
  789.      moves to the next field (AGE). Type 18 and press Enter. Type upper
  790.      case M and press Enter. Continue until you have entered 22.3 in the
  791.      SCORE field. When you press Enter after entering 22.3, a new row
  792.      appears to allow you to enter the second record of information, and
  793.      your cursor moves to the first field of this record. Continue entering
  794.      information in the spreadsheet until all records are entered. If you
  795.      make a mistake on a record, you can use the right or left arrow keys
  796.      to move your cursor and correct the mistake. If you discover that you
  797.      have made an error in a previous record skip to step 5 now. When you
  798.      have finished entering the information in the database, end the entry
  799.      procedure, press  F7 (Exit.).
  800.      
  801.      Step 5 Correcting errors in the database: Before exiting the data
  802.      entry screen, you can correct errors in data entry mode by using the
  803.      F2 key to toggle into Edit mode. The edit screen is similar to the
  804.      screen used to enter data. Use the cursor keys to move to the field to
  805.      edit, and change the value. Exit the edit screen/data editor by
  806.      selecting the F7 (Exit) command. You will return to the KWIKSTAT main
  807.      menu.
  808.      
  809.      Step 6 Perform a Descriptive Statistics analysis: Once you have
  810.      entered your data into the database, you are ready to perform one or
  811.      more analyses. From the main KWIKSTAT menu, choose the ANALYZE
  812.      pull-down menu. Choose the Descriptive Statistics option on the
  813.      ANALYZE menu. After a few seconds, the Descriptive Statistics menu
  814.      will appear. This menu lists the options you can choose from the
  815.      Descriptive Statistics module.
  816.      
  817.      Step 7 Select Detailed Statistics: To calculate detailed statistics
  818.      for a variable in your database, select the option called "Detailed
  819.      Statistics (single interval variable)". A screen will appear prompting
  820.      you to specify what field to use in the calculations. Select AGE. The
  821.      detailed statistics screen for the selected variables will appear on
  822.      the screen. Once you have examined these results, select Exit to exit
  823.      --------------------------------------------------------------------
  824.                          Please Become a Registered User
  825.  
  826.                                         14
  827.  
  828.      
  829.      KWIKSTAT 4.1 Statistical Data Analysis
  830.      --------------------------------------------------------------------
  831.      
  832.      the screen. This output is discussed later in "Using Descriptive
  833.      Statistics."
  834.      
  835.      USING THE KWIKSTAT FILE MENU
  836.      
  837.      The FILE Menu is the first menu you normally use when you begin
  838.      KWIKSTAT. From this menu, you open a database or create a new
  839.      database. Either way, you usually must have data in a database before
  840.      you can perform an analysis. This section describes the options on the
  841.      FILE Menu.
  842.      
  843.      NEW DATABASE
  844.      
  845.      When you choose New Database from the FILE Menu, you will be prompted
  846.      to enter the name of the database. Enter a file name such as MYDATA.
  847.      (Eight characters maximum.) Once you have entered a filename for the
  848.      database, you can choose from a list of pre-defined database
  849.      structures, or create your own. See Examples 1 and 2 later in this
  850.      chapter for a tutorial on using a pre-defined structure or creating a
  851.      customized database structure.
  852.      
  853.      OPEN A DATABASE
  854.      
  855.      The Open a database to use option on the FILE Menu allows you to
  856.      access information in a dBASE file that you created in KWIKSTAT, in
  857.      dBASE, or in any other program that creates .DBF files.
  858.      
  859.      If the database you want to use is not in the current (default)
  860.      directory, you can temporarily change the default directory by
  861.      selecting "Choose New Path (F2)". You will be asked to enter a path
  862.      name (such as \DB3). Then, the .DBF files in that directory will be
  863.      displayed in a list, and you can choose the database to use from that
  864.      list. Another way to open a database that is not in the default
  865.      directory is to enter it by name. To do this select "Enter Choice by
  866.      Name (F3)". You will be prompted to enter the name of the database to
  867.      use. For example, if the database you want to use is MYDATA.DBF and it
  868.      is in the \DB3 directory, you would enter \DB3\MYDATA. Do not include
  869.      the .DBF extension in the name.
  870.      
  871.      Once a database is open, you will see its name at the bottom left of
  872.      the screen, along with the number of records in the database. Once a
  873.      database is open, you can edit, pack, modify, set missing values,
  874.      subset and list the database using the other options on the FILE Menu.
  875.      
  876.      SUBSET A DATABASE
  877.      
  878.      The Subset database option on the FILE Menu allows you to create a new
  879.      database from an old one. The new database can be a subset of the old
  880.      one, using a conditional criteria for outputting information from the
  881.      old database to the new one.
  882.      --------------------------------------------------------------------
  883.                          Please Become a Registered User
  884.  
  885.                                         15
  886.  
  887.      
  888.      KWIKSTAT 4.1 Statistical Data Analysis
  889.      --------------------------------------------------------------------
  890.      
  891.      
  892.      For example, suppose you have a database with a field GROUP with
  893.      values 1, 2, 3, 4 and 5. You want to create a database that does NOT
  894.      include Group 5. After choosing Subset database from the FILE Menu,
  895.      you are asked for the name of the new database. For example, your new
  896.      database might be named NO5.DBF. You are asked for the field name to
  897.      be used in the selection criteria. In this case, you would choose the
  898.      field named GROUP. Next you must enter the selection relationship. It
  899.      will be described as a numerical expression. The conditional operators
  900.      you may use are:
  901.      
  902.      = (equal)
  903.      > (greater than)
  904.      < (less than)
  905.      >= (greater than or equal to)
  906.      <= (less than or equal to)
  907.      <> (not equal to)
  908.      
  909.      For example, you would enter the condition
  910.      
  911.      GROUP <5
  912.      
  913.      You can also use the logical operators .NOT., .AND., and .OR.. It is
  914.      important that a dot (.) appear before and after each logical
  915.      operator. For example, a conditional expression to include only groups
  916.      1 and 5 would be
  917.      
  918.      GROUP = 5 .OR. GROUP = 1
  919.      
  920.      Other examples of conditional expressions are
  921.      
  922.      GROUP > STATUS
  923.      GROUP < WEIGHT*HEIGHT
  924.      TIME1 = TIME2*1.96
  925.      SEX <> 'F'
  926.      TIME1 <=20 .AND. SEX = 'M'
  927.      
  928.      When you choose the Subset option from the FILE Menu, a Subset dialog
  929.      box appears on the screen. There are two items you must enter in the
  930.      Subset dialog box. First is a name for the new database. This must not
  931.      be the same name as the current database. Then, you must enter the
  932.      subset criteria. Examples of subsetting criteria are:
  933.      
  934.      Once you have entered the filename and condition, press the F7 key to
  935.      begin the subset procedure. A database with the name you specified
  936.      will be created, containing the records selected by your condition
  937.      statement. Note: When creating conditional expressions for subsetting,
  938.      use the functions  described in the table "Database Calculator
  939.      Functions" later.
  940.      
  941.      --------------------------------------------------------------------
  942.                          Please Become a Registered User
  943.  
  944.                                         16
  945.  
  946.      
  947.      KWIKSTAT 4.1 Statistical Data Analysis
  948.      --------------------------------------------------------------------
  949.      
  950.      COPY/BACKUP DATABASE FILE
  951.      
  952.      The Copy/Backup Database File option on the FILE menu allows you to
  953.      quickly create a backup copy of your database information. This is
  954.      recommended, particularly for large database because sometimes
  955.      databases become corrupt or are made unusable for some other reason.
  956.      
  957.      LIST RECORDS
  958.      
  959.      The List (display) the contents of a database option on the FILE Menu
  960.      allows you to look at the information in your database.
  961.      
  962.      MODIFY OR DISPLAY STRUCTURE
  963.      
  964.      The Modify or Display database structure option on the FILE Menu
  965.      allows you to display the structure of your database, and allows you
  966.      to change characteristics about the database structure. When you
  967.      choose to display the structure, a list of all field names, their
  968.      types, widths and decimals (if any) are listed. When you choose to
  969.      modify a database, you are given a chance to modify the
  970.      characteristics of each field. Your options are:
  971.      
  972.        Delete the Field
  973.        Change Name of Field
  974.        Change Type of Field
  975.        Change Width of Field
  976.        Change Number of Decimal Places
  977.      
  978.      If you change the type of field, say from character to numeric, the
  979.      program will attempt to convert the contents of the field to its new
  980.      type. When you modify a database, you will be asked to enter the name
  981.      of a new database. This means that the modified database will be in a
  982.      new file, and your old original database will remain intact. If you no
  983.      longer want the old database, you must delete it by choosing the Kill
  984.      database file option from the FILE Menu.
  985.      
  986.      KILL (DELETE) A DATABASE
  987.      
  988.      The Kill - Delete database file option allows you to delete a database
  989.      and its related missing values files (if any.)
  990.      
  991.      FILE UTILITIES - EXPORT, IMPORT, REPORT
  992.      
  993.      This menu provides several data utilities. When you choose this
  994.      option, the KWIKSTAT utilities menu appears. It allows you to choose
  995.      from these options:
  996.      
  997.      Export data to an SDF file -- This option allows you to write out the
  998.      data in a database to an ASCII file. This option is useful when you
  999.      are wanting to transfer data from your KWIKSTAT database to another
  1000.      --------------------------------------------------------------------
  1001.                          Please Become a Registered User
  1002.  
  1003.                                         17
  1004.  
  1005.      
  1006.      KWIKSTAT 4.1 Statistical Data Analysis
  1007.      --------------------------------------------------------------------
  1008.      
  1009.      program that does not read .DBF files. See "Exporting Data" later in
  1010.      this chapter.
  1011.      
  1012.      Import data from a Comma Delimited file or from a 1-2-3 file -- See
  1013.      the section below titled "Entering or Importing Data" for information
  1014.      on how to import data into a KWIKSTAT database.
  1015.      
  1016.      Report - Allows you to produce a report using the data in your
  1017.      database. See the section titled "Printing a Report" later in this
  1018.      chapter
  1019.      
  1020.      Sort - (Professional Edition Only) Allows you to sort your database in
  1021.      ascending or descending order using any field in the database.
  1022.      
  1023.      EXIT KWIKSTAT
  1024.      
  1025.      Use this option to end the KWIKSTAT program.
  1026.      
  1027.      USING THE KWIKSTAT EDIT MENU
  1028.      
  1029.      The EDIT menu allows you to modify and manage data in a KWIKSTAT
  1030.      database. Often, after you have created a database, you need to add
  1031.      new data or modify the current data. You can also add new fields,
  1032.      calculate new variables and delete fields or records. This section
  1033.      describes the options you can access from the EDIT menu.
  1034.      
  1035.      EDIT RECORDS, ADD, DELETE OR REPLACE FIELDS
  1036.      
  1037.      When you choose the Edit records option, the KWIKSTAT data editor will
  1038.      appear. The data editor is described in detail in the section titled
  1039.      "Using the KWIKSTAT Data Entry Screens" later in this chapter.
  1040.      
  1041.      APPEND RECORDS, FROM KEYBOARD OR FILE...
  1042.      
  1043.      The Append records option allows you to add new records to an existing
  1044.      database. You have three data entry options:
  1045.      
  1046.      Enter data from keyboard - Allows you to enter data by typing it on
  1047.      the keyboard.
  1048.      
  1049.      Enter data from a text file - Allows you to import data from an ASCII
  1050.      file. See the Section titled "Entering and Importing Data" later in
  1051.      this chapter.
  1052.      
  1053.      Append data from a dBASE file - Allows you to append data from another
  1054.      in this chapter.
  1055.      
  1056.  
  1057.  
  1058.  
  1059.      --------------------------------------------------------------------
  1060.                          Please Become a Registered User
  1061.  
  1062.                                         18
  1063.  
  1064.      
  1065.      KWIKSTAT 4.1 Statistical Data Analysis
  1066.      --------------------------------------------------------------------
  1067.      
  1068.      MISSING VALUES CODES
  1069.      
  1070.      Sometimes in the collection of data there are values that are lost or
  1071.      cannot be gathered. These are called "missing values". When such
  1072.      values occur, it is important for the program to know that the values
  1073.      are missing so that statistical calculations may take this into
  1074.      account. Missing values are usually designated as an impossible value.
  1075.      For example, the missing values designated for the variable AGE may be
  1076.      -9, since it is impossible for the variable AGE to have the value -9.
  1077.      When the program is asked to calculate the mean of age, for example,
  1078.      it will ignore those records where AGE is -9 in that calculation if -9
  1079.      has been specified as the missing value code. In most KWIKSTAT
  1080.      procedures, there is a casewise deletion of the record from
  1081.      calculation whenever a missing value is encountered.
  1082.      
  1083.      Once you designate a missing value code for a variable, it is up to
  1084.      you to make sure that this code gets placed into your database in the
  1085.      proper records and fields.  For example, if you have designated -9 as
  1086.      the missing value code for AGE, you must make sure that in your
  1087.      database a -9 appears in the field AGE if that data is missing or
  1088.      unknown.
  1089.      
  1090.      The Indicate missing value codes option on the FILE Menu is used to
  1091.      set up these values. When this option is selected, the program will
  1092.      display an entry screen that is similar to a data entry screen. You
  1093.      may enter one missing value for each field name. The missing value
  1094.      must obey the definition of the field in terms of length and type.
  1095.      
  1096.      Once missing values are entered, they are stored on disk in a file
  1097.      named filename. MV, where "filename" is the name of the designated
  1098.      database. If a new variable is created using the transformation
  1099.      procedure, its missing value is appended to the missing value file.
  1100.      
  1101.      You may change or correct the missing values for a database at any
  1102.      time by calling up this option. If missing values are already
  1103.      designated for the database, they will be displayed on the entry
  1104.      screen, and you may edit them or accept them as they are.
  1105.      
  1106.      Note: If missing values are NOT used, and there is a blank numeric
  1107.      variable in a calculation, it may be treated like the value 0 (zero),
  1108.      so it is important to use missing values if your data contains such
  1109.      entries. Otherwise, the statistical calculations may be in error!!
  1110.      
  1111.      PACK DATABASE
  1112.      
  1113.      The records marked for delete are not actually erased from the file at
  1114.      this point. However, they will be ignored in most analyses, and will
  1115.      continue to be displayed when you edit the database. See "Edit Mode
  1116.      Options" later.
  1117.      
  1118.      --------------------------------------------------------------------
  1119.                          Please Become a Registered User
  1120.  
  1121.                                         19
  1122.  
  1123.      
  1124.      KWIKSTAT 4.1 Statistical Data Analysis
  1125.      --------------------------------------------------------------------
  1126.      
  1127.      If you want to permanently get rid of the records you have marked for
  1128.      delete, choose the Pack procedure from the FILE Menu. This procedure
  1129.      erases all "deleted" records from the database.
  1130.      
  1131.      ZAP - GET RID OF ALL RECORDS
  1132.      
  1133.      The Zap option in the EDIT menu allows you to quickly erase all
  1134.      records from a database. To use this option, open a database, then
  1135.      choose Zap.
  1136.      
  1137.      USING THE KWIKSTAT DATA ENTRY SCREENS
  1138.      
  1139.      If there is a need to change data already in a database, you may
  1140.      choose the Edit records option from the EDIT menu. Editing is similar
  1141.      to entering data. Use the up and down arrow keys to move from field to
  1142.      field within a record and type in any change you want to make in the
  1143.      field. The section below describes the menu bar options available to
  1144.      you in the data entry screen.
  1145.      
  1146.      USING APPEND & ENTRY SCREEN MENU BAR OPTIONS
  1147.      
  1148.      When you are appending information to the database, there are several
  1149.      function key options that you can choose. These options are listed at
  1150.      the bottom of the entry screen.
  1151.      
  1152.      APPEND MODE OPTIONS
  1153.      To choose an option, press the function key related to the option, or
  1154.      point to the option with the mouse and click. The options available
  1155.      are:
  1156.      
  1157.      F1 Help - Displays the KWIKSTAT Help menu.
  1158.      
  1159.      F2   Edit - Toggles between edit mode (correct current entries) and
  1160.      append mode (add new entries).
  1161.      
  1162.      F7 Exit- Exits entry mode and returns you to the main KWIKSTAT menu.
  1163.      
  1164.      F8 Switch - Switches between spreadsheet type entry and database entry
  1165.      mode.
  1166.      
  1167.      F10 Print - Print the current record to the printer or to a file.
  1168.      
  1169.      EDIT MODE OPTIONS
  1170.      
  1171.      When you are in edit mode, a slightly different menu bar appears
  1172.      containing the following items:
  1173.      
  1174.      F1 Help - Displays the KWIKSTAT Help menu.
  1175.      
  1176.      F2 Append - Toggles between edit mode and append mode.
  1177.      --------------------------------------------------------------------
  1178.                          Please Become a Registered User
  1179.  
  1180.                                         20
  1181.  
  1182.      
  1183.      KWIKSTAT 4.1 Statistical Data Analysis
  1184.      --------------------------------------------------------------------
  1185.      
  1186.      
  1187.      F3 Delete - Marks one or more records for deletion. When you choose
  1188.      this option you will be able to choose from the following options:
  1189.      
  1190.      A) Mark this record for delete
  1191.      B) UNMark all records where fieldname = value
  1192.      C) Mark all records for delete where fieldname = value
  1193.      D) UNMark a range of records
  1194.      E) Mark a range of records
  1195.      Q) Quit this option
  1196.      
  1197.      You can mark as many records as you choose. Once you have marked the
  1198.      records for delete, you can pack the database using the Pack option in
  1199.      the Edit pull-down menu.
  1200.      
  1201.      ANALYSIS TIP: Marking records for delete is a quick and simple way to
  1202.      do an analysis on a portion of your database. Mark the records you
  1203.      want to eliminate from an analysis, then perform the analysis.
  1204.      KWIKSTAT will ignore the deleted records. Later, you can undelete the
  1205.      records.
  1206.      
  1207.      Note: A ^U (Ctrl-U) also deletes and single undeletes records. Place
  1208.      your cursor on the record to delete or undelete, and press ^U.
  1209.      
  1210.      F4- Erase/Insert - the current record permanently from the database.
  1211.      (Only in spreadsheet entry mode.) When you choose this option the
  1212.      following menu items will appear:
  1213.      
  1214.      A) Erase records beginning with record #
  1215.      B) Insert blank records before record #
  1216.      Q) Quit this option
  1217.      
  1218.      To erase one or more records, display the record in Edit mode.
  1219.      Highlight the record to erase, and press the function key F4. You can
  1220.      then choose to erase the single record or a range of records.
  1221.      
  1222.      F5 Goto - Go to a record number.
  1223.      
  1224.      F6 Undo - Returns last record changed to its previous values.
  1225.      
  1226.      F7 Exit - Exits entry mode and returns you to the main KWIKSTAT menu.
  1227.      
  1228.      F8 Switch - Switches between spreadsheet type entry and database entry
  1229.      mode.
  1230.      
  1231.      F9 Field - Insert or Delete a field in the database or Replace the
  1232.      contents of a field. See "Creating New Fields and Replacing the
  1233.      Contents of a Field" below.
  1234.      
  1235.      F10 Print - Prints the contents of the current record to a printer or
  1236.      --------------------------------------------------------------------
  1237.                          Please Become a Registered User
  1238.  
  1239.                                         21
  1240.  
  1241.      
  1242.      KWIKSTAT 4.1 Statistical Data Analysis
  1243.      --------------------------------------------------------------------
  1244.      
  1245.      file.
  1246.      
  1247.      CREATING NEW FIELDS AND REPLACING THE CONTENTS OF A FIELD
  1248.      
  1249.      Using the F9 Field option in the Spreadsheet data entry screen, you
  1250.      can create new blank fields of any field type, and place information
  1251.      in those fields that is either a numeric or character expression. The
  1252.      option menu displayed when you choose F9 Field is:
  1253.      
  1254.      A) Insert a new field after the field: fieldname
  1255.      B) Delete the field named: fieldname
  1256.      C) Replace contents of field: fieldname
  1257.      D) Set missing values for fields
  1258.      Q) Quit this option
  1259.      
  1260.      The following sections "Creating a New Field" and "Replacing the
  1261.      Contents of a Field" describe these procedures.
  1262.      
  1263.      CREATING A NEW FIELD
  1264.      
  1265.      You may create a new field in a database within an edit screen by
  1266.      choosing the F9 (FIELD Insert) option. After creating a new field, you
  1267.      can then use the F9 (FIELD Replace) option to place a value in the new
  1268.      field.
  1269.      
  1270.      When you choose the Field/Insert option in the edit screen (F9), you
  1271.      will be prompted to enter information about the new field.
  1272.      
  1273.       Define a name for the new field
  1274.       Define the field type
  1275.       Define a width for the new field
  1276.      
  1277.      For numeric variables,
  1278.       Define the number of decimals, if any
  1279.       Define a missing value code. If none is selected, it is assumed to
  1280.       be 0 (zero).
  1281.      
  1282.      After entering a new name for the field, you will be prompted to enter
  1283.      the field type, width and decimals (if numeric). For example, if your
  1284.      new field is numeric with a width of 8, and 2 decimal places, you will
  1285.      enter
  1286.      
  1287.      N,8,2
  1288.      
  1289.      If the field is Character with a width of 3, you would enter
  1290.      
  1291.      C,3
  1292.      
  1293.      After you enter the type and width information, you will be asked if
  1294.      you want to enter missing value codes.
  1295.      --------------------------------------------------------------------
  1296.                          Please Become a Registered User
  1297.  
  1298.                                         22
  1299.  
  1300.      
  1301.      KWIKSTAT 4.1 Statistical Data Analysis
  1302.      --------------------------------------------------------------------
  1303.      
  1304.      
  1305.      Note: All of the normal restrictions of defining a field remain.
  1306.      
  1307.      TIP: To create a new field containing a new value that is a numeric
  1308.      transformation of other fields, first insert the new field using the
  1309.      F9 Field/Insert option, then use the F9 Field /Replace option to place
  1310.      the value in the new field.
  1311.      
  1312.      REPLACING THE CONTENTS OF A FIELD (TRANSFORMATIONS)
  1313.      
  1314.      You can use the F9-Field Replace option in the Edit screen to replace
  1315.      the existing contents of a field, or place new information in a newly
  1316.      created blank field. KWIKSTAT provides a number of numeric and
  1317.      character functions to enable you to do this.
  1318.      
  1319.      For example, if you wanted to replace the contents of the field NEW
  1320.      with the values TIME1/AGE:
  1321.      
  1322.      Step 1 Highlight the field to replace: In the edit mode, highlight the
  1323.      field whose contents you want to replace. Press the F9 (Field) option,
  1324.      and choose "Replace the Contents of a Field" option from the Field
  1325.      menu. A dialog box will appear.
  1326.      
  1327.      Step 2 Specify which records to replace: The default is ALL, which
  1328.      means all records in the database. Or, enter a range such as 1-20,
  1329.      which would mean only perform the replacement in records numbered 1
  1330.      through 20. Then, press Enter.
  1331.      
  1332.      Step 3 Specify what to place in the field: For example, enter the
  1333.      formula TIME1/AGE in the Replace With entry field, where TIME1 and AGE
  1334.      are two other fields in the same database.
  1335.      
  1336.      Step 4 Specify a condition for replacing (if any): The default is
  1337.      NONE. For example, if you only want the replacement to be for records
  1338.      whose value of AGE is greater than 20, you would enter the expression
  1339.      AGE>20 in the condition entry field.
  1340.      
  1341.      Step 5 Begin the replacement: Press F7 when you have finished entering
  1342.      the Replace information, and the replace will begin. When it is
  1343.      finished, you will return to the edit screen.
  1344.      
  1345.      USING DATABASE AND MATHEMATICAL EXPRESSIONS
  1346.      
  1347.      The kinds of expressions you can use in Subset and Replace options are
  1348.      described below. KWIKSTAT supports two kinds of expressions.
  1349.      
  1350.      1. Database expressions (most normally used.)
  1351.      
  1352.      2. Mathematical expressions (signaled with an = preceding the
  1353.      expression.)
  1354.      --------------------------------------------------------------------
  1355.                          Please Become a Registered User
  1356.  
  1357.                                         23
  1358.  
  1359.      
  1360.      KWIKSTAT 4.1 Statistical Data Analysis
  1361.      --------------------------------------------------------------------
  1362.      
  1363.      
  1364.      USING DATABASE EXPRESSIONS
  1365.      
  1366.      Database expressions allow the use of common character, numeric, date
  1367.      and logical fields in the expression. Use the mathematical expression
  1368.      only when you must use mathematical functions not in the normal
  1369.      database expression list. Here are the usage criteria:
  1370.      
  1371.      In a REPLACE WITH field: Use either a database expression or a math
  1372.      expression.
  1373.      
  1374.      In a CONDITION field: Use only a database expression.
  1375.      
  1376.      Most expressions can be handled with the database expressions. If you
  1377.      find that you cannot create an expression using the database
  1378.      functions, go to the section titled "Using Mathematical Expressions"
  1379.      later in this chapter. The following information on how to use
  1380.      expressions is  useful for both the database and mathematical
  1381.      expression types:
  1382.      
  1383.      Arithmetic operators:
  1384.      Add    +
  1385.      Subtract  -
  1386.      Divide  /
  1387.      Multiply  *
  1388.      Exponentiation   ^ (Mathematical expressions only)
  1389.      
  1390.      For Character fields, the database calculator supports the
  1391.      operation:
  1392.      Add    + (appends one string to another)
  1393.      
  1394.      Following are a few examples of correct expressions:
  1395.      
  1396.       AGE/HEIGHT
  1397.       LTRIM(FIRST)+' '+LAST
  1398.       (AGE*TIME1)+3.2
  1399.      
  1400.      Note: Literal strings included in expressions must be surrounded by
  1401.      single quotes. For example, 'Hello' is a literal string. Character
  1402.      field names are used without quotes. For example, NAME is a field
  1403.      name. A correct string expression using these two strings would be:
  1404.      
  1405.      'Hello '+NAME
  1406.      
  1407.      DATABASE CALCULATOR FUNCTIONS SUPPORTED
  1408.      
  1409.      The following functions may be used in expressions both in the
  1410.      "Replace With" and "Condition" fields. In this table the arguments
  1411.      have the following meanings
  1412.      
  1413.      --------------------------------------------------------------------
  1414.                          Please Become a Registered User
  1415.  
  1416.                                         24
  1417.  
  1418.      
  1419.      KWIKSTAT 4.1 Statistical Data Analysis
  1420.      --------------------------------------------------------------------
  1421.      
  1422.      NUM - Numeric argument
  1423.      STG - String (Character) argument
  1424.      DATEFMT - Date argument, MM/DD/YY
  1425.      LOGICAL - T or F
  1426.      LEXP - Logical Expression
  1427.      AEXP - Any Expression
  1428.      | means OR, choose one or the other option.
  1429.      [ ] means optional argument
  1430.      
  1431.      Database Calculator Functions
  1432.      
  1433.      Name       Meaning              Example of use        Type
  1434.      -------    ------------------------------------------------
  1435.      ABS        Absolute value       ABS(NUM)              N
  1436.      ASC        Ascii value          ASC(STG)              N
  1437.      AT         AT Find              AT(STG1,STG2)         N
  1438.      CALENDAR   Number to Date       CALENDAR(NUM)         D
  1439.      CAPS       First Letter Cap     CAPS(STG)             C
  1440.      CHR        Number to String     CHR(NUM)              C
  1441.      DATE       System Date          DATE()                D
  1442.      DELETED    Is record Deleted    DELETED()             L
  1443.      IIF        Logical If           IIF(LEXP,AEXP1,AEXP2) CNL
  1444.      INT        Integer Round        INT(NUM)              N
  1445.      JULIAN     Date to Number       JULIAN(DATE)          N
  1446.      LEFT       Left string          LEFT(STG,NUM)         C
  1447.      LEN        String Length        LEN(STG)              N
  1448.      LOWER      Lower Case           LOWER(STG)            C
  1449.      LTRIM      Trim Left            LTRIM(STG)            C
  1450.      MAX        Max of 2 Nums        MAX(NUM1,NUM2)        N
  1451.      MIN        Mini of 2 Numbers    MIN(NUM1,NUM2)        N
  1452.      REPLICATE  Repeat String        REPLICATE(STG,NUM)    C
  1453.      RIGHT      Right String         RIGHT(STG,NUM)        C
  1454.      RTRIM      Trim Right           RTRIM(STG)            C
  1455.      SPACE      Space                SPACE(NUM)            C
  1456.      STR        Number to String     STR(NUM)              C
  1457.      STRING     Create String        STRING(NUM,NUM|STR)   C
  1458.      RIGHT      Right String         RIGHT(STG,NUM)        C
  1459.      STUFF      Stuff String         STUFF(STG,NUM,NUM,STG2)C
  1460.      SUBSTR     Extract String       SUBSTR(STG,NUM,[NUM]) C
  1461.      TIME       System Time          TIME()                C
  1462.      TRIM       Trim blanks          TRIM(STG)             C
  1463.      UPPER      Upper Case           UPPER(STG)            C
  1464.      VAL        String to Number     VAL(STG)              N
  1465.      
  1466.      The following functions are supported only in the "Replace With" entry
  1467.      field, and only for numeric field types. You MUST precede expressions
  1468.      using these functions with an = sign.
  1469.      
  1470.      An example of the RECODE function, which appears on the following
  1471.      table is:
  1472.      --------------------------------------------------------------------
  1473.                          Please Become a Registered User
  1474.  
  1475.                                         25
  1476.  
  1477.      
  1478.      KWIKSTAT 4.1 Statistical Data Analysis
  1479.      --------------------------------------------------------------------
  1480.      
  1481.      
  1482.      =RECODE(SCORE,1,AGE,10,15)
  1483.      
  1484.      The five arguments in the RECODE function are:
  1485.      
  1486.      No.  Example  Meaning
  1487.      1    SCORE  Field to use in compare
  1488.      2    1  Value to assign if comparison is true
  1489.      3    AGE  Value to assign if comparison is false
  1490.      4    10  Low range of field to compare
  1491.      5    15  High range of field to compare
  1492.      
  1493.      Thus, this example means that the value of the RECODE is 1 if SCORE is
  1494.      between 10 and 15, else the value is the current value of the AGE
  1495.      field for that record.
  1496.      
  1497.      USING MATHEMATICAL EXPRESSIONS
  1498.      
  1499.      In the REPLACE WITH field, the default expression type is the database
  1500.      type. In order for an expression to be evaluated as a strictly math
  1501.      expression, you must place an equal sign "=" at the beginning of the
  1502.      expression.
  1503.      
  1504.      The major difference between the database and mathematical expression
  1505.      types are their capabilities. The database expression can handle most
  1506.      common calculations, including simple math, string evaluation, and
  1507.      date evaluation. The math expression can be used only for strictly
  1508.      numeric calculations using one or more of the functions listed in the
  1509.      table below, or that uses the exponentiation operator.
  1510.      
  1511.      For example, if you want to perform the calculation WEIGHT/HEIGHT, you
  1512.      can enter the expression as-is in the REPLACE WITH field. However, if
  1513.      you want to calculate the log of WEIGHT/HEIGHT, you must enter the
  1514.      expression as
  1515.      
  1516.      =LOG(WEIGHT/HEIGHT)
  1517.      
  1518.      since the LOG function is not supported as a database expression
  1519.      function. The equal sign signals to the program to use the math
  1520.      calculator. For example, if you want to create a field that contains
  1521.      the record number, you would use the expression
  1522.      
  1523.      =RECNO
  1524.      
  1525.      To create a field containing a random number from 0 to 100, you would
  1526.      use the expression
  1527.      
  1528.      =RAND*100
  1529.      
  1530.  
  1531.      --------------------------------------------------------------------
  1532.                          Please Become a Registered User
  1533.  
  1534.                                         26
  1535.  
  1536.      
  1537.      KWIKSTAT 4.1 Statistical Data Analysis
  1538.      --------------------------------------------------------------------
  1539.      
  1540.      Math Calculator Functions
  1541.      
  1542.      Name        Meaning             Example of use
  1543.      --------    ----------------------------------
  1544.      ABS         Absolute value      ABS(SCORE)
  1545.      AVE         Average (Mean)      AVE(LIST))
  1546.      ACOS        Arc Cosine          ACOS(SCORE)
  1547.      ASIN        Arc Sine            ASIN(SCORE)
  1548.      ATAN        Arc Tangent         ATAN(SCORE)
  1549.      ATAN2       Arc Tangent y/x     ATAN2(y,x)
  1550.      CSC         Cosecant            CSC(SCORE)
  1551.      COS         Cosine              COS(SCORE)
  1552.      COT         Cotangent           COT(SCORE)
  1553.      EXP         Exponentiation      EXP(SCORE)
  1554.      INT         Integer             INT(SCORE)
  1555.      LN          Natural Log         LN(SCORE)
  1556.      LOG         Log base 10         LOG(SCORE)
  1557.      MAX         Maximum of list     MAX(1,T2,3)
  1558.      MIN         Minimum of list     MIN(1,T2,T3)
  1559.      MOD         MOD of number       MOD(9,2) is 9 mod 2
  1560.      PI          PI                  PI = 3.14159265358979
  1561.      RAND        Random number       number between 0 and 1
  1562.      RECNO       Record number       database record number
  1563.      RECODE      Recode number       RECODE(SCORE,1,0,1.1,2,2)
  1564.      ROUND       Rounds a number     ROUND(1.236,2)=1.24
  1565.      SD          Standard Deviation  SD(LIST)
  1566.      SEC         Secant              SEC(SCORE)
  1567.      SIN         Sine                SIN(SCORE)
  1568.      SQRT        Square root         SQRT(SCORE)
  1569.      SUM         Sum of list         SUM(1,2,3) = 6
  1570.      TAN         Tangent             TAN(SCORE)
  1571.      
  1572.      ENTERING & IMPORTING DATA INTO KWIKSTAT
  1573.      
  1574.      When you choose the Append records... option from the FILE Menu, you
  1575.      will be asked to specify entry from the keyboard or from a file (ASCII
  1576.      file). For most small data sets, you will probably enter data from the
  1577.      keyboard. If your data is already in another program that supports
  1578.      ASCII, dBASE and 1-2-3 type files, you may be able to import the data
  1579.      from that program into KWIKSTAT. The following information describes
  1580.      how to enter data from the keyboard, from an ASCII file or from other
  1581.      programs.
  1582.      
  1583.      Once you have opened or created a database, you can enter data from
  1584.      the keyboard by choosing the Append Records/from keyboard option from
  1585.      the EDIT pull-down menu. When you choose this option, a sub-menu will
  1586.      appear allowing you to choose to enter data from the keyboard, from an
  1587.      ASCII file or from a DBF file.
  1588.      
  1589.  
  1590.      --------------------------------------------------------------------
  1591.                          Please Become a Registered User
  1592.  
  1593.                                         27
  1594.  
  1595.      
  1596.      KWIKSTAT 4.1 Statistical Data Analysis
  1597.      --------------------------------------------------------------------
  1598.      
  1599.      APPENDING DATA FROM ANOTHER DBASE FILE
  1600.      
  1601.      If you have a dBASE file containing data that you want to append to a
  1602.      current dBASE file, use the following procedure.
  1603.      
  1604.      Note: For this procedure to work, the names of the fields in the two
  1605.      databases must be the same. Only fields with the same name will be
  1606.      imported.
  1607.      
  1608.      Step 1 Open a database: Open a dBASE file by choosing the Open a
  1609.      Database option on the FILE Menu.
  1610.      
  1611.      Step 2 Choose Data Entry: From the EDIT menu, choose the Append Data,
  1612.      from dBASE option.
  1613.      
  1614.      Step 3 Specify the name of the dBASE file to read from: Enter the name
  1615.      of the dBASE file containing the records you want to append. KWIKSTAT
  1616.      will read the data, and will append data from the new database based
  1617.      on the fieldnames in the currently opened database.
  1618.      
  1619.      Step 4 Verify the import: After appending, you should perform a list
  1620.      to verify that the database contains the information you want.
  1621.      
  1622.      USING LOTUS 1-2-3 TYPE FILES
  1623.      
  1624.      If you have a Lotus 1-2-3 WKS or WK1 file and cannot use the Lotus
  1625.      program to translate it, you can use the KWIKSTAT import feature from
  1626.      the File Utilities/Import option from the FILE Menu.
  1627.      
  1628.      Note: Import will allow you to import a maximum of 128 fields.
  1629.      
  1630.      USING COMMA DELIMITED ASCII FILES
  1631.      
  1632.      If your program outputs comma delimited ASCII files, that is, there is
  1633.      a comma between each field, KWIKSTAT can import this data using the
  1634.      "Comma Delimited" option in the File Utilities FILE Menu option.
  1635.      
  1636.      The data to be imported can contain numbers and character fields.
  1637.      Character fields must be enclosed in quotes "". An example file on
  1638.      disk is EXCOMMA.DAT. The first few lines of this file are:
  1639.      
  1640.      "A",12,22.3,25.3,28.2,30.6,5,"Text"
  1641.      "A",11,22.8,27.5,33.3,35.8,5,"Text"
  1642.      "B",12,22.8,30.0,32.8,31.0,4,"Text"
  1643.      "A",12,18.5,26.0,29.0,27.9,5,"Text"
  1644.      
  1645.      The import procedure looks at the first line of the file to determine
  1646.      how many fields to create. This file has 8 fields. The first and last
  1647.      are character. The fields will be named VAR1, VAR2, etc. You can
  1648.      change these names in the "modify database" option, main menu. The
  1649.      --------------------------------------------------------------------
  1650.                          Please Become a Registered User
  1651.  
  1652.                                         28
  1653.  
  1654.      
  1655.      KWIKSTAT 4.1 Statistical Data Analysis
  1656.      --------------------------------------------------------------------
  1657.      
  1658.      import will attempt to create widths that will allow full storage of
  1659.      numbers and text.  Everything after that is automated. Look at the
  1660.      file with the List option to verify that the imported data is correct.
  1661.      
  1662.      EXPORTING DATA
  1663.      
  1664.      You may output the data from your KWIKSTAT (DBF) file into a standard
  1665.      ASCII TEXT file. (Often called an SDF file - Standard Data Format
  1666.      file.) Outputting the data is useful for transferring your data to
  1667.      other programs. Along with the output of data, you may also output a
  1668.      "format" file, which describes the contents of the text file. This
  1669.      file can be output in "dBASE" style or "SAS" (Statistical Analysis
  1670.      System) style. The SAS format could be used in a SAS INPUT statement
  1671.      to read the ASCII data file into the SAS program.
  1672.      
  1673.      To export data, choose the File Utilities option from the DATA
  1674.      pull-down menu to display the KWIKSTAT. From the Utilities menu,
  1675.      choose the "Output data to an ASCII file (SDF Standard Data Format)"
  1676.      option.
  1677.      
  1678.      PRINTING A REPORT
  1679.      
  1680.      You may output a listing of the data in the dataset (or a selected
  1681.      subset of the database) by using the report facility. To use this
  1682.      procedure, choose the "Report: Output data in a report format" option
  1683.      after choosing the File Utilities option on the FILE Menu. In this
  1684.      procedure you may specify the following report features:
  1685.      
  1686.      Which Data Fields To Output
  1687.      Output Record Number As A Column
  1688.      Title
  1689.      Number Of Lines Per Page
  1690.      Width Of Page (default is 80)
  1691.      Output To A File Or Printer
  1692.      Output A Subset Of The Data (search)
  1693.      
  1694.      NOTE:You may want to place a coded variable in your data set which
  1695.      will allow you to easily select a subset of data to output. Subset
  1696.      searches can be:
  1697.      
  1698.      1) Exact: case is ignored.
  1699.      
  1700.      2) First one or more letters in a field: (AL* matches ALLEN, ALBERT,
  1701.      etc)
  1702.      
  1703.      3) Keyword: match a letter pattern within a field (i.e., [AL] matches
  1704.      ALLEN, BALES, etc).
  1705.      
  1706.      The REPORT procedure is menu driven. Simply answer the questions as
  1707.      you are prompted. If the report is too wide to fit on a single width
  1708.      --------------------------------------------------------------------
  1709.                          Please Become a Registered User
  1710.  
  1711.                                         29
  1712.  
  1713.      
  1714.      KWIKSTAT 4.1 Statistical Data Analysis
  1715.      --------------------------------------------------------------------
  1716.      
  1717.      of the specified paper width, the report will be printed in parts.
  1718.      
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724.  
  1725.  
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738.  
  1739.  
  1740.  
  1741.  
  1742.  
  1743.  
  1744.  
  1745.  
  1746.  
  1747.  
  1748.  
  1749.  
  1750.  
  1751.  
  1752.  
  1753.  
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.      --------------------------------------------------------------------
  1768.                          Please Become a Registered User
  1769.  
  1770.                                         30
  1771.  
  1772.      
  1773.      KWIKSTAT 4.1 Statistical Data Analysis
  1774.      --------------------------------------------------------------------
  1775.      
  1776.      =====================================
  1777.      BASIC STATISTICAL ANALYSIS PROCEDURES
  1778.      =====================================
  1779.      
  1780.      This section of the KWIKSTAT manual describes the statistical analysis
  1781.      procedures available in the BASIC KWIKSTAT edition. The data
  1782.      generation and simulations module contains several examples of
  1783.      statistical concepts such as a coin flip, sampling from a
  1784.      distribution, and confidence intervals.
  1785.      
  1786.      USING DESCRIPTIVE STATISTICS
  1787.      
  1788.      The Descriptive Statistics module allows you to examine summary
  1789.      statistics of the data in a database.
  1790.      
  1791.      DETAILED STATISTICS FROM AN EXISTING DATABASE
  1792.      
  1793.      This option calculates the mean, standard deviation, median, standard
  1794.      error of the mean, minimum, maximum, sum, variance and other
  1795.      descriptive statistics for a single variable (field) from a set of
  1796.      data.
  1797.      
  1798.      If your data is already in a database, perform the analysis using the
  1799.      following steps. For example, suppose you want to calculate statistics
  1800.      for the TIME1 field in the EXAMPLE database.
  1801.      
  1802.      Step 1 Open the database: Choose Open Database from the FILE pull-down
  1803.      menu. Select the EXAMPLE database.
  1804.      
  1805.      Step 2 Choose Analysis option: Choose the Descriptive Statistics
  1806.      option from the ANALYZE menu.
  1807.      
  1808.      Step 3 Choose the analysis type: Choose the "Detailed Statistics"
  1809.      option from the Descriptive Statistics menu.
  1810.      
  1811.      Step 4 Choose the field to analyze: Choose the TIME1 field.
  1812.      
  1813.      A screen will appear displaying statistics on that variable.
  1814.      
  1815.      DEFINITIONS
  1816.      
  1817.      C. I. - Confidence interval - This is a range that describes (with
  1818.      some confidence -- usually 95% confidence) where the actual mean of
  1819.      the data probably lies. That is, the true mean of the data shown
  1820.      above is somewhere between 20.79 and 21.23, with 95% confidence.
  1821.      
  1822.      MAXIMUM - The largest number.
  1823.      
  1824.      MEAN - A measure of central tendency. The arithmetic average. For
  1825.      example if you average the three grades 82, 100 and 88 (82+100+88)/3 =
  1826.      --------------------------------------------------------------------
  1827.                          Please Become a Registered User
  1828.  
  1829.                                         31
  1830.  
  1831.      
  1832.      KWIKSTAT 4.1 Statistical Data Analysis
  1833.      --------------------------------------------------------------------
  1834.      
  1835.      90  -- the average (or mean) is 90.
  1836.      
  1837.      MEDIAN - A measure of central tendency. The mean is a statistic such
  1838.      that 50% of all numbers in the sample are above the mean and 50% are
  1839.      below the mean. For example, in the  list 1, 2, 3, 4, 5 the median
  1840.      would be 3.
  1841.      
  1842.      MINIMUM - The smallest number.
  1843.      
  1844.      MISSING - Reports how many numbers had a missing value code.
  1845.      
  1846.      N - How many numbers were used to calculate the statistics.
  1847.      
  1848.      PERCENTILES - Tells you what percent of numbers are lower than the
  1849.      percentile. For example, the 50th percentile is the median.
  1850.      
  1851.      S.E.M. - The Standard Error of the Mean measures the spread of the
  1852.      data around the mean value.
  1853.      
  1854.      ST. DEV. - Standard Deviation - measure of the spread of the data. It
  1855.      is calculated two ways, using n-1 as a divisor and using n as a
  1856.      divisor. Usually, most people use the n-1 version.
  1857.      
  1858.      SUM - The total of all the numbers added together
  1859.      
  1860.      TEST FOR NORMALITY - (Professional edition) - This is a test that the
  1861.      data is normally distributed. The test statistic is D. If the p-value
  1862.      is < 0.05, there is evidence to assume that the data are NOT normal.
  1863.      
  1864.      TUKEY 5 NUMBER SUMMARY - Essentially, the 0th, 25th, 50th 70th and
  1865.      100th percentile. See the Hoaglin, et al. reference.
  1866.      
  1867.      VARIANCE - A measure of the spread of the data.
  1868.      
  1869.      SUMMARY STATISTICS ON A NUMBER OF VARIABLES
  1870.      
  1871.      This option allows you to calculate statistics on several variables
  1872.      (sample size, mean, standard deviation, minimum, maximum, and standard
  1873.      error of the mean). If you have a grouping variable in your database,
  1874.      you may request output of summary statistics by group.
  1875.      
  1876.      Suppose you want to know the means of all the quantitative variables
  1877.      (AGE, TIME1, TIME2, TIME3, TIME4, STATUS) within each of the three
  1878.      groups (A, B, C) in the EXAMPLE database. Follow these steps:
  1879.      
  1880.      Step 1 Open the database: Choose Open Database from the FILE pull-down
  1881.      menu. Select the EXAMPLE database.
  1882.      
  1883.      Step 2 Choose Analysis option: Choose the Descriptive Statistics
  1884.      option from the ANALYZE menu.
  1885.      --------------------------------------------------------------------
  1886.                          Please Become a Registered User
  1887.  
  1888.                                         32
  1889.  
  1890.      
  1891.      KWIKSTAT 4.1 Statistical Data Analysis
  1892.      --------------------------------------------------------------------
  1893.      
  1894.      
  1895.      Step 3 Choose the analysis type: Choose the "Summary Statistics"
  1896.      option from the Descriptive Statistics menu.
  1897.      
  1898.      Step 4 Choose the fields to analysis: Select the fields AGE, TIME1,
  1899.      TIME2, TIME3, TIME4, then select the "Finish choosing fields" option.
  1900.      
  1901.      Step 5 Choose the grouping field: Select STATUS as the grouping field.
  1902.      The KWIKSTAT viewer will appear displaying statistics on that
  1903.      variable.
  1904.      
  1905.      Step 6 Exit the viewer: Then exit the module or perform another
  1906.      analysis.
  1907.      
  1908.      DETAILED STATISTICS FROM DATA ENTERED BY COUNTS
  1909.      
  1910.      If you have a small amount of data or if your data is grouped so that
  1911.      you know how many of each number you have (i.e., you have 12  people
  1912.      13 years old, 5 people 14 yrs old, 6 people 15 yrs old, etc.) you can
  1913.      enter the data at the keyboard. When you choose this option a screen
  1914.      will appear allowing you to enter your data. Either enter a single
  1915.      value or a value followed by a comma and the number of times that
  1916.      number should be used.  For example, entering 34,5 would mean that you
  1917.      are entering 5 values of 34. When you enter nothing on a line, this
  1918.      signals that you are finished entering the data. A detailed statistics
  1919.      screen will appear similar to the one described above.
  1920.      
  1921.      APPROXIMATE P-VALUE DETERMINATION
  1922.      
  1923.      This option calculates p-values for four test statistics: normal (z),
  1924.      student's t, F, chi-square. Enter the statistic, degrees of freedom
  1925.      and the calculated value of the statistic, and the program will tell
  1926.      you the p-value associated with that statistic.
  1927.      
  1928.      To calculate a p-value, follow these steps:
  1929.      
  1930.      Step 1 Begin the Descriptive Statistics module: From the main menu
  1931.      bar, open the ANALYZE pull-down menu, then choose the Descriptive
  1932.      Statistics option.
  1933.      
  1934.      Step 2 Choose the p-value option: Select Approximate p-value
  1935.      determination.
  1936.      
  1937.      Step 3 Enter the p-value information: You will be prompted to enter an
  1938.      equation. On the left hand side, designate the test statistic being
  1939.      used, i.e., z= , t(df)= , F(dfn,dfd)= , or X(df)=. In parentheses, as
  1940.      shown by (df), enter the appropriate degrees of freedom. On the right
  1941.      hand side of this equation, enter the calculated value of the
  1942.      statistic you wish to know the p-value. For example:
  1943.      
  1944.      --------------------------------------------------------------------
  1945.                          Please Become a Registered User
  1946.  
  1947.                                         33
  1948.  
  1949.      
  1950.      KWIKSTAT 4.1 Statistical Data Analysis
  1951.      --------------------------------------------------------------------
  1952.      
  1953.      t(20)=2
  1954.      
  1955.      means you want the two-sided p-value for a calculated t-statistic of
  1956.      2.00 with 20 degrees of freedom. In this case, the result is p=0.059.
  1957.      
  1958.      Step 4 Exit p-values: To exit the p-value determination procedure,
  1959.      enter End.
  1960.      
  1961.      STEM AND LEAF DISPLAY
  1962.      
  1963.      The Stem and Lead Display is a graph created from a series of numbers.
  1964.      The Stem part of the display is the leading digit for the data (such
  1965.      as 5 in 54) and the leaf is the trailing digit (such as the 4 in 54).
  1966.      When larger numbers are used, the rightmost digits are often ignored.
  1967.      For example, if the numbers range from 241 to 845, the stem might be
  1968.      the 2 to 8, representing 200 to 800, and the leaf would be 0 to 9,
  1969.      representing the 10's. The 1's place would be ignored. KWIKSTAT gives
  1970.      you options for choosing the magnitude of the stem and leaf values.
  1971.      
  1972.      DESCRIPTIVE AND COMPARATIVE GRAPHS
  1973.      
  1974.      The Graphs - Descriptive and Comparative module allows you to create a
  1975.      number of different charts and graphs.
  1976.      
  1977.      CREATING A BAR, LINE OR AREA CHART
  1978.      
  1979.      The Bar/Line Area chart option allows you to create a graph using any
  1980.      combination of these kinds of charts. You can also choose other
  1981.      options for this graph as discussed later in this section. The
  1982.      following two examples show you how to display a bar chart by creating
  1983.      a new database using a current database.
  1984.      
  1985.      BAR CHART EXAMPLE 1
  1986.      
  1987.      Step 1 Create the database: Create the database and enter the data.
  1988.      Your database should contain a Label field and a Value field (the
  1989.      value field contains the numbers to use for the plot.) You can use the
  1990.      "SIMPLE BAR CHART" pre-defined structure when creating a new database
  1991.      for this graph. For this example MAGNET is the LABEL field and NAILS
  1992.      is the VALUE field.
  1993.      
  1994.                  ----These are the fields.-----
  1995.            RECORD        LABEL      VALUE
  1996.                   ------     ------
  1997.      
  1998.      1              SMALL      31    -+
  1999.      2              MEDIUM     38     |--- This is the data to plot.
  2000.      3              LARGE      51    -+
  2001.                       |
  2002.                       +----------------- These are the plot labels.
  2003.      --------------------------------------------------------------------
  2004.                          Please Become a Registered User
  2005.  
  2006.                                         34
  2007.  
  2008.      
  2009.      KWIKSTAT 4.1 Statistical Data Analysis
  2010.      --------------------------------------------------------------------
  2011.      
  2012.      
  2013.      Step 2 Enter the Data: Enter the 3 records shown above.
  2014.      
  2015.      Step 3 Choose Analysis option: Choose the Graphs option from the
  2016.      ANALYZE menu.
  2017.      
  2018.      Step 4 Choose the analysis type: Choose the "Bar/Line/Area" option
  2019.      from the Graphs menu.
  2020.      
  2021.      Step 5 Choose the field to graph: Since there is only one numeric
  2022.      field, KWIKSTAT automatically select the Data field.
  2023.      
  2024.      The resulting chart contains 3 bars labeled SMALL, MEDIUM & LARGE.
  2025.      (You could also use this same data to create a pie chart.
  2026.      
  2027.      BAR CHART EXAMPLE 2
  2028.      
  2029.      This example will use data already in the database named BARCHART.
  2030.      When creating a bar/line/area chart, you can choose more than one
  2031.      value field and create a side-by-side bar chart, a stacked bar chart,
  2032.      a line chart, an area chart, a point chart, or a chart containing a
  2033.      mixture of these types. The data in this example will be used to
  2034.      create a chart that includes 2 bars and a line graph.
  2035.      
  2036.      Step 1 Open the database: Open the database named BARCHART.
  2037.      
  2038.      Step 2 Choose fields: Choose the fields VAR1, VAR2 and VAR 3 as the
  2039.      data fields, then choose "Finished Choosing Fields." Select LABEL as
  2040.      the label field. A chart will appear containing three side-by-side
  2041.      bars.
  2042.      
  2043.      Step 3 Choose <options> from the graph menu: An option screen will
  2044.      appear that allows you to enter a title, footnote and other options.
  2045.      At the bottom of the screen choose <PgDn-Next>. This will display the
  2046.      second option screen. See "Options While Displaying a Bar Chart"
  2047.      below.
  2048.      
  2049.      Step 4 Choose types: For Var3 choose the W (Wide Line) type by
  2050.      entering a W in the Type column or by clicking on the option until a W
  2051.      appears.
  2052.      
  2053.      Step 5 Display plot: Choose (F7-Continue) to display the plot. You can
  2054.      use the <get color> option to select whether the bars will use colors
  2055.      or tile patterns.
  2056.      
  2057.      Your chart can contain any combination of bars, lines, area and point
  2058.      charts.
  2059.      
  2060.      While displaying a bar chart, you can choose from a number of
  2061.      options. Some of these options are:
  2062.      --------------------------------------------------------------------
  2063.                          Please Become a Registered User
  2064.  
  2065.                                         35
  2066.  
  2067.      
  2068.      KWIKSTAT 4.1 Statistical Data Analysis
  2069.      --------------------------------------------------------------------
  2070.      
  2071.      
  2072.      <options> from the menu at the top of the screen, and a two-screen
  2073.      option form will appear. On the first screen of the form, you can
  2074.      specify the axes labels, footnotes, and whether the bars should be
  2075.      stacked.
  2076.      
  2077.      Select the <Next> option to display the second screen option form.
  2078.      
  2079.      On this form you can specify :
  2080.      
  2081.      Legend - For each bar/line etc.
  2082.      
  2083.      Type - choose from Bar, Line, Wide Line, Area or Point
  2084.      
  2085.      Cumulative - Yes or No
  2086.      
  2087.      Color or Patterns - Choose from 14 colors or 10 patterns. Patterns are
  2088.      displayed if the Tile option has been chosen from the main graph menu.
  2089.      
  2090.      Display Counts - Yes or No
  2091.      
  2092.      By clicking on the the Type, Cumulative or Display counts option, the
  2093.      options will cycle through the list of options. For Legend, Colors or
  2094.      Patterns, enter the desired  or color or pattern number. After making
  2095.      changes in the options, display the chart by selecting <<F7 -
  2096.      Continue>> option.
  2097.      
  2098.      CREATING A PIE CHART: A pie chart is created from a list of counts.
  2099.      (See Help)
  2100.      
  2101.      CREATING A TIME SERIES/LINE PLOT: A time series plot is useful in
  2102.      examining data that are time related, such as profit by month, etc.
  2103.      (See Help)
  2104.      
  2105.      CREATING AN XY PLOT (SCATTERPLOT): An XY plot (scatterplot) displays
  2106.      the relationship between two variables. (See Help)
  2107.      
  2108.      PRODUCING A HISTOGRAM: A histogram can be helpful in determining if
  2109.      the distribution of a continuous variable is approximated by a normal
  2110.      distribution. (See Help)
  2111.      
  2112.      DISPLAYING BY-GROUP PLOTS: By Group plots allow you to display graphs
  2113.      that show comparisons across groups. (See Help) Types of plots you
  2114.      can display in by-group plots include:
  2115.      
  2116.      A) Box Plot Comparison
  2117.      B) Dot Plot Comparison
  2118.      C) Mean and Error Bar Comparison
  2119.      
  2120.  
  2121.      --------------------------------------------------------------------
  2122.                          Please Become a Registered User
  2123.  
  2124.                                         36
  2125.  
  2126.      
  2127.      KWIKSTAT 4.1 Statistical Data Analysis
  2128.      --------------------------------------------------------------------
  2129.      
  2130.      3-D SCATTERPLOT/ SPIN PLOT
  2131.      
  2132.      The KWIKSTAT "SPIN" module allows you to interactively view three
  2133.      dimensional (XYZ) scatterplots and allows you to  rotate the plot
  2134.      along the x, y, or z axes, spin the data, and choose other display
  2135.      options.
  2136.      
  2137.      CREATING A SPIN PLOT
  2138.      
  2139.      The Spin Plot procedure expects your database to contain at least
  2140.      three numeric fields and (optionally) a group field. From these
  2141.      fields, it can display a three dimensional XYZ plot. For example,
  2142.      using the CAR database, follow these steps to create a graph:
  2143.      
  2144.      Step 1 Open the database: From the main KWIKSTAT FILE menu, open the
  2145.      database named CAR. Or, if you are already in the SPIN module, open
  2146.      the database by selecting the "ChooSe a database to open" option.
  2147.      
  2148.      Step 2 Begin the Spin module: If you have not already done so, begin
  2149.      the Spin plot module by choosing the Spin Plot option from the ANALYZE
  2150.      pull-down menu. The Spin Plot  module menu will be displayed.
  2151.      
  2152.      Step 3 Select the plot type: From the Spin Plot menu, choose choose
  2153.      the "3D XYZ Data visualization plot."
  2154.      
  2155.      Step 4 Select the fields to plot: A pick list of fields will appear
  2156.      allowing you to choose three data fields, and optionally, choose a
  2157.      grouping field. For the CAR database, choose the following fields (in
  2158.      this order) MPG, WEIGHT and HP. For the grouping field, choose
  2159.      CYLINDERS.
  2160.      
  2161.      Note: When a grouping variable is used, the points on the plot will be
  2162.      displayed where points for each different group (up to 10 groups) will
  2163.      appear in different colors or points for different groups will be
  2164.      displayed using a different shaped point (such as a circle, square,
  2165.      diamond, etc.) Once you have chosen the fields, an initial plot
  2166.      appears.
  2167.      
  2168.      Step 5 Spin the Plot: To examine the relationships between the
  2169.      variables, spin the plot on one or more axes to view the relationships
  2170.      from different angles by pressing an arrow key or PgUp or Pg Dn or
  2171.      click on the Spin menu options.
  2172.      
  2173.      SPIN PLOT MANIPULATION OPTIONS
  2174.      
  2175.      Manually rotate the plot (up-, down-, left- and right-arrow, PgUp and
  2176.      PgDn keys) by choosing Roll, Pitch or Yaw. Either point to one of
  2177.      these options with the mouse and click, or press the designated
  2178.      keyboard button to choose one of these options. Click and hold on a
  2179.      spin option and the plot will continue spinning until you let up on
  2180.      --------------------------------------------------------------------
  2181.                          Please Become a Registered User
  2182.  
  2183.                                         37
  2184.  
  2185.      
  2186.      KWIKSTAT 4.1 Statistical Data Analysis
  2187.      --------------------------------------------------------------------
  2188.      
  2189.      the mouse button.
  2190.      
  2191.      Automatically spin the plot by pressing CTRL, plus a Roll, Pitch or
  2192.      Yaw button (i.e., CTRL-rightarrow). Stop the spinning plot by pressing
  2193.      a Roll, Pitch or Yaw button (without CTRL).
  2194.      
  2195.      Grow or Shrink: + or -
  2196.      
  2197.      Increase or decrease the degree of move: > or <
  2198.      
  2199.      USING T-TESTS AND ANOVA PROCEDURES
  2200.      
  2201.      T-tests and Analysis of Variance (ANOVA) procedures are used to test
  2202.      hypotheses about population means using data obtained through random
  2203.      sampling of those populations.
  2204.      
  2205.      EXAMPLE: TWO SAMPLE T-TEST (INDEPENDENT GROUPS)
  2206.      
  2207.      The data used here are heights of 13 plants grown using two different
  2208.      fertilizers.  Suppose you want to know if there is a difference in the
  2209.      average heights of plants in the two treatment groups.
  2210.      
  2211.      Data for independent group t-test (fertilizer study)
  2212.      
  2213.      Present  Newer Fertilizer
  2214.      46.2 cm   51.3 cm
  2215.      55.6      52.4
  2216.      53.3      54.6
  2217.      44.8      52.2
  2218.      55.4      64.3
  2219.      56.0      55.0
  2220.      48.9
  2221.      
  2222.      Step 1 Create a database: See the tutorial example earlier for
  2223.      information on how to enter this data into a database.
  2224.      
  2225.      Step 2 Enter the data into the database.
  2226.      
  2227.      Step 3 Select the analysis to perform: Choose the t-tests and Analysis
  2228.      of Variance (ANOVA) option from the ANALYZE pull-down menu, then
  2229.      choose the "Compare independent groups (t-test, ANOVA)."
  2230.      
  2231.      Step 4 Select the fields to use: Select GROUP as the grouping variable
  2232.      and OBS (Height) as the data (response) variable. The results appear
  2233.      on the screen.
  2234.      
  2235.      Step 5 Analyze the results: A menu will appear allowing you to view
  2236.      the results or display a graphical comparison. Choose to view the
  2237.      results. Exit the viewer by choosing F7-Exit.
  2238.      
  2239.      --------------------------------------------------------------------
  2240.                          Please Become a Registered User
  2241.  
  2242.                                         38
  2243.  
  2244.      
  2245.      KWIKSTAT 4.1 Statistical Data Analysis
  2246.      --------------------------------------------------------------------
  2247.      
  2248.      Step 6 View the graphical comparison: Select "Graphical Comparison"
  2249.      from the options menu to display a comparison of the results. This is
  2250.      the same graph described earlier in the section "Displaying By Group
  2251.      Plots." Initially, this plot shows an error bars comparison. Exit the
  2252.      viewer by choosing the <Exit> option.
  2253.      
  2254.      EXAMPLE: SINGLE FACTOR ANOVA
  2255.      
  2256.      When more than two independent groups are compared with respect to one
  2257.      variable, one-way or single factor analysis of variance techniques are
  2258.      appropriate. This example uses data for hogs which have been randomly
  2259.      assigned to four groups, with each group being given a different feed.
  2260.      The response is weight gain.
  2261.      
  2262.      Data for Independent Group ANOVA
  2263.      
  2264.        Gp 1  Gp 2  Gp 3  Gp 4
  2265.        60.8  78.7  92.6  86.9
  2266.        67.0  77.7  84.1  82.2
  2267.        54.6  76.3  90.5  83.7
  2268.        61.7  79.8        90.3
  2269.      
  2270.      The database to analyze this data is similar to the one used for the
  2271.      t-test example  above, differing only with respect to the number of
  2272.      groups. In fact, this one-way ANOVA is an extension of the t-test when
  2273.      there are three or more groups. To perform this analysis, use these
  2274.      steps:
  2275.      
  2276.      Step 1 Create or Open a database: Create a database using the "FOR
  2277.      INDEPENDENT GROUP T-TEST OR ANOVA" pre-defined structure. GROUP will
  2278.      be the grouping field. The groups will be numbered 1,2,3,4 according
  2279.      to the type of feed used. The response field will be OBS. Or, open the
  2280.      database named HOG, and skip to step 3.
  2281.      
  2282.      Step 2 Enter the data: The data, as entered into the database will
  2283.      look like this:
  2284.      
  2285.  
  2286.  
  2287.  
  2288.  
  2289.  
  2290.  
  2291.  
  2292.  
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298.      --------------------------------------------------------------------
  2299.                          Please Become a Registered User
  2300.  
  2301.                                         39
  2302.  
  2303.      
  2304.      KWIKSTAT 4.1 Statistical Data Analysis
  2305.      --------------------------------------------------------------------
  2306.      
  2307.      RECNO  GROUP  OBS (WEIGHT)
  2308.      1        1    60.8
  2309.      2        1    67.0
  2310.      3        1    54.6
  2311.      4        1    61.7
  2312.      5        2    78.7
  2313.      6        2    77.7
  2314.      7        2    76.3
  2315.      8        2    79.8
  2316.      9        3    92.6
  2317.      10       3    84.1
  2318.      11       3    90.5
  2319.      12       4    86.9
  2320.      13       4    82.2
  2321.      14       4    83.7
  2322.      15       4    90.3
  2323.      
  2324.      Step 3 Select the analysis to perform: Choose the t-tests and Analysis
  2325.      of Variance (ANOVA) option from the ANALYZE pull-down menu, then
  2326.      choose the "Compare independent groups (t-test, ANOVA)."
  2327.      
  2328.      Step 4 Select the fields to use: Select GROUP as the grouping field
  2329.      and OBS (Weight) as the response variable. The results appear on the
  2330.      screen.
  2331.      
  2332.      Step 5 Analyze the results: The results of this test are summarized in
  2333.      the p-value. In this case, the small p-value (p<<0.001) means that
  2334.      there is a significant difference between groups. This is taken as
  2335.      evidence of a "real" difference between feeds, a difference not due to
  2336.      chance.
  2337.      
  2338.      The ANOVA tells you only that there is a difference among the feeds.
  2339.      In order to find out which groups are significantly different from
  2340.      which others, examine the multiple comparison results. The
  2341.      Newman-Keuls multiple comparison test (or whichever you specified at
  2342.      setup) will describe which of the means are significantly different
  2343.      from which others (at the 0.05 significance level). One part of the
  2344.      output is the multiple comparison test. The test performed depends on
  2345.      what option you chose during setup. This example will describe the
  2346.      results of the Newman-Keuls test. The results of this test are as
  2347.      follows:
  2348.      
  2349.          Gp  Gp  Gp  Gp
  2350.           1   2   4   3
  2351.                  -------
  2352.         ----
  2353.              ----
  2354.      
  2355.      The group numbers are given in increasing order of the value of their
  2356.      group means. That is, Group 1 has the smallest mean, Group 3 the
  2357.      --------------------------------------------------------------------
  2358.                          Please Become a Registered User
  2359.  
  2360.                                         40
  2361.  
  2362.      
  2363.      KWIKSTAT 4.1 Statistical Data Analysis
  2364.      --------------------------------------------------------------------
  2365.      
  2366.      largest. At the 0.05 significance level, the means of any two groups
  2367.      underscored by the same line are not significantly different. This
  2368.      display tells you that (at the 0.05 significance level):
  2369.      
  2370.      1) The mean for group 1 (feed 1) is statistically significantly less
  2371.      than the means for all other groups.
  2372.      
  2373.      2) The mean for group 2 (feed 2) is significantly greater than the
  2374.      mean for group 1, and significantly less than the means of groups 4
  2375.      and 3.
  2376.      
  2377.      3) The means for groups 4 and 3 are not significantly different from
  2378.      each other, but they are both significantly greater than the means of
  2379.      groups 1 and 2.
  2380.      
  2381.      You can conclude that feeds 3 and 4 are better than feeds 1 and 2, but
  2382.      there is not enough evidence to say that either feed 3 or 4 is the
  2383.      best overall.
  2384.      
  2385.      Step 6 View the graphical comparison: Select "Graphical Comparisons"
  2386.      from the options menu to display a graphical comparison of the
  2387.      results. This is the same graph described earlier in the section "By
  2388.      Group Plots."  Initially, this plot shows a comparison using error
  2389.      bars. This figure shows a box plot comparison. From this plot you can
  2390.      visually see that groups 3 and 4 are similar and that group 1 is much
  2391.      lower than the rest. Exit the viewer by choosing the <Exit> option.
  2392.      
  2393.      PARAMETRIC REPEATED MEASURES (PAIRED) ANALYSIS
  2394.      
  2395.      Repeated measures are observations taken on the same or related
  2396.      subjects over time or in differing circumstances. Examples would be
  2397.      weight loss, or reaction to a drug across time.
  2398.      
  2399.      EXAMPLE PAIRED T-TEST
  2400.      
  2401.      The data in this example are before and after weights for eight
  2402.      persons on a diet. Notice that in this case, both data values are
  2403.      taken from the SAME entity (person). Follow these steps to perform
  2404.      this analysis:
  2405.      
  2406.      Step 1 Create or Open the database: Use the pre-defined database
  2407.      structure named "FOR PAIRED T-TEST OR McNEMAR's TEST." This will
  2408.      create a database with the fields REP1 and REP2. The REP1 will be used
  2409.      for Before and REP2 will be used for After. Or, open the database
  2410.      named DIET, and skip to step 3. Data for paired t-test
  2411.      
  2412.  
  2413.  
  2414.  
  2415.  
  2416.      --------------------------------------------------------------------
  2417.                          Please Become a Registered User
  2418.  
  2419.                                         41
  2420.  
  2421.      
  2422.      KWIKSTAT 4.1 Statistical Data Analysis
  2423.      --------------------------------------------------------------------
  2424.      
  2425.      Person  Before After
  2426.      1       162    168
  2427.      2       170    136
  2428.      3       184    147
  2429.      4       164    159
  2430.      5       172    143
  2431.      6       176    161
  2432.      7       159    143
  2433.      8       170    145
  2434.      
  2435.      Step 2 Enter the data: Enter the data for the eight records. The
  2436.      database should look similar to the listing of the data above.
  2437.      
  2438.      Step 3 Choose the analysis: Choose the t-tests and Analysis of
  2439.      Variance (ANOVA) option from the ANALYZE pull-down menu. Then choose
  2440.      the "Compare repeated or paired data (t-test, ANOVA)" option from the
  2441.      module menu.
  2442.      
  2443.      Step 4 Select the fields to use: Select REP1 (BEFORE) as the first
  2444.      field and REP2 as the second field.
  2445.      
  2446.      Step 5 Analyze the results: Choose to View the results from the
  2447.      options menu. Select "Graphical Comparisons" from the options menu to
  2448.      display a graphical comparison of the results.
  2449.      
  2450.      EXAMPLE ONE-WAY REPEATED MEASURES ANOVA
  2451.      
  2452.      For more than a pair of repeated measures on the same subject, a
  2453.      one-way repeated measures analysis of variance is appropriate. The
  2454.      data in this example are repeated measures of reaction times of five
  2455.      persons after being treated with four drugs in randomized order.
  2456.      
  2457.      One-way repeated measures ANOVA data
  2458.      
  2459.      Person  Drug 1  Drug 2  Drug 3  Drug 4
  2460.      1        31      29      17      35
  2461.      2        15      17      11      23
  2462.      3        25      21      19      31
  2463.      4        35      35      21      45
  2464.      5        27      27      15      31
  2465.      
  2466.      The results of this ANOVA are summarized in the p-value. In this case,
  2467.      the small p-value (The (p=)0.000 on the "Repeated Factor" line in the
  2468.      ANOVA table.) means that there is a statistically significant
  2469.      difference in the mean response times for the four drugs.
  2470.      
  2471.      The Newman-Keuls multiple comparison test (or whichever multiple
  2472.      comparison test you chose at setup) describes which of the means are
  2473.      significantly different from which others (at the 0.05 significance
  2474.      level). See previous ANOVA example.
  2475.      --------------------------------------------------------------------
  2476.                          Please Become a Registered User
  2477.  
  2478.                                         42
  2479.  
  2480.      
  2481.      KWIKSTAT 4.1 Statistical Data Analysis
  2482.      --------------------------------------------------------------------
  2483.      
  2484.      
  2485.      SINGLE SAMPLE ANALYSIS
  2486.      
  2487.      This option allows you to choose a single variable, and test a
  2488.      hypothesis that the mean differs from an hypothesized mean. You must
  2489.      enter the hypothesized population mean.
  2490.      
  2491.      DUNNETT'S TEST
  2492.      
  2493.      Dunnett's test is a multiple comparison procedure following a one-way
  2494.      ANOVA that compares a control mean with the other means in the
  2495.      analysis.
  2496.      
  2497.      NON-PARAMETRIC PROCEDURES
  2498.      
  2499.      Non-parametric procedures are appropriate when the assumption of
  2500.      normality cannot be made for a small data set or when a large data set
  2501.      is known to be from a non-normal population. Non-parametric procedures
  2502.      are generally based on ranks rather than actual data values, so these
  2503.      procedures can be useful also when actual data values are not known,
  2504.      but the order or ranks of the data values are known.
  2505.      
  2506.      MANN-WHITNEY PROCEDURE
  2507.      
  2508.      If two independent groups, such as in this example, are being
  2509.      compared, the Mann-Whitney U-statistic is calculated.
  2510.      
  2511.      EXAMPLE: MANN-WHITNEY TEST OF TWO INDEPENDENT GROUPS
  2512.      
  2513.      The fertilizer data from the t-test example are used in this example.
  2514.      If you have not already created the database for this data set, do so
  2515.      now by referring to that example. Follow these steps to do this
  2516.      example:
  2517.      
  2518.      Step 1 Open the database: Open the database named FERTILIZ and choose
  2519.      the Non-Parametric Comparisons option from the ANALYZE menu. Or, if
  2520.      you are already in the Non-Parametric module, select the "ChooSe a
  2521.      Database" option and open the FERTILIZ database.
  2522.      
  2523.      Step 2 Select analysis type: From the Non-Parametrics Comparisons menu
  2524.      select "Independent groups - Mann-Whitney, Kruskal-Wallis."
  2525.      
  2526.      Step 3 Select fields to use:  Choose GROUP as the grouping variable
  2527.      and OBS (HEIGHT) as the data (response) variable.
  2528.      
  2529.      Step 4 View the results: KWIKSTAT will display the results, including
  2530.      the Mann-Whitney U statistic, the rank sums, sample sizes and mean
  2531.      ranks of the groups, a z statistic and an approximate p-value. In this
  2532.      case, U'=24.00, U = 16, z=0.357 and p=0.721.
  2533.      
  2534.      --------------------------------------------------------------------
  2535.                          Please Become a Registered User
  2536.  
  2537.                                         43
  2538.  
  2539.      
  2540.      KWIKSTAT 4.1 Statistical Data Analysis
  2541.      --------------------------------------------------------------------
  2542.      
  2543.      The p-value of 0.721 is large so the null hypothesis of no difference
  2544.      in medians between groups is not rejected. There is not sufficient
  2545.      evidence based on this procedure to say that there is a difference
  2546.      between the median heights of plants in the two groups grown using
  2547.      different fertilizers.
  2548.      
  2549.      KRUSKAL-WALLIS PROCEDURE
  2550.      
  2551.      If more than two independent groups are being compared using
  2552.      non-parametric methods, KWIKSTAT uses the Kruskal-Wallis test. The
  2553.      database used is of the same form as for the one-way independent
  2554.      gropu analysis of variance.
  2555.      
  2556.      KWIKSTAT will display the Kruskal-Wallis H-statistic, the rank sums,
  2557.      sample sizes and mean ranks of the groups, a chi-square statistic and
  2558.      an approximate p-value, and a graph of the results similar to the
  2559.      one described for the one-way ANOVA.
  2560.      
  2561.      NON-PARAMETRIC REPEATED MEASURES ANALYSIS -  FRIEDMAN'S TEST
  2562.      
  2563.      When repeated observations are taken on the same subject, and there is
  2564.      interest in comparing the observations for each repeated measure
  2565.      (e.g., each type of treatment), then a repeated measures analysis may
  2566.      be appropriate. Data for Friedman's test is the same as described in
  2567.      the one-way repeated measures ANOVA. The results include a multiple
  2568.      comparison of groups.
  2569.      
  2570.      NON-PARAMETRIC DICHOTOMOUS DATA ANALYSIS - COCHRAN'S Q
  2571.      
  2572.      Cochran's Q procedure is a non-parametric procedure appropriate for
  2573.      use with dichotomous data when the experiment involves repeated
  2574.      measures on blocks. The response of the subjects to the treatments is
  2575.      dichotomous if it is taken as one of only two possible outcomes, often
  2576.      labeled "success" and "failure", rather than as a measurement.
  2577.      
  2578.      USING REGRESSION & CORRELATION PROCEDURES
  2579.      
  2580.      To examine the linear relationship between variables, correlation and
  2581.      linear regression are used.
  2582.      
  2583.      SIMPLE LINEAR REGRESSION ANALYSIS
  2584.      
  2585.      Data for this example of simple linear regression are Homicide Rate
  2586.      and Handgun Licenses Issued per 100,000 population for the years 1961
  2587.      to 1973 in Detroit (Fisher, 1976, reprinted from Gunst and Mason,
  2588.      1980).
  2589.      
  2590.  
  2591.  
  2592.  
  2593.      --------------------------------------------------------------------
  2594.                          Please Become a Registered User
  2595.  
  2596.                                         44
  2597.  
  2598.      
  2599.      KWIKSTAT 4.1 Statistical Data Analysis
  2600.      --------------------------------------------------------------------
  2601.      
  2602.      Data for simple linear regression (handgun study)
  2603.      
  2604.      Year  Homicide  Handguns
  2605.             Rate    Registered
  2606.      1961   8.60     178.15
  2607.      1962   8.90     156.41
  2608.      1963   8.52     198.02
  2609.      1964   8.89     222.10
  2610.      1965  13.07     301.92
  2611.      1966  14.57     391.22
  2612.      1967  21.36     665.56
  2613.      1968  28.03    1131.21
  2614.      1969  31.49     837.60
  2615.      1970  37.39     794.90
  2616.      1971  46.26     817.74
  2617.      1972  47.24     583.17
  2618.      1973  52.33     709.59
  2619.      
  2620.      Since you want to compare the homicide rate with handguns registered,
  2621.      you need a database with only these two sets of numbers (you can
  2622.      exclude year.) The data for this example is stored on your disk as
  2623.      HANDGUNS.DBF with the variables HOMICIDES and HANDGUNS.  See chapter 2
  2624.      if you need information about how to create a database. To perform a
  2625.      simple linear regression using this data, follow these steps:
  2626.      
  2627.      Step 1 Open the database: Open the database named HANDGUNS. If you are
  2628.      at the main menu, select the Open a Database option from the FILE
  2629.      menu, then choose Regression and Correlation from the ANALYZE menu. If
  2630.      you are in the Regression module, select "ChooSe a Database."
  2631.      
  2632.      Step 2 Select analysis type: From the Regression menu, choose the
  2633.      "Simple Linear Regression" option.
  2634.      
  2635.      Step 3 Select the fields to use: Select HOM_RATE as the DEPENDENT (Y)
  2636.      variable first, then select HAND_REG as the INDEPENDENT (X) variable.
  2637.      
  2638.      Step 4 View the results: KWIKSTAT will perform calculations and
  2639.      display a menu. Choose "View/Print Results," which will display
  2640.      information as shown in figure 4.21. Exit the viewer with F7/Exit.
  2641.      
  2642.      Step 5 View the Plots: View a scatterplot of the original data with
  2643.      the fitted regression line, and a plot of the residual values by
  2644.      choosing "Display Plot" items from the options menu.
  2645.      
  2646.      Step 6 Forecast new values: You may optionally want to predict new
  2647.      values from the calculated regression line. If so, choose that option,
  2648.      and enter the number or range of numbers of the Independent variable
  2649.      you want to use to predict.
  2650.      
  2651.      Pearson's correlation coefficient (r) is reported (0.7263) as well as
  2652.      --------------------------------------------------------------------
  2653.                          Please Become a Registered User
  2654.  
  2655.                                         45
  2656.  
  2657.      
  2658.      KWIKSTAT 4.1 Statistical Data Analysis
  2659.      --------------------------------------------------------------------
  2660.      
  2661.      R2 (R-Square, 0.5275). The linear regression equation given is a
  2662.      mathematical representation of a straight line that passes through a
  2663.      plot of the data, and can be used to predict the dependent variable
  2664.      (HOMICIDES) given a value for the independent variable (HANDGUNS). In
  2665.      this case the linear regression equation is:
  2666.      
  2667.      HOMICIDES = 4.910512 + 3.761144E-02 * HANDGUNS
  2668.      
  2669.      If you want to predict the homicide rate for 300 handguns registered,
  2670.      you would use the equation:
  2671.      
  2672.      HOMICIDES = 4.910512 + 3.761144E-02 * 300
  2673.      
  2674.      A t-test is performed to test the statistical significance of the
  2675.      linear relationship between the two variables. A low p-value means
  2676.      that the two variables are significantly related.
  2677.      
  2678.      Regression Plots: These plots are helpful to determine if a linear fit
  2679.      to the data is appropriate. The scatterplot shows you how compact or
  2680.      spread apart the points are around the fitted lines, and may help you
  2681.      discover outliers. The residual plot helps you determine if a linear
  2682.      fit is appropriate.
  2683.      
  2684.      Predicting new values: When you choose this option, you will be
  2685.      prompted for one or more X variable values for which you wish to
  2686.      predict Y variable values.
  2687.      
  2688.      MULTIPLE REGRESSION ANALYSIS
  2689.      
  2690.      Multiple regression is an extension of simple linear regression into
  2691.      several dimensions (several independent variables). In the multiple
  2692.      regression procedure, you must enter a list of the independent
  2693.      variables and a single dependent variable on which you wish to perform
  2694.      the regression analysis. In KWIKSTAT you may use up to 10 independent
  2695.      variables in this option. Multiple regression can be complicated.
  2696.      
  2697.      KWIKSTAT calculates and displays several results, including the
  2698.      coefficients and intercept of the regression "line". A significance
  2699.      test is performed to determine the significance of the contribution of
  2700.      the different variables or factors to the model (mathematical
  2701.      representation).
  2702.      
  2703.      EXAMPLE MULTIPLE REGRESSION ANALYSIS (LONGLEY DATA)
  2704.      
  2705.      Longley introduced a data set which has often been used in comparing
  2706.      multiple linear regression procedures in the literature. The variables
  2707.      refer to economic factors.  This example uses the LONGLEY database on
  2708.      the KWIKSTAT disk. Follow these steps to perform a multiple linear
  2709.      regression:
  2710.      
  2711.      --------------------------------------------------------------------
  2712.                          Please Become a Registered User
  2713.  
  2714.                                         46
  2715.  
  2716.      
  2717.      KWIKSTAT 4.1 Statistical Data Analysis
  2718.      --------------------------------------------------------------------
  2719.      
  2720.      Step 1 Open the database: Open the database named LONGLEY. If you are
  2721.      at the main menu, select the Open a Database option from the FILE
  2722.      menu, then choose Regression and Correlation from the ANALYZE menu. If
  2723.      you are in the Regression module, select "ChooSe a Database."
  2724.      
  2725.      Step 2 Select analysis type: From the Regression menu, choose the
  2726.      "Multiple Linear Regression" option.
  2727.      
  2728.      Step 3 Select the fields to use: The LONGLEY database consists of 7
  2729.      fields: DEFLATOR, GNP, UNEMP, ARMED, POP, TIME, and TOTAL. The first
  2730.      six of these will be used as independent variables and the seventh,
  2731.      TOTAL, is the dependent variable (the one to be predicted). Select
  2732.      TOTAL as the DEPENDENT variable and DEFLATOR, GNP, UNEMP, ARMED, POP,
  2733.      TIME as the INDEPENDENT variables, then select "Finished Choosing
  2734.      Fields."
  2735.      
  2736.      Step 4 View the results: KWIKSTAT will perform calculations and
  2737.      display the results as shown in figure 4.22
  2738.      
  2739.      The table at the top of the output (in Figure 4.22) tells you the
  2740.      intercept value and the coefficient values for each of the independent
  2741.      variables. These can be used to create an equation for prediction of
  2742.      the dependent variable.
  2743.      
  2744.      In this case, the equation is:
  2745.      
  2746.      TOTAL = -3481930.1065 + DEFLATOR*(15.0161517122) +
  2747.      GNP*(-0.03579443400) + UNEMP*(-2.0199053296) + ARMED*(-1.0332049046) +
  2748.      POP*(-0.05130725587) + TIME*(1828.99249535)
  2749.      
  2750.      Note: Although the results are reported to 8 to 9 decimal places, it
  2751.      is usually not appropriate or necessary to use this many decimal
  2752.      places. After viewing or printing the results, exit the viewer.
  2753.      
  2754.      Step 5 View the Plots: From the options menu, you can choose to view
  2755.      residual plots to determine if the data are linear. If the residual
  2756.      plots do not show random patterns, you should determine if there is a
  2757.      transformation you can perform on the data to make it linear.
  2758.      
  2759.      Step 6 Forecast new values: From the options menu, you can choose to
  2760.      predict new values from the calculated regression line.
  2761.      
  2762.      KWIKSTAT also reports R-Square, which gives you a measure of how well
  2763.      the regression "line" fits the data.
  2764.      
  2765.      It is a good idea to view plots of residuals. The plots are helpful to
  2766.      determine if regression analysis is appropriate. A pattern other than
  2767.      a random horizontal band about zero indicates that the assumptions
  2768.      necessary for a regression procedure may be violated.
  2769.      
  2770.      --------------------------------------------------------------------
  2771.                          Please Become a Registered User
  2772.  
  2773.                                         47
  2774.  
  2775.      
  2776.      KWIKSTAT 4.1 Statistical Data Analysis
  2777.      --------------------------------------------------------------------
  2778.      
  2779.      CORRELATION ANALYSIS
  2780.      
  2781.      The correlation coefficient is a measure of the strength of the linear
  2782.      relationship between two variables. KWIKSTAT allows you to find both
  2783.      Pearson's and Spearman's (rank) correlation coefficients of two
  2784.      variables. It also displays the matrix of correlation coefficients of
  2785.      pairs of variables when there are more than two variables being
  2786.      considered.
  2787.      
  2788.      This example uses the Longley data described in the Multiple
  2789.      Regression example above. To display the correlation matrix, use these
  2790.      steps:
  2791.      
  2792.      Step 1 Open the database: Open the database named LONGLEY.
  2793.      
  2794.      Step 2 Select analysis type: From the Regression menu, choose the
  2795.      "Correlation Matrix" option.
  2796.      
  2797.      Step 3 Select the fields to use: The LONGLEY database consists of 7
  2798.      fields: DEFLATOR, GNP, UNEMP, ARMED, POP, TIME, and TOTAL. Select all
  2799.      the fields for this analysis. KWIKSTAT will perform the calculations
  2800.      and display a 7 by 7 matrix.
  2801.      
  2802.      Only half of the array is displayed since the other half is a mirror
  2803.      image. The diagonal entries are also omitted since they are all one; a
  2804.      variable is always perfectly correlated with itself.
  2805.      
  2806.      Each entry in the array consists of two numbers (three numbers if the
  2807.      information is printed to a printer). The first (upper) is the
  2808.      Pearson's correlation coefficient for the two (row and column)
  2809.      variables of that entry. The second (middle) number, in parentheses,
  2810.      is the p-value of the t-test for Ho: rho = 0 vs. Ha: rho <> 0. In the
  2811.      hard copy printout (if requested), the third (bottom) number, in
  2812.      brackets, is the sample size, or number of paired observations used in
  2813.      the calculations.
  2814.      
  2815.      EXAMPLE GRAPHICAL CORRELATION MATRIX (LONGLEY DATA)
  2816.      
  2817.      This example uses the Longley data used in the previous example. To
  2818.      perform this analysis follow these steps:
  2819.      
  2820.      Step 1 Open the database: Open the database named LONGLEY.
  2821.      
  2822.      Step 2 Select analysis type: From the Regression menu, choose the
  2823.      "Graphical Correlation Matrix" option.
  2824.      
  2825.      Step 3 Select the fields to use: The LONGLEY database consists of 7
  2826.      fields: DEFLATOR, GNP, UNEMP, ARMED, POP, TIME, and TOTAL. Select all
  2827.      the fields for this analysis. KWIKSTAT will perform the calculations
  2828.      and display the scatterplots.
  2829.      --------------------------------------------------------------------
  2830.                          Please Become a Registered User
  2831.  
  2832.                                         48
  2833.  
  2834.      
  2835.      KWIKSTAT 4.1 Statistical Data Analysis
  2836.      --------------------------------------------------------------------
  2837.      
  2838.      
  2839.      These scatterplots are a visual way of examining the relationships
  2840.      between pairs of variables. It allows you to determine if a
  2841.      relationship exists between the variables, and allows you to see if
  2842.      that relationship is linear. You can use this graphical correlation
  2843.      matrix to examine the relationships between variables before using
  2844.      them in a multiple regression analysis.
  2845.      
  2846.      USING FREQUENCY AND CROSSTABULATION PROCEDURES
  2847.      
  2848.      The Crosstabulations, Frequencies, Chi Square module performs analyses
  2849.      on categorical data, that is, data observed in categories, rather than
  2850.      measurement data.
  2851.      
  2852.      EXAMPLE: FREQUENCY TABLE, BAR AND PIE CHARTS
  2853.      
  2854.      This example uses the EXAMPLE database file. One of the fields
  2855.      (variables) in this database is STATUS referring to socioeconomic
  2856.      status. Suppose you want to know how the total data set is divided up
  2857.      into the five levels of STATUS. You also want to produce a visual
  2858.      display of this information. To perform this analysis follow these
  2859.      steps:
  2860.      
  2861.      Step 1 Open the database: Open the database named EXAMPLE, then
  2862.      choose the Crosstabulations, Frequencies, Chi Square option from the
  2863.      ANALYZE menu. If you are already in the Crosstabulations, Frequencies,
  2864.      Chi Square module, select the "ChooSe Database" option.
  2865.      
  2866.      Step 2 Choose the analysis type: Select the "Frequencies" option from
  2867.      the Crosstabulations, Frequencies, Chi Square module menu .
  2868.      
  2869.      Step 3 Select field: You will be prompted to select one field
  2870.      (variable) to use. Since you want to do a frequency table on STATUS,
  2871.      select STATUS from the field list.
  2872.      
  2873.      Step 4 View results: When you choose to view/print the results, a
  2874.      frequency table is displayed as shown in figure 4.26. Exit the viewer
  2875.      with F7.
  2876.      
  2877.      If you select "Pie Chart," a pie chart, as described earlier in this
  2878.      chapter (Graph Module) will be displayed. If you choose "Bar Chart," a
  2879.      bar chart as described earlier in this chapter will appear.
  2880.      
  2881.  
  2882.  
  2883.  
  2884.  
  2885.  
  2886.  
  2887.  
  2888.      --------------------------------------------------------------------
  2889.                          Please Become a Registered User
  2890.  
  2891.                                         49
  2892.  
  2893.      
  2894.      KWIKSTAT 4.1 Statistical Data Analysis
  2895.      --------------------------------------------------------------------
  2896.      
  2897.      PERFORMING A GOODNESS OF FIT ANALYSIS
  2898.      
  2899.      A goodness-of-fit test of a single population is a test to determine
  2900.      if the distribution of observed frequencies in the sample data closely
  2901.      matches the expected number of occurrences under a hypothetical
  2902.      distribution of the population.
  2903.      
  2904.      According to a genetic theory, crossbred pea plants show a 9:3:3:1
  2905.      ratio of yellow smooth, yellow wrinkled, green smooth, green wrinkled
  2906.      offspring. Out of 250 plants, under the theoretical ratio
  2907.      (distribution) of 9:3:3:1, you would expect about
  2908.      
  2909.      (9/16)x250=140.625   yellow smooth peas,
  2910.      (3/16)x250=46.875    yellow wrinkled peas
  2911.      (3/16)x250=46.875   green smooth peas
  2912.      (1/16)x250=15.625  green wrinkled peas
  2913.      
  2914.      After growing 250 of these pea plants, you observe that
  2915.      
  2916.      152 have yellow smooth peas
  2917.        39 have yellow wrinkled peas
  2918.        53 have green smooth peas
  2919.          6 have green wrinkled peas
  2920.      
  2921.      To perform this analysis, use the following steps:
  2922.      
  2923.      Step 1 Select the analysis type: From the Crosstabulations,
  2924.      Frequencies, Chi Square menu choose the "Goodness-of-Fit" option.
  2925.      
  2926.      Step 2 Enter the data: You will be prompted to enter the number of
  2927.      categories. In this case, type 4 for the four categories of peas
  2928.      (yellow smooth, yellow wrinkled, green smooth, green wrinkled) and
  2929.      press Enter. You will also be asked if you want to enter the expected
  2930.      ratios, or if you will be entering the actual expected values into the
  2931.      table. If you choose to enter ratios, you will enter
  2932.      
  2933.      9,3,3,1
  2934.      
  2935.      An empty table will appear with the instructions to enter the observed
  2936.      values for each category. Enter the observed values given above,
  2937.      pressing Enter after each entry. For example, for the first row, enter
  2938.      152 for observed (Press Enter) enter 39 (Press Enter) and so on.
  2939.      KWIKSTAT will perform the calculations (including filling in the
  2940.      expected values column) and display the results.
  2941.      
  2942.      The calculated chi-square statistic in this case is 8.97 and the
  2943.      p-value is 0.031. At a 0.05 level of significance, this p-value
  2944.      indicates that there is enough evidence to reject the null hypothesis
  2945.      that the observed values follow the theoretical distribution. That is,
  2946.      the test (at the 0.05 significance level) suggests that a 9:3:3:1
  2947.      --------------------------------------------------------------------
  2948.                          Please Become a Registered User
  2949.  
  2950.                                         50
  2951.  
  2952.      
  2953.      KWIKSTAT 4.1 Statistical Data Analysis
  2954.      --------------------------------------------------------------------
  2955.      
  2956.      ratio of yellow smooth:yellow wrinkled:green smooth:green wrinkled
  2957.      peas is not an appropriate distribution for the population from which
  2958.      these data are taken.
  2959.      
  2960.      PERFORMING A CROSSTABULATION ANALYSIS (CHI-SQUARE)
  2961.      
  2962.      Crosstabulations can be used to perform a chi-square test for
  2963.      independence or a chi-square test for homogeneity. A two-way table is
  2964.      constructed that displays the number of counts for each category.
  2965.      Crosstabulation table options you may choose for constructing a table
  2966.      include:
  2967.      
  2968.      A) Frequencies only
  2969.      B) Include Expected Values
  2970.      C) Include Expected Values and Percents
  2971.      D) Include Expected Values, Chi-Contribution and Percents
  2972.      E) Include Percents
  2973.      F) Include Expected Values and Chi-Contribution
  2974.      Q) Quit this option
  2975.      
  2976.      EXAMPLE: 2 BY 2 CROSSTABULATION TEST FOR INDEPENDENCE
  2977.      
  2978.      Data for this example are observations of the number of beetles and
  2979.      bugs on the upper and lower sides of leaves (Zar,1974, page 292).
  2980.      
  2981.      2 by 2 Contingency Table Data
  2982.      
  2983.                 Beetles  Bugs
  2984.                  ---------------
  2985.      Upper Leaf   12      7
  2986.      
  2987.      Lower Leaf   2       8
  2988.      
  2989.      Since you are given only the totals for each of the four categories,
  2990.      and not the individual data for each leaf, there is no need to create
  2991.      a database. Rather, you can just enter these totals from the keyboard.
  2992.      To perform this analysis, follow these steps:
  2993.      
  2994.      Step 1 Choose analysis type: From the Crosstabulations, Frequencies,
  2995.      Chi Square menu, select the "Crosstabulations, Chi-Square" option. You
  2996.      will be asked if you want to "Read data from the database" or "Enter
  2997.      data from the keyboard." For this example, select "K" to enter data
  2998.      from the keyboard.
  2999.      
  3000.      Step 2 Select size of table: You will then be prompted to give the
  3001.      size of the table. When asked for the number of rows, type 2 and press
  3002.      Enter. When asked for the number of columns, again type 2 and press
  3003.      Enter. An empty table will appear with the instructions to enter the
  3004.      counts for each category into the appropriate cell.
  3005.      
  3006.      --------------------------------------------------------------------
  3007.                          Please Become a Registered User
  3008.  
  3009.                                         51
  3010.  
  3011.      
  3012.      KWIKSTAT 4.1 Statistical Data Analysis
  3013.      --------------------------------------------------------------------
  3014.      
  3015.      Step 3 Enter the data: Enter the values given above, pressing Enter
  3016.      after each entry. KWIKSTAT will perform the calculations and display
  3017.      the results.
  3018.      
  3019.      The calculated chi-square statistic in this case is 4.89 with a
  3020.      p-value of 0.028. The chi-square with Yates correction is 3.31 with a
  3021.      p-value of 0.069 and the Fisher Exact Test (two tail) has a p-value of
  3022.      0.050. Because one of the cells produces an expected value less than
  3023.      5, KWIKSTAT gives a warning that the chi-square analysis for this data
  3024.      may not be valid. Given this warning, it is best to rely on the
  3025.      Fisher's Exact Test for making a decision.
  3026.      
  3027.      EXAMPLE: ANALYZING A LARGER TABLE (SEX BY HAIR COLOR)
  3028.      
  3029.      A generalization of the 2 by 2 table is the R by C (Rows by Columns)
  3030.      table. This is an example (Zar, 1984, page 62) of a two by four
  3031.      contingency table involving the variables hair color and sex. The null
  3032.      hypothesis is that there is no relationship between hair color and
  3033.      sex.
  3034.      
  3035.      2 by 4 Contingency Table Data (sex by hair color)
  3036.      
  3037.                 HAIR COLOR
  3038.            Sex        Black  Brown  Blonde  Red
  3039.          -----------------------------------------
  3040.            Male        32     43     16      9
  3041.            Female      55     65     64     16
  3042.      
  3043.      Since you are given only the totals for each of the eight categories,
  3044.      and not the individual data for each person, there is no need to
  3045.      create a database. Rather, you can just enter these totals from the
  3046.      keyboard. To perform this analysis, follow these steps:
  3047.      
  3048.      Step 1 Choose analysis type: From the Crosstabulations, Frequencies,
  3049.      Chi Square menu, select the "Crosstabulations, Chi-Square" option. You
  3050.      will be asked if you want to enter data from a (D)atabase or
  3051.      (K)eyboard. Type K and press Enter.
  3052.      
  3053.      Step 2 Select size of table: You will then be prompted to give the
  3054.      size of the table. When asked for the number of rows, enter 2. When
  3055.      asked for the number of columns,  enter 4. An empty table will appear
  3056.      with the instructions to enter the counts for each category into the
  3057.      appropriate cell.
  3058.      
  3059.      Step 3 Enter the data: Enter the values given above, pressing Enter
  3060.      after each entry. KWIKSTAT will perform the calculations and display
  3061.      the results.
  3062.      
  3063.      Step 4 Analyze the results: The calculated chi-square statistic in
  3064.      this case is 8.99 with a p-value of 0.03. A decision can be made using
  3065.      --------------------------------------------------------------------
  3066.                          Please Become a Registered User
  3067.  
  3068.                                         52
  3069.  
  3070.      
  3071.      KWIKSTAT 4.1 Statistical Data Analysis
  3072.      --------------------------------------------------------------------
  3073.      
  3074.      this p-value of the test. A low p-value (less than the chosen
  3075.      significance level) is usually taken to indicate rejection of the null
  3076.      hypothesis.
  3077.      
  3078.      CREATING A 3-D BAR CHART
  3079.      
  3080.      As an option when performing a Crosstabulation, KWIKSTAT allows you to
  3081.      draw a 3-dimensional bar chart of data for a contingency table
  3082.      (crosstabulation), and then to focus in on a part of it if desired.
  3083.      Data for the 3-dimensional bar chart must be entered first, either
  3084.      from the keyboard or a database, by using the "Crosstabulations,
  3085.      Chi-Square" option.
  3086.      
  3087.      MCNEMAR'S TEST
  3088.      
  3089.      McNemar's test is appropriate for use with paired, dichotomous data.
  3090.      This test is sometimes called a test for related samples or a test for
  3091.      the significance of changes. It is useful for comparing paired or
  3092.      related observations in which the response is dichotomous, that is,
  3093.      the response is one of only two possible outcomes. McNemar's test is
  3094.      the 2 by 2 version of Cochran's Q test described in the section on
  3095.      non-parametric tests. The test assumes that any pair of observations
  3096.      is independent of any other pair of observations, although clearly the
  3097.      observations within a pair are not independent of each other.
  3098.      
  3099.      LIFE TABLES AND SURVIVAL ANALYSIS
  3100.      
  3101.      Survival Analysis is used to analyze the survival experience of a
  3102.      group of persons or components. In medical research, survival analysis
  3103.      is helpful is studying the survival of patients under one or more
  3104.      conditions. In industry, the survival may be that of a component such
  3105.      as an electronic switch or a gear. To perform a survival analysis, the
  3106.      data must be in the following form:
  3107.      
  3108.      1) a TIME variable which contains a time (e.g., minutes, days, years,
  3109.      etc.) in which the subject or component has been observed to be alive
  3110.      (not failed).
  3111.      
  3112.      2) a CENSOR variable which must take on the values 0 or 1,  where 1
  3113.      means the subject has died (failed), and a 0 means the subject was
  3114.      still alive (not failed) at the last available time period.
  3115.      
  3116.      3) optionally, a GROUPING variable which may have up to ten values
  3117.      (numeric or character), i.e., the data may be in groups.
  3118.      
  3119.      KWIKSTAT allows you to choose from two types of life tables, Actuarial
  3120.      or Kaplan-Meier. The Actuarial method uses fixed length intervals in
  3121.      the table, and the Kaplan-Meier table uses intervals based on the
  3122.      data.
  3123.      
  3124.      --------------------------------------------------------------------
  3125.                          Please Become a Registered User
  3126.  
  3127.                                         53
  3128.  
  3129.      
  3130.      KWIKSTAT 4.1 Statistical Data Analysis
  3131.      --------------------------------------------------------------------
  3132.      
  3133.      Once the data are entered into the program, a life table for each
  3134.      group is produced which includes, for each time interval, the number
  3135.      entered, withdrawn, lost, dead, exposed, the proportion dead,
  3136.      proportion surviving, cumulative proportion surviving, and other
  3137.      information.
  3138.      
  3139.      A plot is given for the cumulative proportion surviving in the
  3140.      group(s) against time. If more than one group is entered, a
  3141.      Mantel-Haenszel log-rank test is performed to test the hypothesis of
  3142.      equal survival patterns for the groups. A reference to how this test
  3143.      is developed is covered in Matthews and Farewell (1988).
  3144.      
  3145.      EXAMPLE: ACTUARIAL LIFE TABLE ANALYSIS
  3146.      
  3147.      The data for this example are in the LIFE database on the KWIKSTAT
  3148.      disk. These data are from Prentice (1973). To perform this analysis,
  3149.      follow these steps:
  3150.      
  3151.      Step 1 Open the database: If you are at the main KWIKSTAT menu, choose
  3152.      the Open Database option from the FILE menu and select the database
  3153.      LIFE, then choose the Life Table and Survival Analysis option from the
  3154.      ANALYZE menu. If you are already in the Life module, open the LIFE
  3155.      database by selecting the "ChooSe database to open" option.
  3156.      
  3157.      Step 2 Choose the analysis type: Select the "Actuarial Life Table
  3158.      Analysis" option from the Life Table and Survival Analysis menu. Step
  3159.      3 Choose fields to use: The LIFE database consists of 3 fields:
  3160.      SURVIVAL, CENSOR, and GROUP. A portion of the LIFE database is shown
  3161.      here:
  3162.      
  3163.      SURVIVAL  CENSOR  GROUP
  3164.      72         1       1
  3165.      411        1       1
  3166.      228        1       1
  3167.      11         1       1
  3168.      25         0       1
  3169.      144        1       1
  3170.      etc...
  3171.      
  3172.      The first column is the SURVIVAL field with entries of length of life,
  3173.      or length of survival. The second column is the CENSOR field, an
  3174.      indicator of whether the subject has failed (died) or not at the last
  3175.      observed time period. 1 means failed, 0 means not failed (still
  3176.      alive).
  3177.      
  3178.      The third column contains a grouping variable. In this case it is
  3179.      either 1 or 2. Group 1 may represent one treatment, while group 2
  3180.      represents another kind of treatment. The objective is to compute
  3181.      survival curves to see if the treatments provide different average
  3182.      survival distributions.
  3183.      --------------------------------------------------------------------
  3184.                          Please Become a Registered User
  3185.  
  3186.                                         54
  3187.  
  3188.      
  3189.      KWIKSTAT 4.1 Statistical Data Analysis
  3190.      --------------------------------------------------------------------
  3191.      
  3192.      
  3193.      Select SURVIVAL as the TIME variable, CENSOR as the censor variable
  3194.      and GROUP as the grouping variable.
  3195.      
  3196.      Step 4 Select interval length: KWIKSTAT reports the names and sizes of
  3197.      the groups and then asks you to specify the length of each interval
  3198.      for the table to be produced. You can specify a desired interval
  3199.      length or you can use the default length by simply pressing Enter. For
  3200.      this example, press Enter to select the default length.
  3201.      
  3202.      Step 5 Analyze the results: KWIKSTAT will perform the calculations and
  3203.      display an options menu. If you choose the View/Print option two sets
  3204.      of tables, one for each group will be displayed. The first table
  3205.      includes the numbers of subjects entered alive, withdrawn, dead,
  3206.      exposed, the proportion dead, proportion alive, cumulative survival
  3207.      proportion and standard error for the first group. The second table
  3208.      includes 95% confidence limits on the cumulative survival proportion.
  3209.      
  3210.      From the table, you can see that, in the first group, 22 of 37
  3211.      exposed, or 59.5% died in the first interval (0.0-99.0) and two were
  3212.      withdrawn. In the second group, 12 of 23.5 exposed (51.1%) died and
  3213.      one was withdrawn in the first interval. Exit the viewer by selecting
  3214.      F7/Exit.
  3215.      
  3216.      Comparing Survival Curves: At the end of the report, KWIKSTAT reports
  3217.      the results of the Mantel-Haenszel comparison of the two curves. The
  3218.      hypotheses being tested are:
  3219.      
  3220.      Ho: The survival curves are the same.
  3221.      Ha: The survival curves are not the same.
  3222.      
  3223.      In this example, the Mantel-Haenszel comparison procedure results in a
  3224.      chi-square statistic of 0.7191 and a p-value of 0.397. This p-value is
  3225.      much too large to reject the hypothesis of equal curves. This
  3226.      indicates that the two distributions are not statistically
  3227.      significantly different - thus neither treatment is superior in terms
  3228.      of survival distributions.
  3229.      
  3230.      Displaying Survival Curves: From the options menu, you can choose to
  3231.      display survival curves. This is a graphical representation of the
  3232.      cumulative proportion surviving from the life table. The survival
  3233.      curve for this analysis is shown.
  3234.      
  3235.      The Kaplan-Meier life table contains most of the same information as
  3236.      the Actuarial Life Table. However, instead of the time intervals being
  3237.      fixed, the time intervals are based on time values from the data.
  3238.      
  3239.  
  3240.  
  3241.  
  3242.      --------------------------------------------------------------------
  3243.                          Please Become a Registered User
  3244.  
  3245.                                         55
  3246.  
  3247.      
  3248.      KWIKSTAT 4.1 Statistical Data Analysis
  3249.      --------------------------------------------------------------------
  3250.      
  3251.      ==========
  3252.      REFERENCES
  3253.      ==========
  3254.      
  3255.      Box, Jenkins, and Reinsel, Time Series Analysis - Forecasting and
  3256.      Control, Prentice-Hall, 1994.
  3257.      
  3258.      Deming, W.E., Out of Crisis, Cambridge, MA:  Massachusetts Institute
  3259.      of Technology, Center for Advanced Engineering Study, 1986
  3260.      
  3261.      Dixon, W.J. and Massey, F.J., Introduction to Statistical Analysis,
  3262.      McGraw-Hill Book Company, New York, 1969.
  3263.      
  3264.      Elliott, A.C. and Woodward, W.A.,"Analysis of an Unbalanced Two-Way
  3265.      ANOVA on the Microcomputer", Communications in Statistics, Volume B15,
  3266.      Number 1, 1986.
  3267.      
  3268.      Gunst, R.F., and Mason, R.L., Regression Analysis and its
  3269.      Applications, Marcel Dekker, New York, 1980.
  3270.      
  3271.      Granger, C.W.J. and Newbold, P., Forecasting Economic Time Series,
  3272.      Academic Press, 1977.
  3273.      
  3274.      Hoaglin, D.C., Mosteller, F., Tukey, J.W., Understanding Robust and
  3275.      Exploratory Data Analysis, John Wiley & Sons, Inc. New York, 1983.
  3276.      (Box and Whiskers Plots, Stem and Leaf Displays)
  3277.      
  3278.      Kennedy, W. J., Jr., and Gentle, J.E., Statistical Computing, Marcel
  3279.      Dekker, Inc, New York, 1980.
  3280.      
  3281.      Larsen, R.J. and Marx, M.L., Statistics, Prentice-Hall, 1990.
  3282.      
  3283.      Lehmann, E.L. Nonparametrics: Statistical Methods Based on Ranks,
  3284.      Holden-Day, Inc, Oakland, Ca, 1975.
  3285.      
  3286.      Longley, J.W. "An appraisal of least squares programs for the electronic
  3287.      computer from the point of view of the user." JASA, 1967, 62, 819-831.
  3288.      
  3289.      Montgomery, D.C., Introduction to Statistical Quality Control, John
  3290.      Wiley and Sons, 1991.
  3291.      
  3292.      Neter, J., Wasserman, W., and Kutner, M. H., Applied Linear
  3293.      Statistical Models, Richard D. Irwin, Inc., 1990, Third Edition.
  3294.      
  3295.      Prentice, R.L. "Exponential survivals with censoring and explanatory
  3296.      variables.", Biometrika 60, 1973, 279-288.
  3297.      
  3298.      Ryan, Thomas P. Statistical Methods for Quality Improvement, John
  3299.      Wiley & Sons, New York, 1989. Tukey, J.W., Exploratory Data Analysis,
  3300.      Addison-Wesley, 1977.
  3301.      --------------------------------------------------------------------
  3302.                          Please Become a Registered User
  3303.  
  3304.                                         56
  3305.  
  3306.      
  3307.      KWIKSTAT 4.1 Statistical Data Analysis
  3308.      --------------------------------------------------------------------
  3309.      
  3310.      
  3311.      Tsay, R.S., and Tiao, G.C., "Consistent Estimates of Autoregressive
  3312.      Parameters and Extended Sample Autocorrelation Functions for
  3313.      Stationary and Nonstationary ARMA Models," JASA 79, 84-96, 1981.
  3314.      
  3315.      Winer, B.J., Statistical Principles in Experimental Design, Second
  3316.      Edition, McGraw-Hill Book Company, 1971.
  3317.      
  3318.      Woodward, W.A., Elliott, A.C., Gray, H.L and Matlock, D.C., Directory
  3319.      of Statistical Microcomputer Software, Marcel Dekker, New York, 1988.
  3320.      
  3321.      Woodward, W.A., and Gray, H.L., "On the relationship between the
  3322.      S-array and the Box-Jenkins Method of ARMA Model Identification," JASA
  3323.      76, 579-587, 1981.
  3324.      
  3325.      Zar, J.H., Biostatistical Analysis, Prentice Hall, Inc, 1974 and 1984
  3326.      editions.
  3327.  
  3328.  
  3329.  
  3330.  
  3331.  
  3332.  
  3333.  
  3334.  
  3335.  
  3336.  
  3337.  
  3338.  
  3339.  
  3340.  
  3341.  
  3342.  
  3343.  
  3344.  
  3345.  
  3346.  
  3347.  
  3348.  
  3349.  
  3350.  
  3351.  
  3352.  
  3353.  
  3354.  
  3355.  
  3356.  
  3357.  
  3358.  
  3359.  
  3360.      --------------------------------------------------------------------
  3361.                          Please Become a Registered User
  3362.  
  3363.                                         57
  3364.  
  3365.      
  3366.      KWIKSTAT 4.1 Statistical Data Analysis
  3367.      --------------------------------------------------------------------
  3368.      
  3369.      ===========
  3370.      APPENDIX A
  3371.      ===========
  3372.      INTERPRETING ERROR CODES
  3373.      
  3374.      While every precaution is taken in writing software, all possibilities
  3375.      of use cannot be anticipated. If the program encounters a problem it
  3376.      does not know how to resolve, it will usually display an error
  3377.      message. This message will contain an error code and a reference code.
  3378.      If you encounter an error message, write it down and refer to this
  3379.      list to see if you can figure out how to resolve the problem. If you
  3380.      are unable to resolve the problem, please write down the steps you
  3381.      took before the error was encountered, and send it to TexaSoft on the
  3382.      Problem Report Form. We will try to resolve the problem as quickly as
  3383.      possible.
  3384.      
  3385.      Error Number 5 = Illegal function call
  3386.      Error Number 6 = Overflow
  3387.      Error Number 7 = Out of Memory
  3388.      Error Number 9 = Subscript out of range
  3389.      Error Number 11 = Division by zero
  3390.      Error Number 14 = Out of String Space
  3391.      Error Number 24 = Device Timeout
  3392.      Error Number 25 = Device fault
  3393.      Error Number 27 = Out of Paper
  3394.      Error Number 50 = FIELD overflow
  3395.      Error Number 51 = Internal Error
  3396.      Error Number 52 = Bad filename or number
  3397.      Error Number 53 = File not found
  3398.      Error Number 54 = Bad file mode
  3399.      Error Number 55 = File already open
  3400.      Error Number 57 = Device I/O error
  3401.      Error Number 58 = File already exists
  3402.      Error Number 61 = Disk full
  3403.      Error Number 62 = Input past end of file
  3404.      Error Number 63 = Bad record number
  3405.      Error Number 64 = Bad filename
  3406.      Error Number 67 = Too many files
  3407.      Error Number 68 = Device unavailable
  3408.      Error Number 70 = Permission denied
  3409.      Error Number 71 = Disk not ready
  3410.      Error Number 72 = Disk media error
  3411.      Error Number 74 = Rename across disks
  3412.      Error Number 75 = Path/File access error
  3413.      Error Number 76 = Path not found
  3414.      Error Number 81 = Invalid filename
  3415.  
  3416.  
  3417.  
  3418.  
  3419.      --------------------------------------------------------------------
  3420.                          Please Become a Registered User
  3421.  
  3422.                                         58
  3423.  
  3424.      
  3425.      KWIKSTAT 4.1 Statistical Data Analysis
  3426.      --------------------------------------------------------------------
  3427.      
  3428.      PROBLEM REPORT FORM: KWIKSTAT
  3429.      
  3430.      Please explain in detail the problem that occurred. If possible, send
  3431.      a printout of the results or Print Screen if possible.
  3432.      
  3433.      KWIKSTAT VERSION#_____________ RELEASE#________________
  3434.      (see opening screen)
  3435.      KWIKSTAT module where problem occurred:______________________
  3436.      (It is often helpful if you can indicate the precise commands you
  3437.      used leading up to the problem.)
  3438.      Your computer brand/model_____________________________________
  3439.      (Also indicate if it is a 8088, 286, 386, 486, Pentium)
  3440.      Monitor type: (circle one) EGA, or VGA (including SuperVGA)
  3441.      Amount of free memory available:____________________
  3442.      (use the MEM or CHKDSK command to find this out.)
  3443.      Version of DOS you are using:____________________________________
  3444.      (Use the VER command to find this out.)
  3445.      Memory resident program in use:__________________________________
  3446.      Running KWIKSTAT from (i.e DOS, Windows, DOS SHELL):__________
  3447.      PROBLEM:
  3448.      
  3449.      
  3450.      
  3451.      
  3452.      
  3453.      
  3454.      
  3455.      
  3456.      
  3457.      
  3458.      
  3459.      
  3460.      
  3461.      
  3462.      
  3463.      
  3464.      
  3465.      Mail to:TexaSoft, P.O. Box 1169, Cedar Hill, Texas 75106-1169. Or fax to
  3466.      214-291-3400, or send E-Mail to Compuserve 70721,3145 or Internet
  3467.      70721.3145@compuserve.com.
  3468.  
  3469.  
  3470.  
  3471.  
  3472.  
  3473.  
  3474.  
  3475.  
  3476.  
  3477.  
  3478.      --------------------------------------------------------------------
  3479.                          Please Become a Registered User
  3480.  
  3481.                                         59
  3482.  
  3483.      
  3484.      KWIKSTAT 4.1 Statistical Data Analysis
  3485.      --------------------------------------------------------------------
  3486.      
  3487.      USER'S BALLOT
  3488.      
  3489.      Please indicate your preference for improvements in KWIKSTAT. On a
  3490.      scale of 0 to 10
  3491.      
  3492.      0 = Very Low priority for this change
  3493.      10 = Very High priority for this change
  3494.      
  3495.      Vote  Proposed item of change
  3496.      ----  ---------------------------------------------------------
  3497.      ____  Windows version
  3498.      ____  Add more ANOVA types - example:___________
  3499.      ____  Add more Non-parametric statistical tests
  3500.      ____  Add General Linear Model
  3501.      ____  Make Report more flexible
  3502.      ____  Add more Quality Control options
  3503.      ____  Cluster Analysis
  3504.      ____  Discriminant Analysis
  3505.      ____  Add other types of analysis - example:__________
  3506.      ____ _____________________________________________
  3507.      ____  _____________________________________________
  3508.      ____  _____________________________________________
  3509.      ____  _____________________________________________
  3510.      Other Comments:(Your ideas are very important us.)
  3511.      
  3512.      
  3513.      
  3514.      
  3515.      
  3516.      
  3517.      
  3518.      
  3519.      Mail to:TexaSoft, P.O. Box 1169, Cedar Hill, Texas 75106-1169. Fax
  3520.      to:214-291-3400 or send E-Mail to Compuserve 70721,3145 or Internet
  3521.      70721.3145@compuserve.com.
  3522.      
  3523.  
  3524.  
  3525.  
  3526.  
  3527.  
  3528.  
  3529.  
  3530.  
  3531.  
  3532.  
  3533.  
  3534.  
  3535.  
  3536.  
  3537.  
  3538.  
  3539.  
  3540.                                         60
  3541.  
  3542.