This file is indexed.

/usr/share/doc/pspp/pspp.html/CROSSTABS.html is in pspp 0.8.5-5build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- This manual is for GNU PSPP version 0.8.5,
software for statistical analysis.

Copyright (C) 1997, 1998, 2004, 2005, 2009, 2012, 2013, 2014 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled "GNU
Free Documentation License". -->
<!-- Created by GNU Texinfo 6.0, http://www.gnu.org/software/texinfo/ -->
<head>
<title>PSPP: CROSSTABS</title>

<meta name="description" content="PSPP: CROSSTABS">
<meta name="keywords" content="PSPP: CROSSTABS">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="index.html#Top" rel="start" title="Top">
<link href="Function-Index.html#Function-Index" rel="index" title="Function Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Statistics.html#Statistics" rel="up" title="Statistics">
<link href="FACTOR.html#FACTOR" rel="next" title="FACTOR">
<link href="CORRELATIONS.html#CORRELATIONS" rel="prev" title="CORRELATIONS">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
blockquote.smallquotation {font-size: smaller}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
div.smalldisplay {margin-left: 3.2em}
div.smallexample {margin-left: 3.2em}
div.smalllisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: inherit; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: inherit; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.nocodebreak {white-space: nowrap}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: serif; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
-->
</style>


</head>

<body lang="en">
<a name="CROSSTABS"></a>
<div class="header">
<p>
Next: <a href="FACTOR.html#FACTOR" accesskey="n" rel="next">FACTOR</a>, Previous: <a href="CORRELATIONS.html#CORRELATIONS" accesskey="p" rel="prev">CORRELATIONS</a>, Up: <a href="Statistics.html#Statistics" accesskey="u" rel="up">Statistics</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Function-Index.html#Function-Index" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<a name="CROSSTABS-1"></a>
<h3 class="section">15.6 CROSSTABS</h3>

<a name="index-CROSSTABS"></a>
<div class="display">
<pre class="display">CROSSTABS
        /TABLES=<var>var_list</var> BY <var>var_list</var> [BY <var>var_list</var>]&hellip;
        /MISSING={TABLE,INCLUDE,REPORT}
        /WRITE={NONE,CELLS,ALL}
        /FORMAT={TABLES,NOTABLES}
                {PIVOT,NOPIVOT}
                {AVALUE,DVALUE}
                {NOINDEX,INDEX}
                {BOX,NOBOX}
        /CELLS={COUNT,ROW,COLUMN,TOTAL,EXPECTED,RESIDUAL,SRESIDUAL,
                ASRESIDUAL,ALL,NONE}
        /STATISTICS={CHISQ,PHI,CC,LAMBDA,UC,BTAU,CTAU,RISK,GAMMA,D,
                     KAPPA,ETA,CORR,ALL,NONE}
        /BARCHART
        
(Integer mode.)
        /VARIABLES=<var>var_list</var> (<var>low</var>,<var>high</var>)&hellip;
</pre></div>

<p>The <code>CROSSTABS</code> procedure displays crosstabulation
tables requested by the user.  It can calculate several statistics for
each cell in the crosstabulation tables.  In addition, a number of
statistics can be calculated for each table itself.
</p>
<p>The <code>TABLES</code> subcommand is used to specify the tables to be reported.  Any
number of dimensions is permitted, and any number of variables per
dimension is allowed.  The <code>TABLES</code> subcommand may be repeated as many
times as needed.  This is the only required subcommand in <em>general
mode</em>.  
</p>
<p>Occasionally, one may want to invoke a special mode called <em>integer
mode</em>.  Normally, in general mode, <small>PSPP</small> automatically determines
what values occur in the data.  In integer mode, the user specifies the
range of values that the data assumes.  To invoke this mode, specify the
<code>VARIABLES</code> subcommand, giving a range of data values in parentheses for
each variable to be used on the <code>TABLES</code> subcommand.  Data values inside
the range are truncated to the nearest integer, then assigned to that
value.  If values occur outside this range, they are discarded.  When it
is present, the <code>VARIABLES</code> subcommand must precede the <code>TABLES</code>
subcommand.
</p>
<p>In general mode, numeric and string variables may be specified on
TABLES.  In integer mode, only numeric variables are allowed.
</p>
<p>The <code>MISSING</code> subcommand determines the handling of user-missing values.
When set to <code>TABLE</code>, the default, missing values are dropped on a table by
table basis.  When set to <code>INCLUDE</code>, user-missing values are included in
tables and statistics.  When set to <code>REPORT</code>, which is allowed only in
integer mode, user-missing values are included in tables but marked with
an &lsquo;<samp>M</samp>&rsquo; (for &ldquo;missing&rdquo;) and excluded from statistical
calculations.
</p>
<p>Currently the <code>WRITE</code> subcommand is ignored.
</p>
<p>The <code>FORMAT</code> subcommand controls the characteristics of the
crosstabulation tables to be displayed.  It has a number of possible
settings:
</p>
<ul class="no-bullet">
<li><!-- /@w --> <code>TABLES</code>, the default, causes crosstabulation tables to be output.
<code>NOTABLES</code> suppresses them.

</li><li><!-- /@w --> <code>PIVOT</code>, the default, causes each <code>TABLES</code> subcommand to be displayed in a
pivot table format.  <code>NOPIVOT</code> causes the old-style crosstabulation format
to be used.

</li><li><!-- /@w --> <code>AVALUE</code>, the default, causes values to be sorted in ascending order.
<code>DVALUE</code> asserts a descending sort order.

</li><li><!-- /@w --> <code>INDEX</code> and <code>NOINDEX</code> are currently ignored.

</li><li><!-- /@w --> <code>BOX</code> and <code>NOBOX</code> is currently ignored.
</li></ul>

<p>The <code>CELLS</code> subcommand controls the contents of each cell in the displayed
crosstabulation table.  The possible settings are:
</p>
<dl compact="compact">
<dt>COUNT</dt>
<dd><p>Frequency count.
</p></dd>
<dt>ROW</dt>
<dd><p>Row percent.
</p></dd>
<dt>COLUMN</dt>
<dd><p>Column percent.
</p></dd>
<dt>TOTAL</dt>
<dd><p>Table percent.
</p></dd>
<dt>EXPECTED</dt>
<dd><p>Expected value.
</p></dd>
<dt>RESIDUAL</dt>
<dd><p>Residual.
</p></dd>
<dt>SRESIDUAL</dt>
<dd><p>Standardized residual.
</p></dd>
<dt>ASRESIDUAL</dt>
<dd><p>Adjusted standardized residual.
</p></dd>
<dt>ALL</dt>
<dd><p>All of the above.
</p></dd>
<dt>NONE</dt>
<dd><p>Suppress cells entirely.
</p></dd>
</dl>

<p>&lsquo;<samp>/CELLS</samp>&rsquo; without any settings specified requests <code>COUNT</code>, <code>ROW</code>,
<code>COLUMN</code>, and <code>TOTAL</code>.  
If <code>CELLS</code> is not specified at all then only <code>COUNT</code>
will be selected.
</p>
<p>The <code>STATISTICS</code> subcommand selects statistics for computation:
</p>
<dl compact="compact">
<dt>CHISQ</dt>
<dd><a name="index-chisquare"></a>
<a name="index-chi_002dsquare"></a>

<p>Pearson chi-square, likelihood ratio, Fisher&rsquo;s exact test, continuity
correction, linear-by-linear association.
</p></dd>
<dt>PHI</dt>
<dd><p>Phi.
</p></dd>
<dt>CC</dt>
<dd><p>Contingency coefficient.
</p></dd>
<dt>LAMBDA</dt>
<dd><p>Lambda.
</p></dd>
<dt>UC</dt>
<dd><p>Uncertainty coefficient.
</p></dd>
<dt>BTAU</dt>
<dd><p>Tau-b.
</p></dd>
<dt>CTAU</dt>
<dd><p>Tau-c.
</p></dd>
<dt>RISK</dt>
<dd><p>Risk estimate.
</p></dd>
<dt>GAMMA</dt>
<dd><p>Gamma.
</p></dd>
<dt>D</dt>
<dd><p>Somers&rsquo; D.
</p></dd>
<dt>KAPPA</dt>
<dd><p>Cohen&rsquo;s Kappa.
</p></dd>
<dt>ETA</dt>
<dd><p>Eta.
</p></dd>
<dt>CORR</dt>
<dd><p>Spearman correlation, Pearson&rsquo;s r.
</p></dd>
<dt>ALL</dt>
<dd><p>All of the above.
</p></dd>
<dt>NONE</dt>
<dd><p>No statistics.
</p></dd>
</dl>

<p>Selected statistics are only calculated when appropriate for the
statistic.  Certain statistics require tables of a particular size, and
some statistics are calculated only in integer mode.
</p>
<p>&lsquo;<samp>/STATISTICS</samp>&rsquo; without any settings selects CHISQ.  If the
<code>STATISTICS</code> subcommand is not given, no statistics are calculated.
</p>
<a name="index-bar-chart-1"></a>
<p>The &lsquo;<samp>/BARCHART</samp>&rsquo; subcommand produces a clustered bar chart for the first two
variables on each table.
If a table has more than two variables, the counts for the third and subsequent levels 
will be aggregated and the chart will be produces as if there were only two variables.  
</p>

<p><strong>Please note:</strong> Currently the implementation of <code>CROSSTABS</code> has the
following limitations:
</p>
<ul>
<li> Significance of some symmetric and directional measures is not calculated.
</li><li> Asymptotic standard error is not calculated for
Goodman and Kruskal&rsquo;s tau or symmetric Somers&rsquo; d.
</li><li> Approximate T is not calculated for symmetric uncertainty coefficient.
</li></ul>

<p>Fixes for any of these deficiencies would be welcomed.
</p>
<hr>
<div class="header">
<p>
Next: <a href="FACTOR.html#FACTOR" accesskey="n" rel="next">FACTOR</a>, Previous: <a href="CORRELATIONS.html#CORRELATIONS" accesskey="p" rel="prev">CORRELATIONS</a>, Up: <a href="Statistics.html#Statistics" accesskey="u" rel="up">Statistics</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Function-Index.html#Function-Index" title="Index" rel="index">Index</a>]</p>
</div>



</body>
</html>