Hi everybody I am running the same proc mixed model with ddfm=kr for about 40 response variables * 5 subpopulations. The run time of proc mixed is either about 1.5 minutes or about 28 minutes, nothing inbetween. Is there a possibility to reduce the runtime for the variables which take long? Or to catch the ones with long run time and run ddfm=kr only for those with short run time (ddfm=bw for the others)? The statistical analysis plan requests to run first the model with ddfm=kr for each variable and switch to ddfm=bw if the first model does not coverge. However, it coverges, it just takes too long to be feasible. EDIT: it looks like the response variables with long run time are the ones with more repeats per subject (9 repeats p.s. in 'fast' variables vs. 14 repeats p.s. in 'slow' variables). Still I am wondering, that's only about 1.5 times more repeats. There are about 850 subjects. Is there a limit to the kr-method regarding the amount of data processed? Using SAS 9.2. The code is: proc mixed data=datc(where=(avisitn gt 0));
by paramn paramcd param;
class avisitn trt01pn usubjid;
model chg = avisitn trt01pn base weight
avisitn*trt01pn avisitn*base / ddfm=kr;
lsmeans avisitn*trt01pn / diff cl;
repeated avisitn / type=un subject=usubjid;
ods output LSMeans=mlsmeans
Diffs=mdiffs
NObs=nobs
ConvergenceStatus=mconvergence;
run; paramn, paramcd and param have the same value within each modal call, the by-statement is used only to have the variables in the output datasets. The model is run in a %do loop for several response variables by selecting the response variables from the datasets. Thanks!
... View more