home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 September / Simtel20_Sept92.cdr / msdos / statstcs / mystat.arc / MYSTAT.HLP < prev    next >
Text File  |  1987-02-15  |  15KB  |  420 lines

  1. @   0
  2.            MYSTAT commands - for more information type  HELP <command>
  3.  
  4. HELP      information about commands      EDIT   create, edit MYSTAT file
  5. INTRO     print/display documentation            and compute transformations
  6. DEMO      demo of MYSTAT in action        SAVE   save data in MYSTAT file
  7. NAMES     display variable names          USE    use data in MYSTAT file
  8.                                           PUT    write data to ASCII file
  9. PLOT      two-way scatterplots            WEIGHT weight cases by a variable
  10. BOX       boxplots                        SORT   sort MYSTAT file
  11. STEM      stem-and-leaf diagrams          RANK   converts variables to ranks
  12. TPLOT     series plots
  13. HISTOGRAM histograms                      SUBMIT submit commands from file
  14. STATS     descriptive statistics
  15. TABULATE  freqs, crosstabs, chi-square    CHAR   IBM or generic graphics chars
  16. PEARSON   correlation coefficients        OUTPUT set output destination
  17. TTEST     independent/dependent t-tests   NOTE   print comment on output
  18. SIGN      sign test                       
  19. WILCOXON  Wilcoxon signed-ranks test      FORMAT set # decimals to print
  20. FRIEDMAN  Friedman nonparametric ANOVA    MENU   use menu or just commands
  21. KS        1/2 sample Komolgorov-Smirnov 
  22.  
  23. CATEGORY  define factors for ANOVA        QUIT   quit MYSTAT, return to DOS
  24. MODEL     specify regress/ANOVA model
  25. ESTIMATE  estimate model                  SYSTAT information about SYSTAT
  26. @   1
  27.       The  PLOT  command creates a two-way plot of one or more Y
  28.       variables on a vertical  scale  against an X variable on a
  29.       horizontal scale.
  30.  
  31.       PLOT <var1>[,<var2>,<...>]*<var3> [/SYMBOL=<var$>|'<chr>'
  32.             YMAX=<#>,YMIN=<#>,XMAX=<#>,XMIN=<#>,LINES=<#>]
  33.  
  34.       Examples:
  35.  
  36.       PLOT Y*X
  37.       PLOT A*B / SYMBOL='*'
  38.       PLOT AGE*WEIGHT / SYMBOL=SEX$        (SEX$ case labeling variable)
  39.       PLOT Y1,Y2*X / SYMBOL='1','2' (Y1 values appear as '1', Y2 as '2')
  40.       PLOT Y*X / YMIN=0,YMAX=1,XMIN=1.5,XMAX=7.5
  41.       PLOT Y*X / LINES=100                  (vertical size is 100 lines)
  42. @   2
  43.       The  HISTOGRAM command creates a histogram for one or more
  44.       variables.
  45.  
  46.       HISTOGRAM [<var1>,<var2>,<...> / BARS=<#>,SCALE,MIN=<#>,MAX=<#>]
  47.  
  48.       Examples:
  49.  
  50.       HISTOGRAM          (histogram of every numeric variable in file)
  51.       HISTOGRAM X                                     (histogram of X)
  52.       HISTOGRAM TRIAL(1),TRIAL(2)
  53.       HISTOGRAM TRIAL(1-5)
  54.       HISTOGRAM A,B / BARS=18                         (forces 18 bars)
  55.       HISTOGRAM / SCALE  (makes round cutpoints between bars)
  56.       HISTOGRAM / MIN=0,MAX=20 (set horizontal scale limits)  
  57. @   3
  58.       The BOX command creates a boxplot for one or more variables.
  59.  
  60.       BOX [<var1>,<var2>,<...>*<var3> / GROUPS=<#>,MIN=<#>,MAX=<#>]
  61.  
  62.       Examples:
  63.  
  64.       BOX  (boxplot of every numeric variable in file)
  65.       BOX SALARY  (boxplot of variable SALARY)
  66.       BOX TRIAL(1),TRIAL(2)
  67.       BOX TRIAL(1-5)
  68.       BOX SALARY*RANK (grouped boxplots of SALARY against RANK)
  69.       BOX INCOME*STATE / GROUPS=10 (plots of first 10 states only)
  70. @   4
  71.       The  STEM  command creates a stem-and-leaf diagram for one
  72.       or more variables.
  73.  
  74.       STEM [<var1>,<var2>,<...> / LINES=<#>]
  75.  
  76.       Examples:
  77.  
  78.       STEM  (stem-and-leaf of all numeric variables)
  79.       STEM TAX (stem-and-leaf of TAX)
  80.       STEM TRIAL(1),TRIAL(2)
  81.       STEM TRIAL(1-5)
  82.       STEM TAX / LINES=20  (20 lines used for diagram)
  83. @   6
  84.       The  USE  command specifies the MYSTAT file to use.
  85.  
  86.       USE <file>
  87.  
  88.       Examples:
  89.  
  90.       USE MYDATA  (reads from MYDATA.SYS in default drive/directory)
  91.       USE B:MYDATA (reads MYDATA.SYS from B: drive)
  92.       USE '\SYSTAT\NEWDATA.SYS'(fully qualified names must have .SYS extension)
  93. @   7
  94.       The  SAVE command saves your data into a MYSTAT file.  You must use
  95.       SAVE in EDIT or before RANK, SORT or ESTIMATE to create a file.
  96.  
  97.       SAVE <file> [/ SINGLE | DOUBLE "<comment>"]
  98.  
  99.       Examples:
  100.  
  101.       SAVE FILE1   (saves data into FILE1.SYS)
  102.       SAVE FILE1 / SINGLE (saves data in single precision)
  103. @   9
  104.       The  PUT  command works like the SAVE command, except data are put 
  105.       into a raw (ASCII) data file, not saved into a MYSTAT file.
  106.  
  107.       PUT <file>
  108.  
  109.       Example:
  110.  
  111.       PUT RAWDATA  (data will be put into RAWDATA.DAT)
  112.  
  113. @  10
  114.       The TTEST command does dependent or independent t-tests.
  115.  
  116.       TTEST [<var1>,<var2>,<...> [* <var3>]]
  117.  
  118.       Examples:
  119.  
  120.       TTEST A,B         (dependent or paired)
  121.       TTEST A,B,C       (dependent, each pair of variables)
  122.       TTEST A*GROUP     (independent or two-group, GROUP has only 2 values)
  123.       TTEST A,B,C*GROUP (independent, three variables, two-group)
  124. @  11
  125.       The STATS command prints descriptive statistics.  If you
  126.       choose no options, it produces N, MINIMUM, MAXIMUM, MEAN
  127.       and SD.   Otherwise, it prints just the option(s) you choose.
  128.       Use BY to get subgroup statistics after sorting the file by
  129.       the grouping variable(s).  BY must follow any statistics options.
  130.  
  131.       STATS [<var1>,<var2>,<...>]
  132.         [/MEAN,SD,SKEWNESS,KURTOSIS,MINIMUM,MAXIMUM,RANGE,VARIANCE,SEM,SUM]
  133.           [BY <var3>,<var4>,<...>]
  134.  
  135.       Examples:
  136.  
  137.       STATS  (basic statistics for whole file)
  138.       STATS VAR1,VAR2 / SEM (standard error of the mean)
  139.       STATS / BY GROUPS (basic statistics for cases in each group)
  140. @  12
  141.       The TABULATE command specifies an n-way table.  With two-way tables
  142.       you get chi-square values and other statistics.
  143.  
  144.       TABULATE <var1>[*<var2>*<...>]
  145.                [/FREQUENCY,PERCENT,ROWPCT,COLPCT,MISS]
  146.  
  147.       Examples:
  148.  
  149.       TABULATE AGE
  150.       TABULATE AGE*SEX         (two-way table)
  151.       TABULATE AGE*SEX*STATE$  (three-way table)
  152.       TABULATE A,SEX*STATE$    (2 two-way tables)
  153.       TABULATE AGE*SEX / PERCENT (use percents in cells of table)
  154.       TABULATE AGE / MISS (ignore missing data)
  155. @  13
  156.       The SORT command sorts a file in ascending order on selected variables.
  157.  
  158.       SORT <var1>,<var2>,<...>
  159.  
  160.       Examples:
  161.  
  162.       SORT RAINFALL (sort records in file by value of RAINFALL)
  163.       SORT NAME$ (alphabetic sort on variable NAME$)
  164.       SORT RAINFALL,STATE$ (nested sort)
  165.  
  166.       First specify an input file with the USE command, then
  167.       an output file with SAVE, and finally the sorting keys
  168.       with SORT.
  169.  
  170.       Example:
  171.  
  172.       USE CITIES   (input file)      
  173.       SAVE SORTED (output file)
  174.       SORT RAINFALL (sort records in CITIES by value of RAINFALL)
  175. @  14
  176.       The RANK command converts variables to their ranks.
  177.  
  178.       RANK [<var1>,<var2>,<...>]
  179.  
  180.       Examples:
  181.  
  182.       RANK   (ranks all numeric variables in file)
  183.       RANK CLASS, INCOME
  184.  
  185.       First specify an input file with the USE command, then
  186.       an output file with SAVE and finally the variables to
  187.       convert on RANK.
  188.  
  189.       Example:
  190.  
  191.       USE CITIES   (input file)      
  192.       SAVE SORTED (output file)
  193.       RANK        (ranks all numeric variables in file)    
  194. @  15
  195.       The WEIGHT command weights cases.  The weighting variable
  196.       is reduced  to an integer so that the sample size used in
  197.       the analysis is the sum of the  weights.   Cases weighted
  198.       less than one are excluded from the analysis.
  199.  
  200.       An example is:
  201.  
  202.       WEIGHT = COUNT
  203. @  16
  204.       The  PEARSON  command produces a matrix of Pearson product
  205.       moment correlation coefficients.
  206.  
  207.       PEARSON [<var1>,<var2>,<...> / PAIRWISE | LISTWISE]
  208.  
  209.       Examples:
  210.  
  211.       PEARSON  (matrix on all numeric variables in file)
  212.       PEARSON HEIGHT,WEIGHT
  213.       PEARSON TRIAL(1-5)
  214.       PEARSON / PAIRWISE (pairwise deletion of missing data)
  215.       PEARSON / LISTWISE (listwise deletion of missing data)
  216.  
  217. @  17
  218.       The  SUBMIT  command sends a command file  to  MYSTAT  for
  219.       processing  as if you had typed the file from the console.
  220.       This file must be in your directory of files, must contain
  221.       characters  (not binary data), and must have a CMD suffix.
  222.       You cannot nest SUBMIT files.
  223.  
  224.       SUBMIT <file>
  225.  
  226.       Examples:
  227.  
  228.       SUBMIT COMMANDS  (reads from file COMMANDS.CMD) 
  229.       SUBMIT NEWJOB  (reads from file NEWJOB.CMD)
  230. @  18
  231.       The  OUTPUT command routes output to the console,  a file,
  232.       or the printer.
  233.  
  234.       OUTPUT  *     (sends subsequent output to console)
  235.               @     (sends output to printer)
  236.              <file> (sends output to a file)
  237.  
  238.       Example:
  239.  
  240.       OUTPUT FILE1 (sends output to FILE1.DAT)
  241. @  19
  242.       The NOTE command writes a comment on your output.
  243.  
  244.       Example:
  245.  
  246.       NOTE 'THIS IS A COMMENT.'
  247. @  21
  248.       The FORMAT  command determines the number of digits to the
  249.       right  of the decimal point in all numeric output.  This
  250.       number cannot be larger than 9 nor less than 0.   If you do
  251.       not use FORMAT, the standard value is 3.
  252.  
  253.       Examples:
  254.  
  255.       FORMAT=5
  256.       FORMAT=0
  257.       FORMAT=9/UNDERFLOW  (print tiny numbers with exponents)
  258. @  22
  259.       HELP provides information about MYSTAT commands.
  260.  
  261.       HELP [<command>]
  262.  
  263.       Examples:
  264.  
  265.       HELP    (brief description of MYSTAT commands)
  266.       HELP STATS  (description of STATISTICS command)
  267. @  24
  268.       The SIGN command computes a sign test on pairs of specified
  269.       variables.
  270.  
  271.       SIGN [<var1> <var2> <...>]
  272.  
  273.       Examples:
  274.  
  275.       SIGN
  276.       SIGN TRIAL(1-2)
  277. @  25
  278.       The  WILCOXON command computes a Wilcoxon signed-rank test
  279.       on pairs of specified variables.
  280.  
  281.       WILCOXON [<var1> <var2> <...>]
  282.  
  283.       Examples:
  284.  
  285.       WILCOXON
  286.       WILCOXON TRIAL(1-2)
  287. @  26
  288.       The  FRIEDMAN command computes a Friedman two-way analysis
  289.       of variance on selected variables.
  290.  
  291.       FRIEDMAN [<var1> <var2> <...>]
  292.  
  293.       Examples:
  294.  
  295.       FRIEDMAN
  296.       FRIEDMAN TRIAL(1-10)
  297. @  27
  298.       The KS command computes one or two sample Kolmogorov-Smirnov
  299.       tests on specified variables.
  300.  
  301.       KS [<var1> <var2> <...>] [/UNIFORM | NORMAL | CHISQ = <#>]
  302.  
  303.       Examples:
  304.  
  305.       KS  (two sample tests on all possible pairs of variables)
  306.       KS TRIAL(1-2)  (two sample tests on TRIAL(1) vs. TRIAL(2)
  307.       KS TOSS / UNIFORM  (one sample test on uniform distribution)
  308.       KS Z / NORMAL  (one sample standard normal)
  309.       KS DISTANCE / CHISQ=2  (one sample test on 2 df chi-square)
  310. @  28 
  311.       The MENU command turns the MYSTAT menu on or off.
  312.  
  313.       Examples: 
  314.  
  315.       MENU=ON
  316.       MENU=OFF
  317. @  31
  318.       The EDIT command starts the MYSTAT full screen editor.
  319.  
  320.       EDIT [<filename>]
  321.  
  322.       Examples:
  323.  
  324.       EDIT  (edit a new file)
  325.       EDIT CITIES  (edit CITIES.SYS)
  326.  
  327.       For further information, type EDIT [ENTER], [ESC], and then 
  328.       type HELP.
  329. @  32
  330.       The  CATEGORY  command  specifies the number of categories
  331.       for one or more variables used as categorical predictors (factors)
  332.       in an ANOVA or ANCOVA design.  A CATEGORY variable must be numeric,  
  333.       with values from 1 to k, where k is the number of categories specified.
  334.  
  335.       CATEGORY <var1>=<#> [,<var2>=<#>,<...>]
  336.  
  337.       Examples:
  338.  
  339.       CATEGORY SEX=2  (SEX has 2 categories, with values 1 and 2)
  340.       CATEGORY GROUP=2,DRUG=3
  341. @  33
  342.       The MODEL command specifies a model to estimate.
  343.  
  344.       MODEL <var1> [,<var2>,<...>] = [CONSTANT] + <var3>
  345.                                      [+ <...> + <var4>*<var5>]
  346.  
  347.       Examples:
  348.  
  349.       MODEL Y = X  (no constant in model)
  350.       MODEL Y = CONSTANT + X  (simple linear regression)
  351.       MODEL Y = CONSTANT + X + Z  (multiple linear regression)
  352.       MODEL Y = CONSTANT + X + X*X + X*X*X  (polynomial regression)
  353.       MODEL Y = CONSTANT + A + B + A*B  (interaction term) 
  354.       MODEL Y = CONSTANT + A + B + C + A*B + A*C + A*B*C  (anova)
  355. @  34
  356.       The ESTIMATE command causes MYSTAT to estimate the previously 
  357.       specified model.
  358. @  35
  359.       QUIT returns you to the operating system.
  360. @  36
  361. @  38
  362.       The TPLOT command plots a series of data values.
  363.  
  364.       TPLOT [<var> / LAG=<#>,STANDARDIZE,MIN=<#>,MAX=<#>]
  365.  
  366.       Examples:
  367.  
  368.       TPLOT  (plot first numeric variable)
  369.       TPLOT PRICE / LAG=10  (plot only first 10 cases of PRICE)
  370.       TPLOT VALUE / STANDARDIZE  (standardize series in plot)
  371.       TPLOT EKG / MIN=0.,MAX=15.  (set limits on plot scale)
  372. @  39
  373.       The INTRO command shows you how to use MYSTAT.
  374. @  40
  375.                    SYSTAT   The System for Statistics
  376.            Rated above SPSS/PC+ and PC-SAS in InfoWorld 9/1/86
  377.  
  378.                 Features in SYSTAT not found in MYSTAT:        
  379.  
  380. SYSTAT BASIC programming language        Principal components with rotations
  381. RECODE statement for multiple codes        and scores
  382. File handling - match, merge, append     Multidimensional scaling
  383. Flexible input of ASCII files            Cluster analysis, linkage or k-means,
  384. Subgroup processing with SELECT & BY       variables and/or cases
  385. Loglinear models for contingency         Differencing, detrending and
  386.   tables                                   transformations of series
  387. Repeated measures analysis               Running means and medians
  388. Stepwise regression                      ACF, PACF, Cross-correlation function
  389. Extended regression diagnostics          Seasonal and nonseasonal ARIMA
  390. Canonical correlation                    Fourier analysis
  391. Multivariate general linear model        Nonlinear regression and estimation  
  392. Discriminant Analysis & Classification   Logit, Probit, Rasch Item Analysis
  393. Multi-way MANOVA, MANCOVA                Telephone support and newsletter
  394.  
  395. SYSTAT runs on PC/MS-DOS, Apple Macintosh, VAX, CP/M, UNIX and other machines.
  396. For more information about SYSTAT, please call (312) 864-5670  or write to
  397.          SYSTAT, Inc.        2902 Central Street      Evanston, IL 60201
  398. (SPSS/PC+ and SAS are registered trademarks of SPSS, Inc. & SAS Institute,Inc.)
  399. @  41
  400.       Type DEMO for an example of MYSTAT in action.  This demonstrates the
  401.       full screen data editor and obtaining simple plots and statistics.  It
  402.       also creates a file, CITIES.SYS, you can use to experiment with MYSTAT.
  403. @  42
  404.       The CHAR command allows you to select IBM screen/printer graphics
  405.       characters or generic characters that will print on any printer.
  406.  
  407.       CHAR  GRAPHICS | GENERIC
  408.  
  409.       Examples:
  410.  
  411.       CHAR GRAPHICS
  412.       CHAR GENERIC (use to plot on printers without IBM character graphics set)
  413. @  43
  414.       The NAMES command prints the names of the variables available to use.
  415.  
  416.       Example:
  417.  
  418.       NAMES
  419. @
  420.