           SPSS/PC+ The Statistical Package for IBM PC                  9/20/88
INC 'advtest.inc'                                                              
title 'Test Job for SPSS/PC+ ADVANCED STATS'.
SET LOG OFF.
DATA LIST  /CASEID 1-2 SURVIVAL 4 TREATMNT 6 TIME 8-10(1)
  WEIGHT 12-15(3) APGAR 17-18 SEX 20 AGE 22-23
  PO2 25-27 PCO2 29-31 PH 33-35(2) RESP 37.
VAR LABELS  SURVIVAL 'Infant survival'
  TREATMNT 'Treatment administered'
  TIME 'Time to spontaneous respiration'
  WEIGHT 'Birthweight in kilograms'
  APGAR 'APGAR score'
  SEX 'Sex of respondent'
  AGE 'Gestation age'
  PO2 'O2 level'
  PCO2 'CO2 level'
  PH 'PH level'
  RESP 'Respiratory level'.
RECODE SURVIVAL (0=1)(1=2).
VALUE LABELS SURVIVAL 1 'Die' 2 'Survive'/
  TREATMNT 1 'THAM' 0 'Sodium bicarbonate'/
  SEX 1 'Male' 0 'Female'/
  RESP 1 'Yes' 0 'No' 9 'No answer'/.
MISSING VALUES  PCO2(-1)/RESP(9).
BEGIN DATA
END DATA.
     50 cases are written to the uncompressed active file.

This procedure was completed at  9:41:17

* next procedure requires that D module be installed.

DSCRIMINANT GROUPS=SURVIVAL(1,2)
  /VARIABLES=TREATMNT TO AGE PH RESP
  /METHOD=DIRECT

Since ANALYSIS= was omitted for the first analysis all variables
on the VARIABLES= list will be entered at level 1.
  /STATISTICS=13 15
  /OPTIONS= 6 7.


This Discriminant Analysis requires      2240 (       2.2K) BYTES of workspace.
-------------------------------------------------------------------------------
Page   4   Test Job for SPSS/PC+ ADVANCED STATS                         9/20/88
-------------------------------------------------------------------------------
Page   5   Test Job for SPSS/PC+ ADVANCED STATS                         9/20/88

- - - - - - - -   D I S C R I M I N A N T   A N A L Y S I S   - - - - - - - - 

On groups defined by SURVIVAL  Infant survival                         

            50 (unweighted) cases were processed.
             2 of these were excluded from the analysis.
                0 had missing or out-of-range group codes.
                2 had at least one missing discriminating variable.
            48 (unweighted) cases will be used in the analysis.

Number of Cases by Group

               Number of Cases
  SURVIVAL  Unweighted     Weighted  Label
         1          26         26.0  Die                 
         2          22         22.0  Survive             
     Total          48         48.0
-------------------------------------------------------------------------------
Page   6   Test Job for SPSS/PC+ ADVANCED STATS                         9/20/88

- - - - - - - -   D I S C R I M I N A N T   A N A L Y S I S   - - - - - - - - 

On groups defined by SURVIVAL  Infant survival                         

Analysis number       1
Direct method:  All variables passing the tolerance test are entered.
     Minimum Tolerance Level..................  .00100

Canonical Discriminant Functions

     Maximum number of functions..............       1
     Minimum cumulative percent of variance...  100.00
     Maximum significance of Wilks' Lambda....  1.0000

Prior probability for each group is  .50000
-------------------------------------------------------------------------------
Page   7   Test Job for SPSS/PC+ ADVANCED STATS                         9/20/88

                      Canonical Discriminant Functions

                Pct of   Cum  Canonical  After  Wilks'
 Fcn Eigenvalue Variance  Pct     Corr      Fcn  Lambda  Chisquare    DF  Sig
                                         :    0   .6150     20.419     8  .0089
   1*     .6261  100.00  100.00    .6205 : 

   * marks the   1 canonical discriminant functions remaining in the analysis.

Standardized Canonical Discriminant Function Coefficients

             FUNC  1
TREATMNT      .21531 
TIME          .13170 
WEIGHT       1.16789 
APGAR         .34638 
SEX           .00337 
AGE          -.64084 
PH            .16862 
RESP         -.58743 
-------------------------------------------------------------------------------
Page   8   Test Job for SPSS/PC+ ADVANCED STATS                         9/20/88

Structure Matrix:

Pooled-within-groups correlations between discriminating variables
                                  and canonical discriminant functions
(Variables ordered by size of correlation within function)

             FUNC  1
WEIGHT        .73338 
RESP         -.51940 
AGE           .49290 
TREATMNT      .26572 
PH            .25946 
APGAR         .19210 
TIME         -.10157 
SEX           .03738 
-------------------------------------------------------------------------------
Page   9   Test Job for SPSS/PC+ ADVANCED STATS                         9/20/88

Canonical Discriminant Functions evaluated at Group Means (Group Centroids)

  Group      FUNC   1
       1       -.71252
       2        .84206

Symbols used in Plots

Symbol  Group  Label
------  -----  --------------------
  1         1  Die                 
  2         2  Survive             
-------------------------------------------------------------------------------
Page  10   Test Job for SPSS/PC+ ADVANCED STATS                         9/20/88
                All-groups stacked Histogram

              Canonical Discriminant Function 1
       4 Å              2   1 2                    Å
         ³              2   1 2                    ³
         ³              2   1 2                    ³
         ³              2   1 2                    ³
       3 Å              1   11222 2  2             Å
         ³              1   11222 2  2             ³
         ³              1   11222 2  2             ³
         ³              1   11222 2  2             ³
       2 Å         11 211  11111222222             Å
         ³         11 211  11111222222             ³
         ³         11 211  11111222222             ³
         ³         11 211  11111222222             ³
       1 Å         11 1111 111112211222   22  2    Å
         ³         11 1111 111112211222   22  2    ³
         ³         11 1111 111112211222   22  2    ³
         ³         11 1111 111112211222   22  2    ³
          XÄÄÄÄÅÄÄÄÄÅÄÄÄÄÅÄÄÄÄÅÄÄÄÄÅÄÄÄÄÅÄÄÄÄÅÄÄÄÄX
        Out -3.0 -2.0 -1.0   .0  1.0  2.0  3.0    Out
  Class   11111111111111111111122222222222222222222
Centroids                  1       2
-------------------------------------------------------------------------------
Page  11   Test Job for SPSS/PC+ ADVANCED STATS                         9/20/88

Classification Results -

                      No. of    Predicted Group Membership
   Actual Group        Cases          1          2
--------------------  ------   --------   --------
Group       1             26         22          4
Die                                84.6%      15.4%

Group       2             22          4         18
Survive                            18.2%      81.8%

Percent of "grouped" cases correctly classified:  83.33%

Classification Processing Summary
        50 Cases were processed.
         0 Cases were excluded for missing or out-of-range group codes.
         2 Cases had at least one missing discriminating variable.
        48 Cases were used for printed output.
-------------------------------------------------------------------------------
Page  12   Test Job for SPSS/PC+ ADVANCED STATS                         9/20/88

This procedure was completed at  9:41:40

* next procedure requires that A module be installed.

FACTOR VARIABLES=TIME WEIGHT APGAR AGE PO2 PCO2 PH RESP.

This FACTOR analysis requires       9048 (       8.8K) BYTES of memory.
-------------------------------------------------------------------------------
Page  13   Test Job for SPSS/PC+ ADVANCED STATS                         9/20/88

              - - - -   F A C T O R   A N A L Y S I S   - - - - 

Analysis Number  1  Listwise deletion of cases with missing values      

Extraction  1  for Analysis  1, Principal-Components Analysis (PC)      

Initial Statistics:                                                     

Variable     Communality  *  Factor   Eigenvalue   Pct of Var   Cum Pct 
                          *                                             
TIME             1.00000  *     1       2.42206       30.3         30.3 
WEIGHT           1.00000  *     2       1.47718       18.5         48.7 
APGAR            1.00000  *     3       1.25818       15.7         64.5 
AGE              1.00000  *     4       1.01589       12.7         77.2 
PO2              1.00000  *     5        .81728       10.2         87.4 
PCO2             1.00000  *     6        .54343        6.8         94.2 
PH               1.00000  *     7        .35329        4.4         98.6 
RESP             1.00000  *     8        .11269        1.4        100.0 

   PC Extracted   4 factors.                                            
-------------------------------------------------------------------------------
Page  14   Test Job for SPSS/PC+ ADVANCED STATS                         9/20/88

              - - - -   F A C T O R   A N A L Y S I S   - - - - 

Factor Matrix:

              FACTOR  1     FACTOR  2     FACTOR  3     FACTOR  4

TIME           -.54266       -.42015        .44781        .08194
WEIGHT          .83066       -.00270        .47583        .05426
APGAR           .63996        .38394       -.41556        .12160
AGE             .87359        .07287        .37918       -.02601
PO2             .27266       -.37670       -.43019       -.39404
PCO2           -.28290        .53628        .54705       -.20996
PH              .19165       -.54704        .04586        .71333
RESP           -.27161        .64744       -.16833        .53158

-------------------------------------------------------------------------------
Page  15   Test Job for SPSS/PC+ ADVANCED STATS                         9/20/88

              - - - -   F A C T O R   A N A L Y S I S   - - - - 

Final Statistics:                                                       

Variable     Communality  *  Factor   Eigenvalue   Pct of Var   Cum Pct 
                          *                                             
TIME              .67826  *     1       2.42206       30.3         30.3 
WEIGHT            .91936  *     2       1.47718       18.5         48.7 
APGAR             .74443  *     3       1.25818       15.7         64.5 
AGE               .91292  *     4       1.01589       12.7         77.2 
PO2               .55657  *                                             
PCO2              .71098  *                                             
PH                .84693  *                                             
RESP              .80386  *                                             
-------------------------------------------------------------------------------
Page  16   Test Job for SPSS/PC+ ADVANCED STATS                         9/20/88

              - - - -   F A C T O R   A N A L Y S I S   - - - - 

Varimax   Rotation  1,  Extraction  1,  Analysis  1 - Kaiser Normalization.

  Varimax converged in    6 iterations.                                 

Rotated Factor Matrix:

              FACTOR  1     FACTOR  2     FACTOR  3     FACTOR  4

TIME           -.13740       -.80114        .08093        .10490
WEIGHT          .94393        .13688       -.03103        .09302
APGAR           .23200        .82688        .01238        .08199
AGE             .91648        .25785       -.07866        .01765
PO2            -.05948        .21512       -.70881        .06593
PCO2            .12894       -.25480        .46091       -.64575
PH              .17304       -.16138        .07883        .88585
RESP           -.31910        .32973        .77013        .01463

-------------------------------------------------------------------------------
Page  17   Test Job for SPSS/PC+ ADVANCED STATS                         9/20/88

              - - - -   F A C T O R   A N A L Y S I S   - - - - 

Factor Transformation Matrix:

               FACTOR  1     FACTOR  2     FACTOR  3     FACTOR  4

FACTOR  1        .77409        .54215       -.26763        .18773
FACTOR  2        .00090        .51218        .63281       -.58072
FACTOR  3        .63306       -.66311        .33187       -.22222
FACTOR  4       -.00541        .06351        .64637        .76036

-------------------------------------------------------------------------------
Page  18   Test Job for SPSS/PC+ ADVANCED STATS                         9/20/88

This procedure was completed at  9:42:07


Subtitle Non-linear model for windspeed measurement.

DATA LIST / X 1-3 Y 5-9.
VAR LABELS X 'anomometer height' Y 'windspeed'.
BEGIN DATA
END DATA.
      5 cases are written to the uncompressed active file.

This procedure was completed at  9:42:12

* next procedure requires that N module be installed.

MODEL PROGRAM
  A=100 B=7.06 C=-223.26.
-------------------------------------------------------------------------------
Page  20   Test Job for SPSS/PC+ ADVANCED STATS                         9/20/88
NON-LINEAR MODEL FOR WINDSPEED MEASUREMENT                      

This procedure was completed at  9:42:21
COMPUTE PRED=A*LN(B*X+C).
NLR Y WITH X/PRED=PRED/SAVE PRED.

All the derivatives will be calculated numerically.
-------------------------------------------------------------------------------
Page  21   Test Job for SPSS/PC+ ADVANCED STATS                         9/20/88
NON-LINEAR MODEL FOR WINDSPEED MEASUREMENT                      
There are 5 cases.  There is enough memory for them all.

 Iteration  Residual SS           A           B           C

     1      6822.703884  100.000000  7.06000000  -223.26000
     1.1    3899.279813  107.235597  2.71055158  -18.043743
     2      3899.279813  107.235597  2.71055158  -18.043743
     2.1    107.8417730  115.003329  2.27328009  -24.273351
     3      107.8417730  115.003329  2.27328009  -24.273351
     3.1    7.040578209  115.150921  2.30999733  -22.101959
     4      7.040578209  115.150921  2.30999733  -22.101959
     4.1    7.013266157  115.147444  2.31056594  -22.026921
     5      7.013266157  115.147444  2.31056594  -22.026921
     5.1    7.013265848  115.146862  2.31064751  -22.028813
     6      7.013265848  115.146862  2.31064751  -22.028813
     6.1    7.013265848  115.146870  2.31064641  -22.028787
-------------------------------------------------------------------------------
Page  22   Test Job for SPSS/PC+ ADVANCED STATS                         9/20/88
NON-LINEAR MODEL FOR WINDSPEED MEASUREMENT                      

Run stopped after 12 model evaluations and 6 derivative evaluations.
Iterations have been stopped because the relative reduction between successive
residual sums of squares is at most SSCON = 1.000E-08
-------------------------------------------------------------------------------
Page  23   Test Job for SPSS/PC+ ADVANCED STATS                         9/20/88
NON-LINEAR MODEL FOR WINDSPEED MEASUREMENT                      


Nonlinear Regression Summary Statistics     Dependent Variable Y

  Source                 DF  Sum of Squares  Mean Square

  Regression              3  2314527.69673   771509.23224
  Residual                2        7.01327        3.50663
  Uncorrected Total       5  2314534.71000

  (Corrected Total)       4    75525.34800

  R squared = 1 - Residual SS / Corrected SS =     .99991

                                           Asymptotic 95 %
                          Asymptotic     Confidence Interval
  Parameter   Estimate    Std. Error     Lower         Upper

  A         115.14686999  2.040556318 106.36706478 123.92667520
  B          2.310646412   .280311752  1.104562288  3.516730537
  C         -22.02878660  6.409417923 -49.60628612  5.548712919
-------------------------------------------------------------------------------
Page  24   Test Job for SPSS/PC+ ADVANCED STATS                         9/20/88
NON-LINEAR MODEL FOR WINDSPEED MEASUREMENT                      

  Asymptotic Correlation Matrix of the Parameter Estimates

                   A         B         C

  A           1.0000    -.9963     .9666
  B           -.9963    1.0000    -.9802
  C            .9666    -.9802    1.0000
-------------------------------------------------------------------------------
Page  25   Test Job for SPSS/PC+ ADVANCED STATS                         9/20/88
NON-LINEAR MODEL FOR WINDSPEED MEASUREMENT                      

This procedure was completed at  9:43:16
STOP.

End of Include file.
