sorry below is my dataset
data WORK.INC; infile datalines dsd truncover; input dose_fmt:$50. PARAM:$200. COUNT:32. PERCENT:32.; datalines4; ADURN,base Tot Score Less Than Equal To 12,3,3.5 DE dfg,base Tot Score Less Than Equal To 12,112,29.6 TOTAL,base Tot Score Less Than Equal To 12,115,24.8 ADURN,No Active next,1,1.2 DE dfg,No Active next,15,4 TOTAL,No Active next,16,3.4 ADURN,Outpatient Status,2,2.4 DE dfg,Outpatient Status,6,1.6 TOTAL,Outpatient Status,8,1.7 ADURN,YMRS Tot Score Less Than Equal To 12,1,1.2 DE dfg,YMRS Tot Score Less Than Equal To 12,25,6.6 TOTAL,YMRS Tot Score Less Than Equal To 12,26,5.6 ;;;;
run;
and i am using the belwo proc transpose
proc transpose data=inc out=stab12; by param ; var count percent; id dose_fmt; run;
In this output i get percent on one row and count on another whereas i need them to be next to each other.
... View more