Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

proc print data=a; run ; proc format ; value raceformat 1 =\"black\" 0 =\"nonbla

ID: 647306 • Letter: P

Question

proc print data=a;

run;

proc format;

value raceformat 1="black"      0="nonblack";

value sexformat     1 = "female"   0 = "male";

run;

data long;

set a;

stage=stage1; stages='stage1'; output;

stage=stage2; stages='stage2'; output;

stage=stage3; stages='stage3'; output;

format race raceformat.  sex sexformat. ;

drop stage1 stage2 stage3 ;

run;

PROC MIXED DATA= long ; /* model 1 */

CLASS id xchrlson sex race time stages;

MODEL LNtotexpplus1 = xchrlson | stages sex race age time stages/ DDFM=SAT residual influence;

random stages/ SUB=id;

LSMEANS xchrlson* stages /PDIFF;

run;

i have error when I run 101090 observation in sas programing, it shows that
WARNING: Class levels for id are not printed because of excessive size.
ERROR: The SAS System stopped processing this step because of insufficient memory.

id totexp race hrr age sex xchrlson rl6inab time LNtotexpplus1 diedpi stage1 stage2 stage3 1 21884.71 0 282 89 1 0 8.647091 1 9.993589 0 0 1 0 2 16653.99 0 134 90 1 0 12.69887 1 9.720465 1 0 1 0 3 13248.03 0 282 83 0 0 8.647091 1 9.49168 0 1 0 0 4 15428.37 0 281 85 0 0 8.673321 1 9.644028 1 0 0 1 5 15447.07 0 281 76 1 0 8.673321 1 9.645239 0 1 0 0

Explanation / Answer

There can be following remidies for it

1. Shutdown your computer, start it again and run your program.

2. The size of data you are trying to put is large as compared to its datatype.