X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Flanguage.texi;h=1c9a4f0105245a5550f7ad71f577be5db2be0c53;hb=refs%2Fheads%2Fctables10;hp=1ada94aa5d703d2444c3cd80ed1d22b5d5040f8e;hpb=3f3acd91293bc94ecf5183df253d1b138987726f;p=pspp diff --git a/doc/language.texi b/doc/language.texi index 1ada94aa5d..1c9a4f0105 100644 --- a/doc/language.texi +++ b/doc/language.texi @@ -1,5 +1,5 @@ @c PSPP - a program for statistical analysis. -@c Copyright (C) 2017 Free Software Foundation, Inc. +@c Copyright (C) 2017, 2020 Free Software Foundation, Inc. @c Permission is granted to copy, distribute and/or modify this document @c under the terms of the GNU Free Documentation License, Version 1.3 @c or any later version published by the Free Software Foundation; @@ -507,6 +507,35 @@ they are displayed. Example: a width of 8, with 2 decimal places. Similar to print format, but used by the @cmd{WRITE} command (@pxref{WRITE}). +@cindex measurement level +@item Measurement level +One of the following: + +@table @asis +@item Nominal +Each value of a nominal variable represents a distinct category. The +possible categories are finite and often have value labels. The order +of categories is not significant. Political parties, US states, and +yes/no choices are nominal. Numeric and string variables can be +nominal. + +@item Ordinal +Ordinal variables also represent distinct categories, but their values +are arranged according to some natural order. Likert scales, e.g.@: +from strongly disagree to strongly agree, are ordinal. Data grouped +into ranges, e.g.@: age groups or income groups, are ordinal. Both +numeric and string variables can be ordinal. String values are +ordered alphabetically, so letter grades from A to F will work as +expected, but @code{poor}, @code{satisfactory}, @code{excellent} will +not. + +@item Scale +Scale variables are ones for which differences and ratios are +meaningful. These are often values which have a natural unit +attached, such as age in years, income in dollars, or distance in +miles. Only numeric variables are scalar. +@end table + @cindex custom attributes @item Custom attributes User-defined associations between names and values. @xref{VARIABLE @@ -537,7 +566,12 @@ shuffled around. @cindex @code{$DATE} @item $DATE Date the @pspp{} process was started, in format A9, following the -pattern @code{DD MMM YY}. +pattern @code{DD-MMM-YY}. + +@cindex @code{$DATE11} +@item $DATE11 +Date the @pspp{} process was started, in format A11, following the +pattern @code{DD-MMM-YYYY}. @cindex @code{$JDATE} @item $JDATE