p_vlaue를 소수점 맞추어넣거나, 만약 <0.001일때 그대로 표시하려면..


format =pvalue6.4



proc report

data = gg6

nowindows

spacing = 1

headline

headskip

split = "|"

style(report) = {just=c outputwidth=9 in font_face='맑은 고딕' vjust=middle}

style(header) = {font_face='맑은 고딕' vjust=middle }

style(column) = {font_face='맑은 고딕' vjust=middle}

style(summary)= {font_face='맑은 고딕' vjust=middle}

style         = {frame=hsides rules=rows};

columns  no_  _label_   TRT,( meansd  CV_ ) probf      ;

define no_ /  group noprint ;

define _label_ /  group  order=data   width = 8 "Parameter" ;

define TRT /across  center width = 8 "Treatment" ;

define meansd / display center  width = 8 " "  ;

define CV_ / display center f=4.1  width = 8 "CV (%) "  ;

define probf /   center  format =pvalue6.4  width = 4  "P-value ";

 

compute after ;

line left @2 "P-value is calculated using paired t-test." ;

line lfeft @2 "Values are presented as mean±SD, except T^{sub max,ss} which is presented as median (minimum, maximum)" ;

endcomp;


 run;


블로그 이미지

고향이안드로메다

,