NOTE: Copyright (c) 2016 by SAS Institute Inc., Cary, NC, USA.
NOTE: SAS (r) Proprietary Software 9.4 (TS1M7)
      Licensed to SUNY AT STONY BROOK - SFA - T&R, Site 70081119.
NOTE: This session is executing on the X64_10HOME  platform.

NOTE: Analytical products:

      SAS/STAT 15.2
      SAS/ETS 15.2
      SAS/OR 15.2
      SAS/IML 15.2
      SAS/QC 15.2

NOTE: Additional host information:

 X64_10HOME WIN 10.0.19041  Workstation

NOTE: SAS initialization used:
      real time           49.25 seconds
      cpu time            0.82 seconds

1    libname midus 'C:\Users\amand\Dropbox\Amanda\MIDUS\Data';
NOTE: Libref MIDUS was successfully assigned as follows:
      Engine:        V9
      Physical Name: C:\Users\amand\Dropbox\Amanda\MIDUS\Data
2    libname diss 'C:\Users\amand\Dropbox\Amanda\Dissertation\Manuscript 2\Data';
NOTE: Libref DISS was successfully assigned as follows:
      Engine:        V9
      Physical Name: C:\Users\amand\Dropbox\Amanda\Dissertation\Manuscript 2\Data
3    libname midus2 'C:\Users\amand\Dropbox\Data\MIDUS';
NOTE: Libref MIDUS2 was successfully assigned as follows:
      Engine:        V9
      Physical Name: C:\Users\amand\Dropbox\Data\MIDUS

4    data combined;
5    set diss.combined;
6
7    keep cfinance nowfinance peduca purpose accept optimism diab chol heart
8    age sex minority educa lenfol m2famnum;
9
10   run;

NOTE: There were 5555 observations read from the data set DISS.COMBINED.
NOTE: The data set WORK.COMBINED has 5555 observations and 15 variables.
NOTE: DATA statement used (Total process time):
      real time           0.87 seconds
      cpu time            0.21 seconds

11
12   data combined;
13   set combined;
14   length _all_ 3;
15   run;

NOTE: There were 5555 observations read from the data set WORK.COMBINED.
NOTE: The data set WORK.COMBINED has 5555 observations and 15 variables.
NOTE: DATA statement used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds

16
17   /*following recommendation to use the highest percent missing as the imputation # so 20%*/
18
19   proc mi data= combined nimpute=20 out=mi_midus seed=54321;
20   var cfinance nowfinance peduca purpose accept optimism diab chol heart
21   age sex minority educa lenfol m2famnum;
22   run;

NOTE: Writing HTML Body file: sashtml.htm
NOTE: The EM algorithm (MLE) converges in 18 iterations.
NOTE: The EM algorithm (posterior mode) converges in 4 iterations.
NOTE: The data set WORK.MI_MIDUS has 111100 observations and 16 variables.
NOTE: PROCEDURE MI used (Total process time):
      real time           7.54 seconds
      cpu time            7.28 seconds

23
24   data mi_midus;
25   set mi_midus;
26
27   keep cfinance nowfinance peduca purpose accept optimism diab chol heart
28   age sex minority educa lenfol m2famnum;
29
30   if optimism ge 24 then opt_med=1;
31   else opt_med=0;
32
33   if educa in (1,2) then nocollege=1;
34   else if educa in (3,4) then nocollege=0;
35
36   if peduca in (1,2) then pnocollege=1;
37   else if peduca in (3,4) then pnocollege=0;
38   run;

NOTE: There were 111100 observations read from the data set WORK.MI_MIDUS.
NOTE: The data set WORK.MI_MIDUS has 111100 observations and 15 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds

39   proc phreg data=mi_midus;
40   class sex minority educa;
41   model lenfol*heart(0) = peduca age sex minority educa optimism/ rl;
42   assess ph / resample ;
43   run;

NOTE: Convergence criterion (GCONV=1E-8) satisfied.
ERROR: Insufficient space in file WORK.'SASTMP-000000022'.UTILITY.
ERROR: File WORK.'SASTMP-000000022'.UTILITY is damaged. I/O processing did not complete.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE PHREG used (Total process time):
      real time           50:11.20
      cpu time            35:00.46