Finding missing patterns of variables in a dataset using PROC MI

data exercise;
input
Name $ X Y Z;
cards;
John 22 22 33
Mary . 24 15
Ken 15 . 15
Ed 21 32 13
Suzie . 14 25
Luke 11 21 21
;
run;
proc mi data=exercise out=Ken;
var X Y Z;
ods output misspattern=Paul;
run;

 

Leave a Reply