Hello, Please i intend to use the output from the proc freq procedure to execute the Proc Transpose , however the Out=AA dataset displays only the Country by Trt01p; So when i use the AA dataset to execute the Proc Transpose , the variables Sex , Race and Country are all missing . Question : How do i make Sex, Race and Country appear in the AA dataset? Proc freq data=B ; Table SEX RACE ETHNIC COUNTRY / out=AA ; BY Trt01p ; Run; /*Step 3*/ Proc Transpose data=AA ; ID Trt01P ; BY SEX RACE ETHNIC COUNTRY ; VAR Count; run; I have attached the dataset Thanks a lot
... View more