>USE "D:\mydocs\ywc\ethnoatlas3.syd"
SYSTAT Rectangular file D:\mydocs\ywc\ethnoatlas3.syd,
created Thu May 30, 2002 at 14:30:20, contains variables:
 V107$        V112         V113         V114         V100         V102
 V104$        V106$        V1           V2           V3           V4
 V5           V6           V7           V8           V9           V10
 V11          V12          V13          V14          V15          V16
 V17          V18          V19          V20          V21          V22
 V23          V24          V25          V26          V27          V28
 V29          V30          V31          V32          V33          V34
 V35          V36          V37          V38          V39          V40
 V41          V42          V43          V44          V45          V46
 V47          V48          V49          V50          V51          V52
 V53          V54          V55          V56          V57          V58
 V59          V60          V61          V62          V63          V64
 V65          V66          V67          V68          V69          V70
 V71          V72          V73          V74          V75          V76
 V77          V78          V79          V80          V81          V82
 V83          V84          V85          V86          V87          V88
 V89          V90          V91$         V92$         V93          V94
 V95          V96          V97          V98          V99          HG
 DOMSUB$      SOCTYP$      SOCTYP       PLOW         METALS       OTHTYP
 SOCTY42$     SH           AH           AG           FI           HE

>if v9=0 then let v9=.
>let poly=.
>if inc(v9,1,7) then let poly=0
>if inc(v9,2,3,4,5,6) then let poly=1
>xtab
>print none/freq rowpct chisq gamma

>tab soctyp$*poly
 
Frequencies
 SOCTYP$ (rows) by POLY (columns)
 
            0     1    Total
       +-------------+
  1-HG |   18   154  |   172
  2-SH |   39   118  |   157
  3-AH |   17   244  |   261
  4-AG |   56    79  |   135
  5-FI |    7    51  |    58
  6-HE |   16    58  |    74
       +-------------+
 Total    153   704      857

 
 
Row percents
 SOCTYP$ (rows) by POLY (columns)
 
                0       1      Total   N
         +-----------------+
    1-HG |10.465  89.535   |100.000      172
    2-SH |24.841  75.159   |100.000      157
    3-AH | 6.513  93.487   |100.000      261
    4-AG |41.481  58.519   |100.000      135
    5-FI |12.069  87.931   |100.000       58
    6-HE |21.622  78.378   |100.000       74
         +-----------------+
 Total    17.853  82.147    100.000
 N            153     704                857

 
Test statistic                         Value          df           Prob
  Pearson Chi-square                  87.945       5.000          0.000

   Coefficient                         ValueAsymptotic Std Error
  Goodman-Kruskal Gamma               -0.194               0.060

>USE "D:\mydocs\ywc\sccs5.syd"
>let slavery=.
>if v274=1 then let slavery=0
>if inc(v274,2,3,4) then let slavery=1

>tab slavery*v274
 
Frequencies
 SLAVERY (rows) by V274 (columns)
 
            1     2     3     4    Total
       +-------------------------+
     0 |  100     0     0     0  |   100
     1 |    0    27     9    44  |    80
       +-------------------------+
 Total    100    27     9    44      180

 
 
Row percents
 SLAVERY (rows) by V274 (columns)
 
                1       2       3       4      Total   N
         +---------------------------------+
       0 |00.000   0.000   0.000   0.000   |100.000      100
       1 | 0.000  33.750  11.250  55.000   |100.000       80
         +---------------------------------+
 Total    55.556  15.000   5.000  24.444    100.000
 N            100      27       9      44                180

 
Test statistic                         Value          df           Prob
  Pearson Chi-square                 180.000       3.000          0.000

   Coefficient                         ValueAsymptotic Std Error
  Goodman-Kruskal Gamma                1.000               0.000

>tab v153*slavery
 
Frequencies
 V153 (rows) by SLAVERY (columns)
 
            0     1    Total
       +-------------+
     1 |   31     7  |    38
     2 |   21     6  |    27
     3 |   19    10  |    29
     4 |   12    41  |    53
     5 |   17    16  |    33
       +-------------+
 Total    100    80      180

 
 
Row percents
 V153 (rows) by SLAVERY (columns)
 
                0       1      Total   N
         +-----------------+
       1 |81.579  18.421   |100.000       38
       2 |77.778  22.222   |100.000       27
       3 |65.517  34.483   |100.000       29
       4 |22.642  77.358   |100.000       53
       5 |51.515  48.485   |100.000       33
         +-----------------+
 Total    55.556  44.444    100.000
 N            100      80                180

 
Test statistic                         Value          df           Prob
  Pearson Chi-square                  40.460       4.000          0.000

   Coefficient                         ValueAsymptotic Std Error
  Goodman-Kruskal Gamma                0.475               0.088

>regress
>model v153=constant+SH+AH+AG+FI+HE

>estimate

>print
>model v153=constant+SH+AH+AG+FI+HE

>estimate
26 case(s) deleted due to missing data.
 
Dep Var: V153   N: 160   Multiple R: 0.761   Squared multiple R: 0.578
 
Adjusted squared multiple R: 0.565   Standard error of estimate: 0.930
 
Effect         Coefficient    Std Error     Std Coef Tolerance     t   P(2 Tail)
 
CONSTANT             1.741        0.179        0.000      .       9.725    0.000
SH                   0.859        0.238        0.253     0.557    3.607    0.000
AH                   2.309        0.232        0.712     0.537    9.968    0.000
AG                   2.969        0.245        0.835     0.577   12.126    0.000
FI                   0.350        0.333        0.063     0.763    1.053    0.294
HE                   1.447        0.293        0.309     0.698    4.930    0.000
 
                             Analysis of Variance
 
Source             Sum-of-Squares   df  Mean-Square     F-ratio       P
 
Regression               182.781     5       36.556      42.259       0.000
Residual                 133.219   154        0.865
----------------------------------------------------------------------------------------------------------------------------------

Durbin-Watson D Statistic     1.753
First Order Autocorrelation   0.116

>LOGIT
>MODEL SLAVERY = CONSTANT+SH+AH+AG+FI+HE

>ESTIMATE / PREDICT
 
Categorical values encountered during processing are:
SLAVERY (2 levels)
          0,        1
Total      : 12
 
Binary LOGIT Analysis.
 
Dependent variable: SLAVERY
Input records:          186
Records for analysis:          154
Records deleted for missing data:           32
Sample split
 
Category choices
   0   (REFERENCE)        86
   1   (RESPONSE)         68
Total      :             154
 
L-L at iteration 1 is     -106.745
L-L at iteration 2 is      -77.885
L-L at iteration 3 is      -76.219
L-L at iteration 4 is      -76.040
L-L at iteration 5 is      -76.032
L-L at iteration 6 is      -76.032
L-L at iteration 7 is      -76.032
Log Likelihood:      -76.032
    Parameter                Estimate         S.E.      t-ratio      p-value
  1 CONSTANT                   -3.258        1.019       -3.197        0.001
  2 SH                          1.985        1.105        1.796        0.072
  3 AH                          4.963        1.111        4.465        0.000
  4 AG                          2.990        1.084        2.759        0.006
  5 FI                          3.076        1.185        2.595        0.009
  6 HE                          3.664        1.147        3.193        0.001
                                                  95.0 % bounds
    Parameter              Odds Ratio        Upper        Lower
  2 SH                          7.280       63.507        0.835
  3 AH                        143.000     1263.125       16.189
  4 AG                         19.882      166.279        2.377
  5 FI                         21.667      221.203        2.122
  6 HE                         39.000      369.510        4.116
Log Likelihood of constants only model = LL(0) =     -105.690
2*[LL(N)-LL(0)] =       59.316 with 5 df Chi-sq p-value = 0.000
McFadden's Rho-Squared =        0.281

 
Model Prediction Success Table

      Actual  Predicted Choice                Actual
      Choice     Response    Reference         Total
 
     Response       42.797       25.203       68.000
    Reference       25.203       60.797       86.000
 
Pred. Tot.          68.000       86.000      154.000
Correct              0.629        0.707
Success Ind.         0.188        0.149
Tot. Correct         0.673
 
    Sensitivity:        0.629     Specificity:        0.707
False Reference:        0.371  False Response:        0.293
 
>MODEL SLAVERY = CONSTANT+SH+AH+AG+FI+HE+v153

>estimate/predict
 
Categorical values encountered during processing are:
SLAVERY (2 levels)
          0,        1
Total      : 12
 
Binary LOGIT Analysis.
 
Dependent variable: SLAVERY
Input records:          186
Records for analysis:          154
Records deleted for missing data:           32
Sample split
 
Category choices
   0   (REFERENCE)        86
   1   (RESPONSE)         68
Total      :             154
 
L-L at iteration 1 is     -106.745
L-L at iteration 2 is      -75.121
L-L at iteration 3 is      -72.884
L-L at iteration 4 is      -72.651
L-L at iteration 5 is      -72.641
L-L at iteration 6 is      -72.641
L-L at iteration 7 is      -72.641
Log Likelihood:      -72.641
    Parameter                Estimate         S.E.      t-ratio      p-value
  1 CONSTANT                   -4.413        1.150       -3.837        0.000
  2 SH                          1.560        1.128        1.383        0.167
  3 AH                          3.828        1.181        3.242        0.001
  4 AG                          1.390        1.236        1.125        0.261
  5 FI                          3.011        1.210        2.489        0.013
  6 HE                          2.900        1.191        2.435        0.015
  7 V153                        0.579        0.230        2.523        0.012
                                                  95.0 % bounds
    Parameter              Odds Ratio        Upper        Lower
  2 SH                          4.759       43.395        0.522
  3 AH                         45.964      464.940        4.544
  4 AG                          4.015       45.269        0.356
  5 FI                         20.306      217.404        1.897
  6 HE                         18.183      187.765        1.761
  7 V153                        1.785        2.799        1.138
Log Likelihood of constants only model = LL(0) =     -105.690
2*[LL(N)-LL(0)] =       66.099 with 6 df Chi-sq p-value = 0.000
McFadden's Rho-Squared =        0.313

 
Model Prediction Success Table

      Actual  Predicted Choice                Actual
      Choice     Response    Reference         Total
 
     Response       43.967       24.033       68.000
    Reference       24.033       61.967       86.000
 
Pred. Tot.          68.000       86.000      154.000
Correct              0.647        0.721
Success Ind.         0.205        0.162
Tot. Correct         0.688
 
    Sensitivity:        0.647     Specificity:        0.721
False Reference:        0.353  False Response:        0.279