home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
database
/
ks_3.zip
/
KS.DOC
< prev
next >
Wrap
Text File
|
1986-10-13
|
50KB
|
1,537 lines
KWIKSTAT
Condensed Version of Manual
"Bare Bones Edition"
by Alan C. Elliott
Mission Technologies
P.O. Box 1169
Cedar Hill, Texas 75104
(214)-291-2115
September, 1986
Version 1.0
(C)Copyright 1983, 1986, Mission Technologies.
All Rights Reserved
The KWIKSTAT distribution diskettes, containing a copy of
this manual, may be freely copied and shared, but printed
copies of this manual may not be copied in any way without
written permission from the author. All files on diskettes
must remain unaltered. Thank You. Additional copies of this
manual, bound, illustrated, and more complete, may be
purchased from Mission Technologies. Order blanks are
provided in this manual and in the file named ORDER which is
on diskette number one.
No patent liability is assumed with respect to the use of
the information contained herin. While every precaution has
been taken in the preparation of this publication, the
publisher assumed no responsibility for errors or omissions.
Neither is any liability assumed for damages resulting from
the use of the information herein.
1
KWIKSTAT 1.0
__________________________________________________________
CONTENTS
INTRODUCTORY MATERIAL
DISKETTES AND PROGRAMS..................................3
USING KWIKSTAT ON A HARD DISK...........................4
USING KWIKSTAT ON A FLOPPY DISK.........................5
SUMMARY INSTRUCTIONS FOR OPERATION......................6
FIRST TIME TUTORIAL.....................................7
PROGRAM OPERATION
SECTION 1:ENTERING DATA.................................12
SECTION 2:KWIKSTAT OVERVIEW.............................15
SECTION 3:DESCRIPTION OF SPECIFIC MODULES...............16
REPORT..............................................16
STAT1:Descriptives and Graphics.....................17
STAT2:t-tests and ANOVA.............................18
STAT3:Regression....................................20
STAT4:Survival Analysis.............................21
APPENDICIES
SAMPLE DATA SETS ON DISK................................22
ORDER INFORMATION.......................................23
USER'S BALLOT...........................................24
BUG REPORT..............................................25
REFERENCES..............................................26
2
KWIKSTAT 1.0
__________________________________________________________
DISKETTES AND PROGRAMS
KWIKSTAT is distributed on two diskettes, Disk 1 and Disk 2.
These diskettes contain the KWIKSTAT programs, and
supporting files. For a KWIK description of how to load and
use KWIKSTAT, place disk 1 in the default drive and type
"GO". Contents of each disk should be:
DISK 1
GO.BAT - Tells you preliminary information
READ.ME - File containing current information - READ IT!
DATA.EXE - KWIKSTAT program to create, enter and edit data
STAT1.EXE - KWIKSTAT descriptive statistics & graphics
STAT2.EXE - KWIKSTAT t-tests and ANOVA
KS.BAT - Batch file to begin KWIKSTAT
KWIKLOAD.BAT - Used to load KWIKSTAT to hard disk
KWIKSTAT.HLP - KWIKSTAT help file
ORDER - How to become a registered user, order manuals
DISK 2
READ.ME - File containing current information - READ IT!
REPORT.EXE- Report module
STAT3.EXE - Simple linear and multiple linear regression
STAT4.EXE - Survival Analysis
KS.DOC - This document, condensed manual
*.DBF - Some sample databases
*.DAT - some sample ASCII data files
KWIKLOAD.BAT - Used to load KWIKSTAT to hard disk
KSROOT.BAT - Batch file for root directory
KWIKSTAT.HLP - KWIKSTAT help file.
3
KWIKSTAT 1.0
__________________________________________________________
REQUIREMENTS TO RUN KWIKSTAT
1. An IBM PC, XT, AT or compatible computer.
2. DOS 2.0 or higher
3. At least 196K of memory (some parts will run on 128K of
memory)
4. A graphics, EGA or PGA monitor. (Graphics portions
will not be shown on non-graphics screens)
INSTALLING KWIKSTAT
The next section describes how to prepare KWIKSTAT for use
on a hard disk system or on a floppy disk system.
PREPARING KWIKSTAT FOR USE
USING KWIKSTAT ON A HARD DISK
A hard disk is recommended for using Kwikstat, although it
may be used on floppy disks, as described under the heading
"Using KWIKSTAT on Floppy Disks". The procedure described
here load KWIKSTAT on the hard disk drive C, in a
sub-directory named C:\KWIKSTAT.
STEP 1:Place the KWIKSTAT disk number 1 in drive A. Make A
the default drive, by entering the command:
A:
Next, enter the command:
A>KWIKLOAD
Follow the instructions on the screen, and all necessary
files will be loaded.
STEP 2:Graphics command
In order to print a graphics plot to the printer, the DOS
command file GRAPHICS.COM must be available. There are two
ways to insure this. Method one (recommended) is to make
4
KWIKSTAT 1.0
__________________________________________________________
sure a PATH is set up to tell DOS where to find the command
(SEE PATH COMMAND IN DOS MANUAL). The best way to do this is
to place a PATH command in your AUTOEXEC.BAT file in your
ROOT directory. For example, if your DOS commands are in a
subdirectory named DOS, the following path should be in the
AUTOEXEC.BAT file:
PATH \;\DOS
The PATH command is activated when you boot the computer. A
second method of making GRAPHICS.COM available is to copy it
from your DOS disk into the KWIKSTAT subdirectory.
GO FORWARD TO THE SUMMARY INSTRUCTION SECTION...
------------------------------------------------
USING KWIKSTAT ON FLOPPY DISKS
STEP 1:Format two diskettes.
This can be done by placing the DOS disk in drive A, and a
blank disk in drive B, and entering the command:
FORMAT B:
We will call these diskettes "WORKING DISKETTES 1 and 2".
STEP 2:Copy files to Working Diskettes
All KWIKSTAT programs can operate by themselves. That is,
only the ".EXE" file is required. (The KWIKSTAT.HLP file is
also required if you intend to ask for help.) Therefore, you
may place the programs you need most on one disk, and the
other programs on the second disk. For example, a basic
system (Working disk 1) may include the DATA.EXE program,
STAT1.EXE and STAT2.EXE. Place the programs REPORT.EXE,
STAT3.EXE and STAT4.EXE on Working Disk 2. If you are using
Working Disk 1, and want to run a program on Working Disk 2,
you will need to QUIT, change diskettes, and begin the
desired program.
Copy the files from the KWIKSTAT diskettes to the Working
Diskettes, placing the programs you want on each working
copy. Copy the file GRAPHICS.COM from the DOS disk to the
5
KWIKSTAT 1.0
__________________________________________________________
Working Diskettes, and the file KWIKSTAT.HLP from the
KWIKSTAT disk number 1 to both working copies.
Sample databases
Copy the files "*.DBF" and "*.DAT" from the KWIKSTAT disk 2
to a formatted floppy disk. This disk will contain the
examples mentioned in the remainder of the manual.
STEP 3:Set Graphics
Before entering KWIKSTAT, activate the graphics mode by
entering the command:
A>GRAPHICS
Alternately, you may copy the batch file KS.BAT to the
Working Diskette containing DATA.EXE, and modify this batch
file for Working Disk 2 (using Edlin or another ASCII
editor) to begin the desired startup program. The ".BAT"
batch files simply issues the GRAPHICS command, and then
begins an initial KWIKSTAT module.
If you are using floppy disks, it is recommended that the
program be run from disk A, and the data be stored on disk
B. For the examples in the text, place the disk containing
the example databases in drive B. In order to do this YOU
MUST SET UP AN INITIALIZATION FILE in the DATA module before
doing the examples. Make sure the file KS.INI, created by
the initialization routine is copied to Working disk 2. If
your disk AND program are on the same disk, this file is not
needed.
SUMMARY INSTRUCTIONS FOR OPERATION
STARTUP
Assuming you are using a hard disk, get into the KWIKSTAT
directory using the command:
C>CD \KWIKSTAT
To begin KWIKSTAT, enter the command:
6
KWIKSTAT 1.0
__________________________________________________________
C>KS
NOTE:On hard disk, you must be in the KWIKSTAT subdirectory.
If you are using floppies, you may need to enter the
GRAPHICS command first, followed by a KWIKSTAT module name.
FIRST TIME TUTORIAL
This short tutorial will give you a feeling for how to use
KWIKSTAT. It is not intended to be thorough, but simply to
lead you though a common procedure. It will assume you are
using KWIKSTAT on a hard disk. If you are using floppies,
you will need to be aware of the differences which may
occur, such as the need for an initialization file.
Begin KWIKSTAT with the KS command.
C>KS
This places you in the DATA module. Notice the two part
menu. Items numbered in single digits are procedures of this
module. Items numbered 90 to 99 are additional procedures.
Items 90 to 99 will always mean the same thing. Items 1 to 9
change depending which module you are currently using.
7
KWIKSTAT 1.0
__________________________________________________________
MENU FOR DATA MODULE
------------------------------------------------------------------
1 ) Create a new database - (enter data from keyboard or file)
2 ) Enter data from keyboard into a previously created database
3 ) Read data from and ASCII file into previously created database
4 ) Edit records
5 ) Pack -- Get rid of all records marked for delete
6 ) Set up default file path
90) HELP
91) Go to REPORTS
92) Goto STAT1:Descriptives and Graphics
93) Goto STAT2:t-test and ANOVA
94) Goto STAT3:Regression
95) Goto STAT4:Survival Analysis
99) End this program
Choose: _
------------------------------------------------------------------
To see the HELP menu, type 90, and press the ENTER key:
Choose: 90
This will display the HELP menu for KWIKSTAT...
----------------------------------------------------------
KWIKSTAT Help Screens
How to Enter Data....................................1
How to use data from a dBASE III file................2
:
etc.
Enter SCREEN NUMBER or Enter to Cancel:8
----------------------------------------------------------
The HELP menu lists major topics, and the screen number at
which that topic begins. You can think about the HELP
procedure as a book, with screens instead of pages. It is
really a condensation of the manual. To look at a particular
topic, enter the screen number you desire. For example, look
at screen 8 (Descriptive Statistics). Type the number 8, and
8
KWIKSTAT 1.0
__________________________________________________________
press Enter:
Enter SCREEN NUMBER or Enter to Cancel:8
KWIKSTAT now displays screen number 8. To move to screen
number 9, press Enter. To go back to the menu, type the "M"
key. To exit the HELP module, press the "Esc" key.
Press the Esc key now.
This takes you back you the main KWIKSTAT DATA MODULE MENU.
Take a look at Descriptives
If we wanted to enter data from the keyboard, we would do so
in this module. How to do this is explained later. For this
example, we will be using data already created, and in a
dBASE ".DBF" file currently on disk.
To go to the Descriptive Statistics module (STAT1), type 93
at the "Choose:" prompt, and press Enter.
Choose:93
It takes a few seconds to swap modules. Soon, you will see
an initial screen which gives a directory of all ".DBF"
files on disk, and prompts you to choose the one to use. For
this example, enter the name EXAMPLE.
Enter dBASE III file to use (.DBF assumed):EXAMPLE
KWIKSTAT will load the file, and present the STAT1 menu.
(NOTE:There are some procedures which do not require input
from a database. By entering a blank name, you may proceeded
with no database in use.)
9
KWIKSTAT 1.0
__________________________________________________________
-----------------------------------------------------
1) Choose another database to use
2) Detailed statistics on a single variable
3) Summary statistics on a number of variables
4) P-value determination
5) Contingency Table Analysis (Crosstabulations)
6) 3-Dimensional bar graph (Enter data in number 5 first)
7) Histogram
8) XY-Plot (Scatterplot)
90) HELP
:
:
99) End this program
Enter choice:2
------------------------------------------------------
Enter the number 2 as your choice. The program now displays
the variables available:
------------------------------------------------------
Fields which are numeric are:
2)AGE 3)TIME1
4)TIME2 5)TIME3
6)TIME4 7)STATUS
Enter a single field number :2
------------------------------------------------------
Enter the number 2 to select the AGE variable, and press
Enter. The program will now perform a series of calculations
on the data, and will produce a screen of descriptive
statistics, and a box plot of the data.
If you want a printed copy of this screen, MAKE SURE YOUR
PRINTER IS TURNED ON, and is ON LINE, and HAS PAPER. Then,
press Shift-Prtsc. Notice that this is a graphics screen,
and generally takes longer to print than a normal screen.
Any time you want a copy of the results on the screen, use
the Shift-Prtsc command.
To return to the main menu, press the Enter key.
10
KWIKSTAT 1.0
__________________________________________________________
To QUIT, enter 99 and press Enter. This takes you back to
DOS.
This ends this brief tutorial. All of the procedures are
explained more fully later in the manual. However, it should
be easy enough, that with one brief reading, you can use
KWIKSTAT without the aid of the manual. If you forget
something, it will probably be covered on a HELP screen.
SOMETHING GOES WRONG
If (or when) something goes wrong, check the manual, and
check your work. If you cannot seem to resolve the problem,
please fill out the BUG REPORT in the appendix, and send it
in right away, so that errors in the program can be
eliminated. If you have a suggestion for how to improve
KWIKSTAT, please fill out the USER'S BALLOT in the appendix.
Thanks for your help.
11
KWIKSTAT 1.0
__________________________________________________________
SECTION 1:ENTERING DATA
Data may be entered from the keyboard, or from an ASCII text
file. Data already stored in a dBASE III file may be read
directly into all the KWIKSTAT programs. If data is stored
in a dBASE II file, it must be converted to the dBASE III
format to work. The dBASE III program has a "BRIDGE" program
which will do this conversion. Or, you may write out the
dBASE II file as an SDF file, and read it into KWIKSTAT
using the DATA program. In fact, if a program you are using
can output the data in a standard ASCII file, the data can
be moved into KWIKSTAT using the procedures explained here.
ENTERING DATA (From keyboard or ASCII file)
STEP 1:Create the structure of your database by selecting
the "CREATE" option in the DATA module. Define names for
each variable, maximum width of the field, and type of
variable. (Character, Numeric, Date, Logical).
Limitations:
o Maximum of 128 fields.
o Maximum width of a field name is 10 characters.
o Maximum width of a cell is 60 characters (15 for numbers)
o Dates are always 8 characters and logical fields are 1
characters wide.
If you will be entering data from an ASCII file, the field
widths MUST match the width of the columns of data on
file. If there are spaces between columns of data, make
widths wide enough to account for those spaces. For
example: Data in the file looks like this:
12
KWIKSTAT 1.0
__________________________________________________________
A 23 100.2
A 32 90.5
B 22 101.2
:
etc.
:
C 33 99.7
^ ^ ^
| | |--->NAME:SCORE, TYPE:Numeric, WIDTH:6, DECIMALS:1
| |-------->NAME:AGE, TYPE:Numeric, WIDTH:3, DECIMALS:0
|---------->NAME:GROUP, TYPE:Character, WIDTH:1
Define three fields GROUP, AGE, SCORE as types Character,
Numeric and Numeric respectively, and with widths 1, 3, and
6. Specify 1 decimal place for field SCORE. Notice that the
widths 3 and 6 include one column that is blank, so that the
data is specified in a continuous manner.
The program will display areas to enter Name, Type, Width,
and number of decimal places. In the Type field, you only
need to enter the first character of the type, (N, C, L or
D). Width is the number of characters reserved for the
entry. Decimal is the number of decimal places (only
relevant for numbers). Note that the number of decimal
places must be at least one less than the width. For
example, if a number has the format ###.##, the width is 6
(count the decimal point), and the number of decimal places
is 2. If DATE or LOGICAL is entered as type, the program
will automatically assign a width of 8 or 1 respectively.
Once a complete field description is entered, a next blank
field description will appear, ready for entry. To finish,
type Control-END (^END). The End key is on the numeric pad.
As long as you have not ended the procedure, you may use the
cursor keys to back up, and make any corrections.
If you mess up royally, end the procedure, and begin again.
After entering information, press CTRL-End (^End) to exit
the create procedure.
STEP 2:If you are entering data from the keyboard, answer
"Y" to the question "ENTER DATA FROM KEYBOARD NOW (Y/N)"
Otherwise answer "N".
13
KWIKSTAT 1.0
__________________________________________________________
KEYBOARD ENTRY...
If you are entering data from the keyboard, an entry screen
will appear, and you may begin entry. If you need to go back
to a previously entered record to edit, pressing the PgUp
key will automatically place you into edit mode. To end
keyboard entry, press ^End.
ENTER DATA FROM A FILE...
Choose the menu option "Read data from ASCII file". You will
be asked the name of the file. Enter the complete file
specification (ie \MYDIR\MYDATA.DAT). There is no need to
enter the disk name or drive name if the data is in the same
directory as the default disk and directory.
The data will be entered into the database, and a count of
the records as they are entered will be displayed. It is a
good idea to go to the EDIT procedure to look at the data to
verify that it has been entered correctly. If the data does
not match the fields, refigure the widths of each field to
make sure it matches the columns of data in the disk file,
and try again.
HOW TO USE DATA FROM A DBASE III FILE
KWIKSTAT can read data directly from a dBASE III file. In
each module, you may specify which dBASE file to use. The
module will display all ".DBF" files in the default
directory. However, you may also call files from other
directories using drive and path names. For example, if you
wish to access a DBF file in the subdirectory named DB3, you
would specify the name of the database "MYBASE" as
\DB3\MYBASE or C:\DB3\MYBASE
It is important to prepare your dBASE file before analyzing
it in KWIKSTAT. Perform all transformations, creation of new
variables, grouping variables, etc. using dBASE.
14
KWIKSTAT 1.0
__________________________________________________________
SECTION 2:KWIKSTAT OVERVIEW
HOW KWIKSTAT WORKS
KWIKSTAT performs a number of statistical and report
procedures on data stored in a DBF file. Some procedures
also allow you to enter data during the analytical session.
Here are the basic divisions of KWIKSTAT:
Module Function
------ -----------------------------------------------
DATA Create a database, enter and edit data
REPORT Output reports about the data, output ASCII text files,
and examine the contents of the database or other files.
STAT1 Descriptive statistics, graphical presentations
STAT2 Comparative statistics. t-tests and One Way Analysis
of Variance (ANOVA) on independent or repeated
observations.
STAT3 Regression:Simple and Multiple Linear Regression
STAT4 Survival Analysis, Life Tables, Plots
------ -----------------------------------------------
15
KWIKSTAT 1.0
__________________________________________________________
SECTION 3:DESCRIPTION OF SPECIFIC MODULES
REPORTS
KWIKSTAT allows you to output data to a file or printer in
the REPORTS Module.
1 - Choose another database.
2 - Output SDF file - You may output the data into a
standard ASCII TEXT file. (SDF file- Standard Data Format
file). This is useful for transferring the data to other
programs. Along with the output of data, you may also output
a "format" file, which describes the contents of the text
file. This file can be output in "DBASE" style or "SAS"
style. The SAS format could be used in a SAS INPUT statement
to read the ASCII data file into the SAS program.
3 - Output REPORT - You may output a listing of the data in
the dataset (or a selected subset of the database). In this
procedure you may specify such report features as column
headings, inclusion of record number on the report, width
and length of a page, and title of the report. You may also
use a selection procedure to output a report on a subset of
the database. This procedure is menu driven. Simply answer
the questions as you are prompted. If the report is too wide
to fit on the paper, it will be printed in parts.
4 - Display a record - Displays a particular record from the
database on the screen.
5 - Display Structure - Displays the structure of the data
to the screen, printer, or file.
6 - Directory of files on disk - allows you to examine the
directory of file on disk.
16
KWIKSTAT 1.0
__________________________________________________________
7 - Examine contents of a file. Allows you to look at the
contents of an ASCII file. This is helpful for when you
create a REPORT, or write data to an SDF file. You can look
at the results without leaving the program.
STAT1:DESCRIPTIVE STATISTICS AND GRAPHICS
In the STAT1 module, you may examine summary statistics of
the data in the database. Your options are as follows:
CONTINUOUS DATA:Detailed statistics on one variable or
summary statistics on a number of variables.
Categorical data:A crosstabulation of the data may be
created using the contingency table option.
Paired data:Examine relationship by plotting a scatterplot.
Graphics are used throughout the system to enhance
understanding of certain statistical procedures. Graphics
used in STAT1 include:
o HISTOGRAM : examine the distribution of a continuous variable
o SCATTERPLOT : examine the relationship between two variables
o BOX PLOT : method of looking at the distribution of
the data (0, 25th, 50th, 75, and 100
percentile)
o 3-D BAR CHART: examine three dimensions of a table of counts (enter
data in contingency table procedure).
Details on specific procedures by selection number:
1) Switch to another database to use.
2) Detailed statistics on a single variable - Calculates
mean, st. deviation, median, st. error of the mean, minimum,
maximum, sum, variance, Tukey 5 number summary (0, 25th,
50th, 75th and 100th percentile), and displays a box plot of
the 5 number summary.
3) Summary statistics on a number of variables:Choose a list
17
KWIKSTAT 1.0
__________________________________________________________
of variables from the database. Statistics calculated
include sample size, mean, st. deviation, minimum, and
maximum, and SEM.
4) P-value determination:calculates a p-value for normal
(Z), student's t, F, or Chi Square statistic. (Two sided)
5) Contingency Table Analysis:Enter data from keyboard or
from database -- performs Chi-Square and, where appropriate,
Fisher's exact test, and Yates Chi-Square.
6) 3-Dimensional bar graph:Enter data in selection number
five. This procedure produces a three dimensional bar graph.
It also allows you to view a "slice" of the chart at a time,
to see details of values which may be obscured by other
bars. To view menu after plot is on screen, press the
<Space Bar>.
7) Histogram:Produces a histogram from values read from the
database. It allows you to specify width, height and gap in
the histogram. After the chart is displayed, use the cursor
keys to move the pointer to the spot on the screen where you
want the key to be displayed. Pressing the "D" key will
display the key in the location of the pointer. Pressing the
<Space Bar> will display a menu at the bottom of the screen.
You may replot as many times as desired, adjusting your
options for the plot you want. To print this graph, wait
until the menu on the bottom line disappears, then press
Shift-Prtsc. Press Esc to go back to menu.
8) Scatterplot:Produces a scatterplot of two variables. This
procedure allows you to specify horizontal and vertical
axis, as well as title for the plot. Pressing the Space bar
will reveal a menu. To print this plot, wait until the menu
on the bottom line disappears, then press Shift-Prtsc. Press
Esc to go back to menu.
STAT2:t-Tests and ANOVA's
The STAT2 module performs t-tests and One Way Analysis of
Variance on independent groups or repeated measures.
18
KWIKSTAT 1.0
__________________________________________________________
Independent groups are observations taken from groups in
which subjects in one group do not appear in another group.
Repeated measures are observations taken on subjects over
time or in differing circumstances. Examples would be weight
loss, or reaction to a drug across time. Repeated measures
may also be matched subjects. See textbooks by Zar, Winer,
Dixon and Massey, and others for a more complete
explanation.
In this module, a t-test is performed when there are two
groups (or two repeated measures). For 3 to 10 groups or
repeated measures, an Analysis of Variance is performed. The
ANOVA attempts to determine if there is a difference in the
means across groups or repeated measures. If the p-value for
the ANOVA is small (ie 0.05 or less), you may suspect that
there is a difference. However, the ANOVA does not tell us
where that difference lies.
A multiple comparison procedure (Newman-Keuls) may be
performed at the 0.05 significance level to determine which
specific groups have means different from each other. This
procedure produces a chart illustrating these differences.
An example is:
2 3 1 4 5
Population 1 --------------
Population 2 ---------
Population 3 ----
This chart illustrates the results of a Newman-Keuls
Multiple comparison test. The numbers from 1 to 5 at the top
are the means of the groups in ranked order according to the
data in each of the five groups. Thus, group 2 has the
smallest mean, and group 5 has the largest mean. A
"population" is one or more means that are determined to
have statistically (at the 0.05 level) equal means. Thus,
this test suggests that the means for groups 3, 1 and 4 are
not different from each other. Population 2 suggests that
the mean of group 2 is not different from the mean of group
3, but it IS different (smaller) than the means of group 1,
4 and 5. The mean of group 5 is larger than all of the other
groups. Using this chart, you may compare the means of any
two groups. All such comparisons are assumed to be performed
19
KWIKSTAT 1.0
__________________________________________________________
at the 0.05 level of significance (alpha level).
STAT3:REGRESSION
This module performs simple linear regression and multiple
linear regression.
SIMPLE LINEAR REGRESSION:
o Analyzes linear relationship between paired observations.
o The equation of the line is calculated.
o Pearson's correlation coefficient is calculated.
o t-test for significance of slope (correlation
coefficient).
o Scatterplot of raw data and plot of residuals from linear
fit.
MULTIPLE LINEAR REGRESSION:
o The coefficients to the equation of the line are
calculated.
o A test of significance is given for each coefficient, and
for the intercept term.
o R-Square is calculated for the model, as well as adjusted
R-Square.
o An Analysis of Variance is performed for the model.
o A plot of residuals from the fit is available. You may
plot the fit against any of the terms.
20
KWIKSTAT 1.0
__________________________________________________________
STAT4:SURVIVAL ANALYSIS
Module STAT4 performs Life Table and Survival Analysis on a
set of data. The data must be in the following form:
A TIME variable:This variable should contain a time
variables (ie minutes, days, years, etc) in which the
subject has been observed to be alive (not-failed).
A CENSOR variable:This variable must take on the values 0 or
1. A 1 means the subject has died (failed), and a 0 means
the subject was still alive (not-failed) at the last
available time period.
Optionally, a GROUP variable:This variable may contain a
grouping variable (numeric or character) of up to 10 groups.
Once the data is entered into the program, a life table for
each group is produced which includes, for each time
interval, the number entered, withdrawn, lost, dead,
exposed, proportion dead, surviving, cumulative surviving,
hazard and density. A plot is given for the group or groups
cumulative proportion surviving. If more than one group is
entered, a Mantel-Haenszel test is performed to test the
hypothesis of equal survival patterns for each group.
21
KWIKSTAT 1.0
__________________________________________________________
APPENDIX I
SAMPLE DATA SETS ON DISK
LIFE.DBF - A file containing data for use in illustrating
STAT4:SURVIVAL analysis. This data is from Prentice (1973).
The data contains a survival time variable, a censor
variable and a grouping variable.
EXAMPLE.DBF contains the fields GROUP, AGE, TIME1,
TIME2, TIME3, TIME4, and STATUS. Data can be used to
illustrate Repeated Measures (Use TIME variables), or
Independent group ANOVA (Use GROUP as grouping factor). It
can be used for Crosstabulation (Use GROUP and STATUS).
After performing a crosstabulation, display a 3-D bar chart.
This is a good data set to experiment with the histogram,
and summary statistics in STAT1.
EX.DAT is the raw data, from which a database like
EXAMPLE.DBF could be created using the DATA module.
In the DATA module, create a new database, with the fields:
FIELD TYPE WIDTH DEC
--------- ------ ------- ------
GROUP CHAR 1 -
AGE NUM 4 0
TIME1 NUM 5 1
TIME2 NUM 5 1
TIME3 NUM 5 1
TIME4 NUM 5 1
STATUS NUM 2 0
LONGLEY.DBF - Data from Longley(1946). Use this data to test
the Multiple Regression Procedure. The variable TOTAL is the
dependent variable and the rest are independent variables.
22
KWIKSTAT 1.0
__________________________________________________________
APPENDIX II
Order information for KWIKSTAT
KWIKSTAT complete package, bound manual,
registration, diskettes ($35) x ________= $____________
KWIKSTAT Manual ($10 each) x __________ = $____________
(You must be a registered user to order manuals)
Order update of KWIKSTAT distribution
diskettes ($10 per set) x ___________ = $____________
Add $4.00 Postage and Handling $ 4.00
TOTAL ENCLOSED $
============
Payment method:check one
_____ Check or M.O. _____ Credit Card (MC or VISA)
------------------------------------------------------------
IF CREDIT CARD:
Name on Card:_____________________________________________
Type Card is __________________ Exp Date is:_____________
Card Number is:___________________________________________
Authorized Signature:_____________________________________
-----------------------------------------------------------
Mail order to:____________________________________________
Address:__________________________________________________
City:___________________ St_______ ZIP ___________________
Phone ( )______________________________________________
-----------------------------------------------------------
Please mail to:Mission Technologies, P.O. Box 1169, Cedar
Hill, Texas 75104. Thanks.
MAIL TODAY!
23
KWIKSTAT 1.0
__________________________________________________________
APPENDIX III
USER'S BALLOT
Please indicate your preference for improvements in
KWIKSTAT. On a scale of 1 to 10
0 = Very Low priority for this change
10 = Very High priority for this change
Your
Vote Proposed item of change
---- ----------------------------------------------
____ Better control for print out of results.
____ "BY GROUP" capability in listing and summary
statistics.
____ Missing value code support
____ Add multi-way ANOVA
____ Add Non-parametric statistical tests
____ Data transformation support in the DATA module
____ Add General Linear Model module
____ Make Report more flexible
____ Add "NOT" match in report output
____ Add test for equality of variance
____ Add t-test for unequal variances
____ Add stem and leaf plot
____ Add time series analysis
____ Speed up calculations
____ Add more graphics (ie Pies, Plots, etc)
____ _____________________________________________
____ _____________________________________________
____ _____________________________________________
____ _____________________________________________
____ _____________________________________________
____ _____________________________________________
____ _____________________________________________
____ _____________________________________________
____ _____________________________________________
-----------------------------------------------------------
Mail to:Mission Technologies, P.O. Box 1169, Cedar Hill,
Texas 75104. Thanks.
24
KWIKSTAT 1.0
__________________________________________________________
APPENDIX IV
Bug Report for KWIKSTAT
Please explain in detail the problem that occurred. If
possible, send a print out of the results or Print Screen.
---------------------------------------------------------
---------------------------------------------------------
Mail to:Mission Technologies, P.O. Box 1169, Cedar Hill,
Texas 75104. Thanks.
25
KWIKSTAT 1.0
__________________________________________________________
References
Dixon, W.J., and Massey, F.J., INTRODUCTION TO STATISTICAL
ANALYSIS, McGraw-Hill Book Company, New York, 1969.
Longley, J.W. "An appraisal of least squares programs for
the electronic computer from the point of view of the
user." JASA, 1967, 62, 819-831
Neter, J. and Wasserman, W., APPLIED LINEAR STATISTICAL
MODELS, Richard D. Irwin, Inc, 1974.
Prentice, R. L. "Exponential survivals with censoring and
explanatory variables. BIOMETRIKA 60, 1973, 279-288.
Winer, B.J., STATISTICAL PRINCIPLES IN EXPERIMENTAL
DESIGN, Second Edition, Mcgraw-Hill Book Company, 1971.
Zar, J.H., BIOSTATISTICAL ANALYSIS, Prentice Hall. Inc,
1974.
26