X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fpspp.texi;h=cda0308fd0aa9c87012c6f88796098ab9325337e;hb=48cf1d7de82d12cdf3c0433d49d3c66f820f1609;hp=582692e8bd23c183878ffc0633632caf5c0bb49e;hpb=ccf2f45c091ce1555b4e2a36186c501675c18a59;p=pspp-builds.git diff --git a/doc/pspp.texi b/doc/pspp.texi index 582692e8..cda0308f 100644 --- a/doc/pspp.texi +++ b/doc/pspp.texi @@ -5806,6 +5806,11 @@ columns that the identifier will occupy, followed by an equals sign (@samp{=}) and the identifier variable name. The variable must already have been declared with @cmd{NUMERIC} or another command. +@cmd{REPEATING DATA} should be the last command given within an +@cmd{INPUT PROGRAM}. It should not be enclosed within a @cmd{LOOP} +structure (@pxref{LOOP}). Use @cmd{DATA LIST} before, not after, +@cmd{REPEATING DATA}. + @node WRITE, , REPEATING DATA, Data Input and Output @section WRITE @vindex WRITE @@ -6853,6 +6858,9 @@ FLIP /VARIABLES=var_list /NEWNAMES=var_name. @cmd{FLIP} transposes rows and columns in the active file. It causes cases to be swapped with variables, and vice versa. +All variables in the transposed active file are numeric. String +variables take on the system-missing value in the transposed file. + No subcommands are required. The VARIABLES subcommand specifies variables that will be transformed into cases. Variables not specified are discarded. By default, all variables are selected for @@ -7476,6 +7484,7 @@ far. @node DESCRIPTIVES, FREQUENCIES, Statistics, Statistics @section DESCRIPTIVES +@vindex DESCRIPTIVES @display DESCRIPTIVES /VARIABLES=var_list @@ -7565,6 +7574,7 @@ respectively. @node FREQUENCIES, CROSSTABS, DESCRIPTIVES, Statistics @section FREQUENCIES +@vindex FREQUENCIES @display FREQUENCIES /VARIABLES=var_list @@ -7667,6 +7677,7 @@ particular percentiles can be requested with the PERCENTILES subcommand. @node CROSSTABS, T-TEST, FREQUENCIES, Statistics @section CROSSTABS +@vindex CROSSTABS @display CROSSTABS /TABLES=var_list BY var_list [BY var_list]@dots{} @@ -7696,17 +7707,23 @@ The TABLES 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 TABLES subcommand may be repeated as many times as needed. This is the only required subcommand in @dfn{general -mode}. +mode}. Occasionally, one may want to invoke a special mode called @dfn{integer -mode}. Normally, in general mode, PSPP will automatically determine +mode}. Normally, in general mode, PSPP 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 VARIABLES subcommand, giving a range of data values in parentheses for each variable to be used on the TABLES 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 VARIABLES subcommand must precede the TABLES subcommand. +is present, the VARIABLES subcommand must precede the TABLES +subcommand. + +In general mode, numeric and string variables may be specified on +TABLES. Although long string variables are allowed, only their +initial short-string parts are used. In integer mode, only numeric +variables are allowed. The MISSING subcommand determines the handling of user-missing values. When set to TABLE, the default, missing values are dropped on a table by @@ -7716,7 +7733,7 @@ integer mode, user-missing values are included in tables but marked with an @samp{M} (for ``missing'') and excluded from statistical calculations. -Currently the WRITE subcommand is not used. +Currently the WRITE subcommand is ignored. The FORMAT subcommand controls the characteristics of the crosstabulation tables to be displayed. It has a number of possible @@ -7845,9 +7862,9 @@ Fixes for any of these deficiencies would be welcomed. @node T-TEST, , CROSSTABS, Statistics @comment node-name, next, previous, up - @section T-TEST +@vindex T-TEST @display T-TEST /MISSING=@{ANALYSIS,LISTWISE@} @{EXCLUDE,INCLUDE@} @@ -7890,14 +7907,16 @@ in the tests. The default value is 0.95. The @cmd{MISSING} subcommand determines the handling of missing variables. If INCLUDE is set, then user-missing values are included in the -calculations. +calculations, but system-missing values are not. If EXCLUDE is set, which is the default, user-missing -values are excluded. -If LISTWISE is set, then -the entire case is excluded whenever any value in that case has a -system-missing or, if INCLUDE is set, user-missing value. -If ANALYSIS is set, then cases are excluded only where a value used in -the analysis has a system-missing or, if INCLUDE is set, user-missing value. +values are excluded as well as system-missing values. +This is the default. + +If LISTWISE is set, then the entire case is excluded from analysis +whenever any variable specified in the @cmd{/VARIABLES}, @cmd{/PAIRS} or +@cmd{/GROUPS} subcommands contains a missing value. +If ANALYSIS is set, then missing values are excluded only in the analysis for +which they would be needed. This is the default. @menu @@ -7927,12 +7946,25 @@ The @cmd{GROUPS} subcommand invokes Independent Samples mode or `Groups' mode. This mode is used to test whether two groups of values have the same population mean. +In this mode, you must also use the @cmd{/VARIABLES} subcommand to +tell PSPP the dependent variables you wish to test. + The variable given in the @cmd{GROUPS} subcommand is the independent variable which determines to which group the samples belong. The values in parentheses are the specific values of the independent variable for each group. -In this mode, you must also use the @cmd{/VARIABLES} subcommand to -tell PSPP the dependent variables you wish to test. +If the parentheses are omitted and no values are given, the default values +of 1.0 and 2.0 are assumed. + +If the independent variable is numeric, +it is acceptable to specify only one value inside the parentheses. +If you do this, cases where the independent variable is +less than or equal to this value belong to the first group, and cases +greater than this value belong to the second group. +When using this form of the @cmd{GROUPS} subcommand, missing values in +the independent variable are excluded on a listwise basis, regardless +of whether @cmd{/MISSING=LISTWISE} was specified. + @node Paired Samples Mode, , Independent Samples Mode, T-TEST @comment node-name, next, previous, up