Thank you very much, can you as well tell me what can i do, if i want to use the proc means procedure in order to get the means of a variable dedicated to particular classes (options class in proc means) so that means were the only options in the dataset? Please see the pictures below. I use these codes: proc means data=idvar mean; class wojid; var dochg; output out=sredniak; run; proc print data=sredniak; run; And I would like the dataset 'sredniak' to contain only the data which is shown using proc means. Unfortunately, if i use proc print then i get as well std, min, max and as well I get the general statistics for the whole dataset, not only for particular classes. Thanks, Tsievu100
... View more