Added Boxplots to the EXAMINE subcommand repertoire
[pspp-builds.git] / doc / statistics.texi
1 @node Statistics, Utilities, Conditionals and Looping, Top
2 @chapter Statistics
3
4 This chapter documents the statistical procedures that PSPP supports so
5 far.
6
7 @c If you add any new commands, then don't forget to remove the entry in 
8 @c not-implemented.texi
9
10 @menu
11 * DESCRIPTIVES::                Descriptive statistics.
12 * FREQUENCIES::                 Frequency tables.
13 * EXAMINE::                     Testing data for normality.
14 * CROSSTABS::                   Crosstabulation tables.
15 * T-TEST::                      Test hypotheses about means.
16 * ONEWAY::                      One way analysis of variance.
17 @end menu
18
19 @node DESCRIPTIVES, FREQUENCIES, Statistics, Statistics
20 @section DESCRIPTIVES
21
22 @vindex DESCRIPTIVES
23 @display
24 DESCRIPTIVES
25         /VARIABLES=var_list
26         /MISSING=@{VARIABLE,LISTWISE@} @{INCLUDE,NOINCLUDE@}
27         /FORMAT=@{LABELS,NOLABELS@} @{NOINDEX,INDEX@} @{LINE,SERIAL@}
28         /SAVE
29         /STATISTICS=@{ALL,MEAN,SEMEAN,STDDEV,VARIANCE,KURTOSIS,
30                      SKEWNESS,RANGE,MINIMUM,MAXIMUM,SUM,DEFAULT,
31                      SESKEWNESS,SEKURTOSIS@}
32         /SORT=@{NONE,MEAN,SEMEAN,STDDEV,VARIANCE,KURTOSIS,SKEWNESS,
33                RANGE,MINIMUM,MAXIMUM,SUM,SESKEWNESS,SEKURTOSIS,NAME@}
34               @{A,D@}
35 @end display
36
37 The @cmd{DESCRIPTIVES} procedure reads the active file and outputs
38 descriptive
39 statistics requested by the user.  In addition, it can optionally
40 compute Z-scores.
41
42 The VARIABLES subcommand, which is required, specifies the list of
43 variables to be analyzed.  Keyword VARIABLES is optional.
44
45 All other subcommands are optional:
46
47 The MISSING subcommand determines the handling of missing variables.  If
48 INCLUDE is set, then user-missing values are included in the
49 calculations.  If NOINCLUDE is set, which is the default, user-missing
50 values are excluded.  If VARIABLE is set, then missing values are
51 excluded on a variable by variable basis; if LISTWISE is set, then
52 the entire case is excluded whenever any value in that case has a
53 system-missing or, if INCLUDE is set, user-missing value.
54
55 The FORMAT subcommand affects the output format.  Currently the
56 LABELS/NOLABELS and NOINDEX/INDEX settings are not used.  When SERIAL is
57 set, both valid and missing number of cases are listed in the output;
58 when NOSERIAL is set, only valid cases are listed.
59
60 The SAVE subcommand causes @cmd{DESCRIPTIVES} to calculate Z scores for all
61 the specified variables.  The Z scores are saved to new variables.
62 Variable names are generated by trying first the original variable name
63 with Z prepended and truncated to a maximum of 8 characters, then the
64 names ZSC000 through ZSC999, STDZ00 through STDZ09, ZZZZ00 through
65 ZZZZ09, ZQZQ00 through ZQZQ09, in that sequence.  In addition, Z score
66 variable names can be specified explicitly on VARIABLES in the variable
67 list by enclosing them in parentheses after each variable.
68
69 The STATISTICS subcommand specifies the statistics to be displayed:
70
71 @table @code
72 @item ALL
73 All of the statistics below.
74 @item MEAN
75 Arithmetic mean.
76 @item SEMEAN
77 Standard error of the mean.
78 @item STDDEV
79 Standard deviation.
80 @item VARIANCE
81 Variance.
82 @item KURTOSIS
83 Kurtosis and standard error of the kurtosis.
84 @item SKEWNESS
85 Skewness and standard error of the skewness.
86 @item RANGE
87 Range.
88 @item MINIMUM
89 Minimum value.
90 @item MAXIMUM
91 Maximum value.
92 @item SUM
93 Sum.
94 @item DEFAULT
95 Mean, standard deviation of the mean, minimum, maximum.
96 @item SEKURTOSIS
97 Standard error of the kurtosis.
98 @item SESKEWNESS
99 Standard error of the skewness.
100 @end table
101
102 The SORT subcommand specifies how the statistics should be sorted.  Most
103 of the possible values should be self-explanatory.  NAME causes the
104 statistics to be sorted by name.  By default, the statistics are listed
105 in the order that they are specified on the VARIABLES subcommand.  The A
106 and D settings request an ascending or descending sort order,
107 respectively.
108
109 @node FREQUENCIES, EXAMINE, DESCRIPTIVES, Statistics
110 @section FREQUENCIES
111
112 @vindex FREQUENCIES
113 @display
114 FREQUENCIES
115         /VARIABLES=var_list
116         /FORMAT=@{TABLE,NOTABLE,LIMIT(limit)@}
117                 @{STANDARD,CONDENSE,ONEPAGE[(onepage_limit)]@}
118                 @{LABELS,NOLABELS@}
119                 @{AVALUE,DVALUE,AFREQ,DFREQ@}
120                 @{SINGLE,DOUBLE@}
121                 @{OLDPAGE,NEWPAGE@}
122         /MISSING=@{EXCLUDE,INCLUDE@}
123         /STATISTICS=@{DEFAULT,MEAN,SEMEAN,MEDIAN,MODE,STDDEV,VARIANCE,
124                      KURTOSIS,SKEWNESS,RANGE,MINIMUM,MAXIMUM,SUM,
125                      SESKEWNESS,SEKURTOSIS,ALL,NONE@}
126         /NTILES=ntiles
127         /PERCENTILES=percent@dots{}
128
129 (These options are not currently implemented.)
130         /BARCHART=@dots{}
131         /HISTOGRAM=@dots{}
132         /HBAR=@dots{}
133         /GROUPED=@dots{}
134
135 (Integer mode.)
136         /VARIABLES=var_list (low,high)@dots{}
137 @end display
138
139 The @cmd{FREQUENCIES} procedure outputs frequency tables for specified
140 variables.
141 @cmd{FREQUENCIES} can also calculate and display descriptive statistics
142 (including median and mode) and percentiles.
143
144 In the future, @cmd{FREQUENCIES} will also support graphical output in the
145 form of bar charts and histograms.  In addition, it will be able to
146 support percentiles for grouped data.
147
148 The VARIABLES subcommand is the only required subcommand.  Specify the
149 variables to be analyzed.  In most cases, this is all that is required.
150 This is known as @dfn{general mode}.
151
152 Occasionally, one may want to invoke a special mode called @dfn{integer
153 mode}.  Normally, in general mode, PSPP will automatically determine
154 what values occur in the data.  In integer mode, the user specifies the
155 range of values that the data assumes.  To invoke this mode, specify a
156 range of data values in parentheses, separated by a comma.  Data values
157 inside the range are truncated to the nearest integer, then assigned to
158 that value.  If values occur outside this range, they are discarded.
159
160 The FORMAT subcommand controls the output format.  It has several
161 possible settings:  
162
163 @itemize @bullet
164 @item
165 TABLE, the default, causes a frequency table to be output for every
166 variable specified.  NOTABLE prevents them from being output.  LIMIT
167 with a numeric argument causes them to be output except when there are
168 more than the specified number of values in the table.
169
170 @item
171 STANDARD frequency tables contain more complete information, but also to
172 take up more space on the printed page.  CONDENSE frequency tables are
173 less informative but take up less space.  ONEPAGE with a numeric
174 argument will output standard frequency tables if there are the
175 specified number of values or less, condensed tables otherwise.  ONEPAGE
176 without an argument defaults to a threshold of 50 values.
177
178 @item
179 LABELS causes value labels to be displayed in STANDARD frequency
180 tables.  NOLABLES prevents this.
181
182 @item
183 Normally frequency tables are sorted in ascending order by value.  This
184 is AVALUE.  DVALUE tables are sorted in descending order by value.
185 AFREQ and DFREQ tables are sorted in ascending and descending order,
186 respectively, by frequency count.
187
188 @item
189 SINGLE spaced frequency tables are closely spaced.  DOUBLE spaced
190 frequency tables have wider spacing.
191
192 @item
193 OLDPAGE and NEWPAGE are not currently used.
194 @end itemize
195
196 The MISSING subcommand controls the handling of user-missing values.
197 When EXCLUDE, the default, is set, user-missing values are not included
198 in frequency tables or statistics.  When INCLUDE is set, user-missing
199 are included.  System-missing values are never included in statistics,
200 but are listed in frequency tables.
201
202 The available STATISTICS are the same as available in @cmd{DESCRIPTIVES}
203 (@pxref{DESCRIPTIVES}), with the addition of MEDIAN, the data's median
204 value, and MODE, the mode.  (If there are multiple modes, the smallest
205 value is reported.)  By default, the mean, standard deviation of the
206 mean, minimum, and maximum are reported for each variable.
207
208 PERCENTILES causes the specified percentiles to be reported.
209 The percentiles should  be presented at a list of numbers between 0
210 and 100 inclusive.  
211 The NTILES subcommand causes the percentiles to be reported at the
212 boundaries of the data set divided into the specified number of ranges.
213 For instance, @code{/NTILES=4} would cause quartiles to be reported.
214
215
216 @node EXAMINE, CROSSTABS, FREQUENCIES, Statistics
217 @comment  node-name,  next,  previous,  up
218 @section EXAMINE
219 @vindex EXAMINE
220
221 @cindex Normality, testing for
222
223 @display
224 EXAMINE
225         VARIABLES=var_list [BY factor_list ]
226         /STATISTICS=@{DESCRIPTIVES, EXTREME[(n)], ALL, NONE@}
227         /PLOT=@{STEMLEAF, BOXPLOT, NPPLOT, SPREADLEVEL(n), HISTOGRAM, 
228                ALL, NONE@}
229         /CINTERVAL n
230         /COMPARE=@{GROUPS,VARIABLES@}
231         /ID=@{case_number, var_name@}
232         /@{TOTAL,NOTOTAL@}
233         /PERCENTILE=[value_list]=@{HAVERAGE, WAVERAGE, ROUND, AEMPIRICAL, EMPIRICAL @}
234         /MISSING=@{LISTWISE, PAIRWISE@} [@{EXCLUDE, INCLUDE@}] 
235                 [@{NOREPORT,REPORT@}]
236
237 @end display
238
239 The @cmd{EXAMINE} command is used to test how closely a distribution is to a 
240 normal distribution.  It also shows you outliers and extreme values.
241
242 The VARIABLES subcommand specifies the dependent variables and the
243 independent variable to use as factors for the analysis.   Variables
244 listed before the first BY keyword are the dependent variables.
245 The dependent variables may optionally be followed by a list of
246 factors which tell PSPP how to break down the analysis for each
247 dependent variable.  The format for each factor is 
248 @display
249 var [BY var].
250 @end display
251
252
253 The STATISTICS subcommand specifies the analysis to be done.  
254 DESCRIPTIVES will produce a table showing some parametric and
255 non-parametrics statistics.  EXTREME produces a table showing extreme
256 values of the dependent variable.  A number in parentheses determines
257 how many upper and lower extremes to show.  The default number is 5.
258
259
260 The PLOT subcommand specifies which plots are to be produced if any.
261
262 The COMPARE subcommand is only relevant if producing boxplots, and it is only 
263 useful there is more than one dependent variable and at least one factor.   If 
264 /COMPARE=GROUPS is specified, then one plot per dependent variable is produced,
265 containing boxplots for all the factors.
266 If /COMPARE=VARIABLES is specified, then one plot per factor is produced, each 
267 each containing one boxplot per dependent variable.
268 If the /COMPARE subcommand is ommitted, then PSPP uses the default value of 
269 /COMPARE=GROUPS.
270
271 The CINTERVAL subcommand specifies the confidence interval to use in
272 calculation of the descriptives command.  The default it 95%.
273
274 The PERCENTILES subcommand specifies which percentiles are to be calculated, 
275 and which algorithm to use for calculating them.  The default is to
276 calculate the 5, 10, 25, 50, 75, 90, 95 percentiles using the
277 HAVERAGE algorithm.
278
279 The TOTAL and NOTOTAL subcommands are mutually exclusive.  If NOTOTAL
280 is given and factors have been specified in the VARIABLES subcommand,
281 then then statistics for the unfactored dependent variables are
282 produced in addition to the factored variables.  If there are no
283 factors specified then TOTAL and NOTOTAL have no effect.
284
285 @strong{Warning!}
286 If many dependent variable are given, or factors are given for which
287 there are many distinct values, then @cmd{EXAMINE} will produce a very
288 large quantity of output.
289
290
291 @node CROSSTABS, T-TEST, EXAMINE, Statistics
292 @section CROSSTABS
293
294 @vindex CROSSTABS
295 @display
296 CROSSTABS
297         /TABLES=var_list BY var_list [BY var_list]@dots{}
298         /MISSING=@{TABLE,INCLUDE,REPORT@}
299         /WRITE=@{NONE,CELLS,ALL@}
300         /FORMAT=@{TABLES,NOTABLES@}
301                 @{LABELS,NOLABELS,NOVALLABS@}
302                 @{PIVOT,NOPIVOT@}
303                 @{AVALUE,DVALUE@}
304                 @{NOINDEX,INDEX@}
305                 @{BOX,NOBOX@}
306         /CELLS=@{COUNT,ROW,COLUMN,TOTAL,EXPECTED,RESIDUAL,SRESIDUAL,
307                 ASRESIDUAL,ALL,NONE@}
308         /STATISTICS=@{CHISQ,PHI,CC,LAMBDA,UC,BTAU,CTAU,RISK,GAMMA,D,
309                      KAPPA,ETA,CORR,ALL,NONE@}
310         
311 (Integer mode.)
312         /VARIABLES=var_list (low,high)@dots{}
313 @end display
314
315 The @cmd{CROSSTABS} procedure displays crosstabulation
316 tables requested by the user.  It can calculate several statistics for
317 each cell in the crosstabulation tables.  In addition, a number of
318 statistics can be calculated for each table itself.
319
320 The TABLES subcommand is used to specify the tables to be reported.  Any
321 number of dimensions is permitted, and any number of variables per
322 dimension is allowed.  The TABLES subcommand may be repeated as many
323 times as needed.  This is the only required subcommand in @dfn{general
324 mode}.  
325
326 Occasionally, one may want to invoke a special mode called @dfn{integer
327 mode}.  Normally, in general mode, PSPP automatically determines
328 what values occur in the data.  In integer mode, the user specifies the
329 range of values that the data assumes.  To invoke this mode, specify the
330 VARIABLES subcommand, giving a range of data values in parentheses for
331 each variable to be used on the TABLES subcommand.  Data values inside
332 the range are truncated to the nearest integer, then assigned to that
333 value.  If values occur outside this range, they are discarded.  When it
334 is present, the VARIABLES subcommand must precede the TABLES
335 subcommand.
336
337 In general mode, numeric and string variables may be specified on
338 TABLES.  Although long string variables are allowed, only their
339 initial short-string parts are used.  In integer mode, only numeric
340 variables are allowed.
341
342 The MISSING subcommand determines the handling of user-missing values.
343 When set to TABLE, the default, missing values are dropped on a table by
344 table basis.  When set to INCLUDE, user-missing values are included in
345 tables and statistics.  When set to REPORT, which is allowed only in
346 integer mode, user-missing values are included in tables but marked with
347 an @samp{M} (for ``missing'') and excluded from statistical
348 calculations.
349
350 Currently the WRITE subcommand is ignored.
351
352 The FORMAT subcommand controls the characteristics of the
353 crosstabulation tables to be displayed.  It has a number of possible
354 settings:
355
356 @itemize @bullet
357 @item
358 TABLES, the default, causes crosstabulation tables to be output.
359 NOTABLES suppresses them.
360
361 @item
362 LABELS, the default, allows variable labels and value labels to appear
363 in the output.  NOLABELS suppresses them.  NOVALLABS displays variable
364 labels but suppresses value labels.
365
366 @item
367 PIVOT, the default, causes each TABLES subcommand to be displayed in a
368 pivot table format.  NOPIVOT causes the old-style crosstabulation format
369 to be used.
370
371 @item
372 AVALUE, the default, causes values to be sorted in ascending order.
373 DVALUE asserts a descending sort order.
374
375 @item
376 INDEX/NOINDEX is currently ignored.
377
378 @item
379 BOX/NOBOX is currently ignored.
380 @end itemize
381
382 The CELLS subcommand controls the contents of each cell in the displayed
383 crosstabulation table.  The possible settings are:
384
385 @table @asis
386 @item COUNT
387 Frequency count.
388 @item ROW
389 Row percent.
390 @item COLUMN
391 Column percent.
392 @item TOTAL
393 Table percent.
394 @item EXPECTED
395 Expected value.
396 @item RESIDUAL 
397 Residual.
398 @item SRESIDUAL
399 Standardized residual.
400 @item ASRESIDUAL
401 Adjusted standardized residual.
402 @item ALL
403 All of the above.
404 @item NONE
405 Suppress cells entirely.
406 @end table
407
408 @samp{/CELLS} without any settings specified requests COUNT, ROW,
409 COLUMN, and TOTAL.  If CELLS is not specified at all then only COUNT
410 will be selected.
411
412 The STATISTICS subcommand selects statistics for computation:
413
414 @table @asis
415 @item CHISQ
416 Pearson chi-square, likelihood ratio, Fisher's exact test, continuity
417 correction, linear-by-linear association.
418 @item PHI
419 Phi.
420 @item CC
421 Contingency coefficient.
422 @item LAMBDA
423 Lambda.
424 @item UC
425 Uncertainty coefficient.
426 @item BTAU
427 Tau-b.
428 @item CTAU
429 Tau-c.
430 @item RISK
431 Risk estimate.
432 @item GAMMA
433 Gamma.
434 @item D
435 Somers' D.
436 @item KAPPA
437 Cohen's Kappa.
438 @item ETA
439 Eta.
440 @item CORR
441 Spearman correlation, Pearson's r.
442 @item ALL
443 All of the above.
444 @item NONE
445 No statistics.
446 @end table
447
448 Selected statistics are only calculated when appropriate for the
449 statistic.  Certain statistics require tables of a particular size, and
450 some statistics are calculated only in integer mode.
451
452 @samp{/STATISTICS} without any settings selects CHISQ.  If the
453 STATISTICS subcommand is not given, no statistics are calculated.
454
455 @strong{Please note:} Currently the implementation of CROSSTABS has the
456 followings bugs:
457
458 @itemize @bullet
459 @item
460 Pearson's R (but not Spearman) is off a little.
461 @item
462 T values for Spearman's R and Pearson's R are wrong.
463 @item
464 Significance of symmetric and directional measures is not calculated.
465 @item
466 Asymmetric ASEs and T values for lambda are wrong.
467 @item
468 ASE of Goodman and Kruskal's tau is not calculated.
469 @item
470 ASE of symmetric somers' d is wrong.
471 @item
472 Approximate T of uncertainty coefficient is wrong.
473 @end itemize
474
475 Fixes for any of these deficiencies would be welcomed.
476
477 @node T-TEST, ONEWAY, CROSSTABS, Statistics
478 @comment  node-name,  next,  previous,  up
479 @section T-TEST
480
481 @vindex T-TEST
482 @display
483 T-TEST
484         /MISSING=@{ANALYSIS,LISTWISE@} @{EXCLUDE,INCLUDE@}
485         /CRITERIA=CIN(confidence)
486
487
488 (One Sample mode.)
489         TESTVAL=test_value
490         /VARIABLES=var_list
491
492
493 (Independent Samples mode.)
494         GROUPS=var(value1 [, value2])
495         /VARIABLES=var_list
496
497
498 (Paired Samples mode.)
499         PAIRS=var_list [WITH var_list [(PAIRED)] ]
500
501 @end display
502
503
504 The @cmd{T-TEST} procedure outputs tables used in testing hypotheses about 
505 means.  
506 It operates in one of three modes:
507 @itemize
508 @item One Sample mode.
509 @item Independent Groups mode.
510 @item Paired mode.
511 @end itemize
512
513 @noindent
514 Each of these modes are described in more detail below.
515 There are two optional subcommands which are common to all modes.
516
517 The @cmd{/CRITERIA} subcommand tells PSPP the confidence interval used
518 in the tests.  The default value is 0.95.
519
520
521 The @cmd{MISSING} subcommand determines the handling of missing
522 variables.  
523 If INCLUDE is set, then user-missing values are included in the
524 calculations, but system-missing values are not.
525 If EXCLUDE is set, which is the default, user-missing
526 values are excluded as well as system-missing values. 
527 This is the default.
528
529 If LISTWISE is set, then the entire case is excluded from analysis
530 whenever any variable  specified in the @cmd{/VARIABLES}, @cmd{/PAIRS} or 
531 @cmd{/GROUPS} subcommands contains a missing value.   
532 If ANALYSIS is set, then missing values are excluded only in the analysis for
533 which they would be needed. This is the default.
534
535
536 @menu
537 * One Sample Mode::             Testing against a hypothesised mean
538 * Independent Samples Mode::    Testing two independent groups for equal mean
539 * Paired Samples Mode::         Testing two interdependent groups for equal mean
540 @end menu
541
542 @node One Sample Mode, Independent Samples Mode, T-TEST, T-TEST
543 @subsection One Sample Mode
544
545 The @cmd{TESTVAL} subcommand invokes the One Sample mode.
546 This mode is used to test a population mean against a hypothesised
547 mean. 
548 The value given to the @cmd{TESTVAL} subcommand is the value against
549 which you wish to test.
550 In this mode, you must also use the @cmd{/VARIABLES} subcommand to
551 tell PSPP which variables you wish to test.
552
553 @node Independent Samples Mode, Paired Samples Mode, One Sample Mode, T-TEST
554 @comment  node-name,  next,  previous,  up
555 @subsection Independent Samples Mode
556
557 The @cmd{GROUPS} subcommand invokes Independent Samples mode or
558 `Groups' mode. 
559 This mode is used to test whether two groups of values have the
560 same population mean.
561 In this mode, you must also use the @cmd{/VARIABLES} subcommand to
562 tell PSPP the dependent variables you wish to test.
563
564 The variable given in the @cmd{GROUPS} subcommand is the independent
565 variable which determines to which group the samples belong.
566 The values in parentheses are the specific values of the independent
567 variable for each group.
568 If the parentheses are omitted and no values are given, the default values 
569 of 1.0 and 2.0 are assumed.
570
571 If the independent variable is numeric, 
572 it is acceptable to specify only one value inside the parentheses.
573 If you do this, cases where the independent variable is
574 less than  or equal to this value belong to the first group, and cases
575 greater than this value belong to the second group.
576 When using this form of the @cmd{GROUPS} subcommand, missing values in
577 the independent variable are excluded on a listwise basis, regardless
578 of whether @cmd{/MISSING=LISTWISE} was specified.
579
580
581 @node Paired Samples Mode,  , Independent Samples Mode, T-TEST
582 @comment  node-name,  next,  previous,  up
583 @subsection Paired Samples Mode
584
585 The @cmd{PAIRS} subcommand introduces Paired Samples mode.
586 Use this mode when repeated measures have been taken from the same
587 samples.
588 If the the @code{WITH} keyword is omitted, then tables for all
589 combinations of variables given in the @cmd{PAIRS} subcommand are
590 generated. 
591 If the @code{WITH} keyword is given, and the @code{(PAIRED)} keyword
592 is also given, then the number of variables preceding @code{WITH}
593 must be the same as the number following it.
594 In this case, tables for each respective pair of variables are
595 generated.
596 In the event that the @code{WITH} keyword is given, but the
597 @code{(PAIRED)} keyword is omitted, then tables for each combination
598 of variable preceding @code{WITH} against variable following
599 @code{WITH} are generated.
600
601
602 @node ONEWAY, , T-TEST, Statistics
603 @comment  node-name,  next,  previous,  up
604 @section Oneway
605
606 @vindex ONEWAY
607 @cindex analysis of variance
608 @cindex ANOVA
609
610 @display
611 ONEWAY
612         [/VARIABLES = ] var_list BY var
613         /MISSING=@{ANALYSIS,LISTWISE@} @{EXCLUDE,INCLUDE@}
614         /CONTRASTS= value1 [, value2] ... [,valueN]
615         /STATISTICS=@{DESCRIPTIVES,HOMOGENEITY@}
616
617 @end display
618
619 The @cmd{ONEWAY} procedure performs a one-way analysis of variance of
620 variables factored by a single independent variable.
621 It is used to compare the means of a population
622 divided into more than two groups. 
623
624 The  variables to be analysed should be given in the @code{VARIABLES}
625 subcommand.  
626 The list of variables must be followed by the @code{BY} keyword and
627 the name of the independent (or factor) variable.
628
629 You can use the @code{STATISTICS} subcommand to tell PSPP to display
630 ancilliary information.  The options accepted are:
631 @itemize
632 @item DESCRIPTIVES
633 Displays descriptive statistics about the groups factored by the independent
634 variable.
635 @item HOMOGENEITY
636 Displays the Levene test of Homogeneity of Variance for the
637 variables and their groups.
638 @end itemize
639
640 The @code{CONTRASTS} subcommand is used when you anticipate certain
641 differences between the groups.
642 The subcommand must be followed by a list of numerals which are the
643 coefficients of the groups to be tested.
644 The number of coefficients must correspond to the number of distinct
645 groups (or values of the independent variable).
646 If the total sum of the coefficients are not zero, then PSPP will
647 display a warning, but will proceed with the analysis.
648 The @code{CONTRASTS} subcommand may be given up to 10 times in order
649 to specify different contrast tests.
650 @setfilename ignored