/* Impute values for marital status and education based on: year SEXO CODPTORE CODMUNRE AREA_RES agey5 */
data _null_;
infile datalines;
filename setup "impute_mult1.set";
file setup;
input;
put _infile_;
datalines4;
title Multiple imputation;
DATAIN ivan.death2;
DATAOUT ivan.mult1;
default CATEGORICAL;
TRANSFER personalid;
ITERATIONS 5;
MULTIPLES 5;
SEED 2001;
run;
;;;;
%impute(name=impute_mult1, dir=.);
/* extract the remaining four multiply imputed datasets */
%putdata(name=impute_mult1, dir=., mult=2, dataout=ivan.mult2);
%putdata(name=impute_mult1, dir=., mult=3, dataout=ivan.mult3);
%putdata(name=impute_mult1, dir=., mult=4, dataout=ivan.mult4);
%putdata(name=impute_mult1, dir=., mult=5, dataout=ivan.mult5);
IVEware Statistical Procedures
Survey Research Center, Institute for Social Research
University of Michigan
Version 2.0, Copyright (c) 2009
Sat Dec 07 13:30:35 2013
Begin setup checking
Read setup
Write setup
End setup checking
Sat Dec 07 13:32:00 2013
Begin execution
Read setup
Read data
Error: Imputation too big - possibly continuous variable specified as categorical
NOTE: 18 records were read from the infile "C:\Users\Ivan Arroyave\impute_mult1.log".
The minimum record length was 0.
The maximum record length was 81.
NOTE: DATA statement used (Total process time):
real time 0.07 seconds
cpu time 0.07 seconds
Abnormal termination of impute. Check log.
1708
1709 /* extract the remaining four multiply imputed datasets */
1710
1711 %putdata(name=impute_mult1, dir=., mult=2, dataout=ivan.mult2);
NOTE: The infile "C:\Users\Ivan Arroyave\impute_mult1.set" is:
Filename=C:\Users\Ivan Arroyave\impute_mult1.set,
RECFM=V,LRECL=256,File Size (bytes)=738,
Last Modified=07Dec2013:13:30:33,
Create Time=15Dec2012:05:57:43
NOTE: 9 records were read from the infile "C:\Users\Ivan Arroyave\impute_mult1.set".
The minimum record length was 80.
The maximum record length was 80.
NOTE: DATA statement used (Total process time):
real time 0.04 seconds
cpu time 0.04 seconds
Output data.
NOTE: Variable _cimpl_ is uninitialized.
ERROR: Physical file does not exist, C:\Users\Ivan Arroyave\impute_mult1.cor.
NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set IVAN.MULT2 may be incomplete. When this step was stopped there were 0
observations and 92 variables.
WARNING: Data set IVAN.MULT2 was not replaced because this step was stopped.
NOTE: DATA statement used (Total process time):
real time 0.13 seconds
cpu time 0.09 seconds