X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fstatistics.texi;fp=doc%2Fstatistics.texi;h=be57f1a735d70f4df9cf410528d95f2ba8ce94a5;hb=ca55d1892bd94f4eca0435fc7d92909be7a0c201;hp=dfc3aad875bc3d32b5b12b81966700a2703c684c;hpb=4e8bfea364b7a1d2d496e14dfefc9dfeefff8d11;p=pspp diff --git a/doc/statistics.texi b/doc/statistics.texi index dfc3aad875..be57f1a735 100644 --- a/doc/statistics.texi +++ b/doc/statistics.texi @@ -1371,6 +1371,86 @@ counts: @code{UVARIANCE} (``Unweighted Variance'') @end itemize +@node CTABLES Statistics Positions and Labels +@subsection Statistics Positions and Labels + +@display +@t{/SLABELS} + [@t{POSITION=}@{@t{COLUMN} @math{|} @t{ROW} @math{|} @t{LAYER}@}] + [@t{VISIBLE=}@{@t{YES} @math{|} @t{NO}@}] +@end display + +The @code{SLABELS} subcommand controls the position and visibility of +summary statistics for the @code{TABLE} subcommand that it follows. + +@code{POSITION} sets the axis on which summary statistics appear. +With @t{POSITION=COLUMN}, which is the default, each summary statistic +appears in a column. For example: + +@example +CTABLES /TABLE=qnd1 [MEAN, MEDIAN] BY qns3a. +@end example +@psppoutput {ctables13} + +@noindent +With @t{POSITION=ROW}, each summary statistic appears in a row, as +shown below: + +@example +CTABLES /TABLE=qnd1 [MEAN, MEDIAN] BY qns3a /SLABELS POSITION=ROW. +@end example +@psppoutput {ctables14} + +@noindent +@t{POSITION=LAYER} is also available to place each summary statistic in +a separate layer. + +Labels for summary statistics are shown by default. Use +@t{VISIBLE=NO} to suppress them. Because unlabeled data can cause +confusion, it should only be considered if the meaning of the data is +evident, as in a simple case like this: + +@example +CTABLES /TABLE=AgeGroup [TABLEPCT] /SLABELS VISIBLE=NO. +@end example +@psppoutput {ctables15} + +@node CTABLES Category Label Positions +@subsection Category Label Positions + +@display +@t{/CLABELS} @{@t{AUTO} @math{|} @{@t{ROWLABELS}@math{|}@t{COLLABELS}@}@t{=}@{@t{OPPOSITE}@math{|}@t{LAYER}@}@} +@end display + +The @code{CLABELS} subcommand controls the position of category +labels. By default, category labels for a given variable nest inside +the variable's label on the same axis. For example, the command below +results in age categories nesting within the age group variable on the +rows axis and gender categories within the gender variable on the +columns axis: + +@example +CTABLES /TABLE AgeGroup BY qns3a. +@end example +@psppoutput {ctables16} + +With @t{ROWLABELS=OPPOSITE} or @t{COLLABELS=OPPOSITE}, row or column +variable labels, respectively, move to the opposite axis. Only one +axis's labels may be moved, and the setting affects only the innermost +variable on the given axis. For example: + +@example +CTABLES /TABLE AgeGroup BY qns3a /CLABELS ROWLABELS=OPPOSITE. +CTABLES /TABLE AgeGroup BY qns3a /CLABELS COLLABELS=OPPOSITE. +@end example +@psppoutput {ctables17} + +@node CTABLES Per-Variable Category Options +@subsection Per-Variable Category Options + +@node CTABLES Titles +@subsection Titles + @node FACTOR @section FACTOR