数据集对WBC有三个不同日期的测量值,变量按顺序如下:
OBS ID WBC1 WBC2 WBC3 Date1 $ Date2 $ Date3 $
问:1,转换文本型变量date1 date2 date3 为SAS date values
2,用mmddyy informat打印问题1中的日期值(Print the date values from ‘1’ using mmddyy informat. )
3, We want to restructure this dataset from wide-format (also called multivariate format) to long format (also called univariate format). Use Array to restructure the data from wide-format to long-format for both WBC and date.
1 001 6734 7890 5698 23JAN2010 09APR2010 15OCT2010
2 002 4234 6759 4386 15FEB2010 01MAR2010 15MAY2010
3 003 9876 10390 8994 09JUL2010 14AUG2010 01NOV2010
谢谢!!