I have a SAS dataset that I want to transpose with both character and numerical variables. Only interval and group are character variables, the rest are numerical variables. However, proc transpose converts all of the variables into character variables. How can I modify the below program so that numerical variables remain as numerical and character variables as character after the transpose procedure? Thank you.
proc transpose data=sourceh.test out=sourceh.test2;
var interval group cap rank volatility correlation significance;
run;