start moving beyond PMModelItemInfo
[pspp] / notes
diff --git a/notes b/notes
index 2b730e298cc1135477a81ce8c0dd1e343fe7bae1..56cd437c7594d7ec114ce38dfe9f96b2d111223b 100644 (file)
--- a/notes
+++ b/notes
@@ -73,6 +73,9 @@ germano has a similar pattern across the three separate output files:
 
 Sorting on bytes 33-35 then on 31-32 we get a sorted list of tables:
 
+Byte 33 is always x0, for any digit x, across the corpus.
+
+
 blp@sigabrt:~/pspp/spv(0)$ for d in `find -name \*.bin |grep -v chart`; do { hd -s 0x1f -n 6 $d | head -1; printf "%-60s" "$d"; } | sed 'N; s/\n//;' ; echo; done|sort -k 4,4 -k 5,5 -k 2,2|cut -b 1-128
 0000001f  01 00 20 73 bf 46                                 |.. s.F|./smekens/default/00000000011_lightNotesData.bin            
 0000001f  01 00 20 73 bf 46                                 |.. s.F|./smekens/modified/00000000011_lightNotesData.bin           
@@ -274,6 +277,116 @@ germano/Crosstabs/00000000014_lightTableData.bin:
        i0 05 58 "fobia" 00 00 00 00 i3 00
        01 58 02 06 05 00 9a 99 99 99 99 99 a9 i63 00 
 
+web/7e29c00c8c2a7e490636b7f74598b6a4/000000002315210_lightTableData.bin:
+
+    05 31 i1 i0 00 00 i11: (i5: (00 00 00 00 58) 58 58) "meaning10" "routine household tasks" 02
+    03 "Frequencies" 58 00 00 00 00 "Frequencies" 01
+    31
+    05 31 i1 i0 00 00 i11: (i5: (00 00 00 00 58) 58 58) "meaning10" "routine household tasks" 02
+    58
+    58 i1 00 31 i0 i0 i36: (i30: (00 00 00 00 31 "[%1 = %2:, ^1 = ^2:]1") 58 58) "[%1 = %2:, ^1 = ^2:]1" i1 i2 i0
+       05 58 "meaning14" "level of enjoyment" i2 00
+       02 58 F40.2(3.80)
+
+web/67e54cc8a549f4a66331c0401ff4a775/0000000005112_lightTableData.bin:
+
+    00 58 "[:^1:]1" i1 i3 i0
+       01 58 F40.0(2) 00 00 00 00
+       03 ". " 58 00 00 00 00 ". " 00 00 00 00 00
+       03 "Word_Type" 58 00 00 00 00 "Word_Type" 00
+
+    03 "Estimated Marginal Means" 58 00 00 00 00 "Estimated Marginal Means" 01
+
+    31
+
+    00 58 "[:^1:]1" i1 i3 i0
+       01 58 F40.0(2) 00 00 00 00
+       03 ". " 58 00 00 00 00 ". " 00 00 00 00 00
+       03 "Word_Type" 58 00 00 00 00 "Word_Type" 00
+    58
+    58 00 00 00 00 
+
+web/9c0f5ba2cd60a97194a82cdc67efc3cb/0000000001774_lightTableData.bin:
+
+    03 "Classification Results" 31 i2 00 00 i2 00 00 i6 00 00 00 00 58 58 00 00 00 00 
+    "Classification Results" 01 03 
+    "Classification Results" 58 00 00 00 00 
+    "Classification Results" 01 31 03 
+    "Classification Results" 31 i2 00 00 i2 00 00 i6 00 00 00 00 58 58 00 00 00 00 
+    "Classification Results" 01 58 58 i3 00 58 
+    "^1 of original grouped cases correctly classified." i1 00 00 00 00 01 58 PCT40.1(84.4)
+    58 i1 03 
+    "Cross validation is done only for those cases in the analysis. In cross validation, each case is classified by the functions derived from all cases other than that case." 58 00 00 00 00 
+    "Cross validation is done only for those cases in the analysis. In cross validation, each case is classified by the functions derived from all cases other than that case." 01 58 i1 00 58 
+    "^1 of cross-validated grouped cases correctly classified." i1 00 00 00 00 01 58 PCT40.1(80.0)
+
+web/6bd5afeffbab87befbcd8d201254a5e6/0000000008104_lightTableData.bin:
+
+    00 58 
+    "[:^1:]1" i1 i5 00 00 00 00 01 58 F40.0(4)
+    00 00 00 00 03 
+    ". " 58 00 00 00 00 
+    ". " 00 00 00 00 00 03 
+    "Direction" 58 00 00 00 00 
+    "Direction" 00 00 00 00 00 03 
+    " * " 58 00 00 00 00 
+    " * " 00 00 00 00 00 03 
+    "Speed" 58 00 00 00 00 
+    "Speed" 00 03 
+    "Estimated Marginal Means" 58 00 00 00 00 
+    "Estimated Marginal Means" 01 31 00 58 
+    "[:^1:]1" i1 i5 00 00 00 00 01 58 F40.0(4)
+    00 00 00 00 03 
+    ". " 58 00 00 00 00 
+    ". " 00 00 00 00 00 03 
+    "Direction" 58 00 00 00 00 
+    "Direction" 00 00 00 00 00 03 
+    " * " 58 00 00 00 00 
+    " * " 00 00 00 00 00 03 
+    "Speed" 58 00 00 00 00 
+    "Speed" 00 58 58 00 00 00 00 
+
+Footnotes
+---------
+
+germano/Crosstabs/00000000016_lightTableData.bin:
+
+    i4
+
+    03 "Not assuming the null hypothesis." 58 00 00 00 00 "Assuming the alternate hypothesis" 01 58 i11
+    03 "Using the asymptotic standard error assuming the null hypothesis." 58 00 00 00 00 "Using the asym std error ..." 01 58 i9
+    03 "Based on chi-square approximation" 58 00 00 00 00 "Based on chi-square approximation" 01 58 i2
+    03 "Likelihood ratio chi-square probability." 58 00 00 00 00 "Likelihood ratio chi-squ ..." 01 58 i3 
+
+web/1ae63a04381624dac939ac62eca63fec/00000000054_lightTableData.bin:
+
+    i2
+    03 "Correlation is significant at the 0.05 level (2-tailed)." 58 00 00 00 00 "Correlation is significant at the 0.05 level (2-tailed)." 01 31 03 "*" 58 00 00 00 00 "*" 00 i2
+    03 "Correlation is significant at the 0.01 level (2-tailed)." 58 00 00 00 00 "Correlation is significant at the 0.01 level (2-tailed)." 01 31 03 "**" 58 00 00 00 00 "**" 00 i4
+
+web/7e29c00c8c2a7e490636b7f74598b6a4/0000000011163_lightTableData.bin:
+
+00 31 i0 i0 i60: (i54: (00 00 00 00 31 "^1 is constant when [%1 = %2:, ^1 = ^2:]2 ...") 58 58) "^1 is constant when [%1 = %2:, ^1 = ^2:]2. It has been omitted." i2
+    i0 05 58 "meaning14" "level of enjoyment" 02
+    i2 i0
+         05 58 "meaning13" "none of these" i2 00
+         02 58 F40.2(1.00) "meaning13" 00 00 00 00 02 58 i1
+
+web/e6f958867667aa56d033d54211ff2aec/00000000015_lightTableData.bin:
+
+00 58 "^1 cells (^2) have expected count less than 5. The minimum expected count is ^3." i3
+    i0 01 58 F40.0(18)
+    i0 01 58 PCT40.1(75.0)
+    i0 01 58 F(8.5)(something)
+
+smekens/default/00000000016_lightTableData.bin:
+
+    03 "Extraction Method: Principal Axis Factoring." 58 "" "Extraction Method: Principal Axis Factoring." 00
+
+    i1 00
+    58 "^1 factors extracted. ^2 iterations required." i2 i0 01 58 F40.0(4) i0 01 58 F40.0(9)
+
+
 Fonts
 -----
 
@@ -302,6 +415,11 @@ tdump1 to tdump18:
     07 31 "SansSerif" 00 00 40 41 i0 00 i64173 i0 "#000000" "#ffffff" i0 i0 00 i8 i11 i1 i1
     08 31 "SansSerif" 00 00 40 41 i0 00 i2 i3     "#000000" "#ffffff" i0 i0 00 i8 i11 i1 i4 
 
+i1 i0 -> 01 00 00 00 00 00 00 00
+i0 00 -> 00 00 00 00 00
+i0 i0 -> 00 00 00 00 00 00 00 00
+
+
 tdump19 to tdump27:
     01 31 "SansSerif" 00 00 40 41 i1 i0 i0 00     "#000000" "#ffffff" i0 i0 00 i8 i11 i1 i8
     02 31 "SansSerif" 00 00 40 41 i0 00 i2 i1     "#000000" "#ffffff" i0 i0 00 i8 i11 i1 i1
@@ -503,7 +621,7 @@ Dimensions
 
 format: dd ww ff 00, e.g. F40.1 is 01 28 05 00
 01 - double (01 58 format double)
-02 - instance of a numeric variable (02 58 format double "varname" "Variable Label")
+02 - instance of a numeric variable (02 58 format double "varname" "vallab")
 03 - just a string (03 "Short Name" 58 "identifier" "Long Name")
 04 - instance of a string variable (04 58 format "vallab" "varname" 02 "value"
 05 - variable (05 58 "varname" "Variable Label")
@@ -2538,3 +2656,105 @@ i239 00 00 00 00 03
 "n<5" 00 77 i1 00 00 00 03 
 "n<5" 58 00 00 00 00 
 "n<5" 00 
+
+
+Substitutions
+-------------
+
+The primary format specifier for substitution 1 is ^1.
+
+Substitutions with multiple values take the form [:^1:]1, where ]1
+references substitution 1 and ^1 refers to the first value within the
+substitution.  The : are mandatory even though not apparently useful.
+
+There can be extra text, e.g. [:^1\n:]1.
+
+Substitutions with two forms for multiple values are written as [%1:, ^1:]1.
+
+The general form appears to be [a:b:]x.  Apparently, % is used in a and
+^ is used in b, but there's no obvious reason why.
+
+Substitutions can take two values at a time, like: [:^1 = ^2:]1
+but more often there would be two forms: [%1 = %2:, ^1 = ^2:]1.
+A literal : is written \:
+Presumably a literal ^ is written \^ but there are no examples.
+
+WM is constant when Age = 19.00. It will be included in any boxplots produced but other output will be omitted.
+    <template format="^1 is constant when [%1 = %2:, ^1 = ^2:]2. It will be included in any boxplots produced but other output will be omitted.">
+        <substitution index="1">
+            <variable name="meaning14" label="level of enjoyment"/>
+        </substitution>
+        <substitution index="2">
+            <variable name="meaning13" label="none of these"/>
+            <numeric-datum value="1" format="F40.2" variable="meaning13"/>
+        </substitution>
+    </template>
+
+<template format="[:^1\n:]1">
+    <substitution index="1">
+       <string c="FREQUENCIES VARIABLES=can_trt0 can_trt1 can_trt2 can_trt3 can_trt4 can_trt5 can_trt6"/>
+       <string c="  /STATISTICS=STDDEV RANGE MINIMUM MAXIMUM MEAN MEDIAN MODE SUM"/>
+       <string c="  /HISTOGRAM"/>
+       <string c="  /ORDER=ANALYSIS."/>
+    </substitution>
+</template>
+
+Design: Intercept
+Within Subjects Design: Looks+Charisma+Looks*Charisma
+    <string c="Mauchly's Test of Sphericity"/>
+    <template format="Design\: [:^1:]1 \n Within Subjects Design\: [:^1:]2">
+        <substitution index="1">
+            <string c="Intercept"/>
+            <string c=" + "/>
+            <variable name="Lakes"/>
+            <string c=" + "/>
+            <variable name="Treatments"/>
+        </substitution>
+        <substitution index="2">
+            <string c="Time"/>
+        </substitution>
+    </template>
+
+<footnote index="0">
+    <special0 template="Predictors\: (constant) [%1:, ^1:]1..."/>
+<template format="Predyktory\: (Stała), [%1:, ^1:]1">
+        <substitution index="1">
+            <variable name="PPZśrednia"/>
+        </substitution>
+    </template>
+</footnote>
+
+Dependent Variable: Num_Diagnostic
+Model: (Intercept), functdent, Sex, nursebeds, BaseAge, offset = log_period_yr
+    <string c="Omnibus Test"/>
+    <template format="Dependent Variable\: ^1\nModel\: [%1:, ^1:]2">
+        <substitution index="1">
+            <variable name="Condom_Casual" label="4. How often have you used condoms when you had sex with casual partners?"/>
+        </substitution>
+        <substitution index="2">
+            <string c="(Intercept)"/>
+            <string c="Greek"/>
+            <string c="Winning"/>
+            <string c="Emotion"/>
+            <string c="Violence"/>
+            <string c="Risk"/>
+            <string c="Power"/>
+            <string c="Playboy"/>
+            <string c="Reliance"/>
+            <string c="Primacy"/>
+            <string c="heterosexual_presentation"/>
+            <string c="sensation_seeking"/>
+            <string c="Impulsivity"/>
+            <string c="Quantity_alc"/>
+        </substitution>
+    </template>
+
+Error(Time)
+    <string c="Tests of Within-Subjects Contrasts"/>
+    <template format="Error([%1:*^1:]1)">
+        <substitution index="1">
+            <string c="Time"/>
+        </substitution>
+    </template>
+