proc tabulate;
class sex age weight_statu;
var total_score--sch_score;
tables (sex age),(all weight_statu)*(total_score phy_score psycho_score)*(n mean std);
run;
以上程序中好像只要sex或者age有缺失,最后生产的报表会剔除该条记录,这样的话,如果我在行维度(sex age)中增加更多的分类变量会导致参与报表的记录很少(因为必须所有的变量都不能有缺失),如何让他们互不影响呢,就是sex变量如果有缺失,不要影响age变量的生产,但是我又不想单独一个一个像下面这种写法:
proc tabulate;
class sex weight_statu;
var total_score--sch_score;
tables sex,(all weight_statu)*(total_score phy_score psycho_score)*(n mean std);
run;
求助了