ods exclude all;   /** ods output 출력 제한 **/
proc anova data = pk_data2    ;   
class trt ;
model   xx1 xx2 xx3   =trt ; 
  ods output   overallANOVA=Statistics1     ;
run ;

proc anova ods

 

proc ttest data = pk_datax2 dist=lognormal  ;   
var   xx1 xx2 xx3 xx4  ; 
class trt ;
 ods output   Statistics=Statistics1  ttests= ttests  ;
run ;


data geomean ; set statistics1 ;  //** Geomean 계산 **//
length trt $3 ;
 keep Variable class GeomMean  n0 ;
 if ((class NE "R") and (class NE "T")) then delete ;
  n0+1;
  rename class = trt ;
  run ;

 

'통계 clinical trial > SAS' 카테고리의 다른 글

Geometric mean 계산  (0) 2020.07.29
[SAS] time, date 더하기, 빼기  (0) 2020.07.28
PROC REPORT (title page)  (0) 2020.07.27
RM ANOVA (proc glm, proc mixed)  (0) 2020.07.21
SAS Procedure 들  (0) 2019.03.03
블로그 이미지

고향이안드로메다

,