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;
'통계 clinical trial > SAS' 카테고리의 다른 글
엑셀 파일 만들기 (ODS EXCEL) (0) | 2018.11.02 |
---|---|
SAS에서 excel 파일 불러오기 (PROC IMPORT) (0) | 2018.11.02 |
반올림 버림 (0) | 2018.11.01 |
datetime 변수에서 날짜와 시간을 분리 (0) | 2018.11.01 |
숫자->문자, 문자->숫자 (0) | 2018.11.01 |