Hello all, I have SAS data set(below) with the variable for bird age in month after 4 weeks old and a percentage named “perc” ,and I want to interpolate “perc” from monthly to weekly (e.g. week1, week 2,… week 44 or 45(=11 months). I tried to treat the data as time series by using “proc expand” to convert from monthly to weekly, but I need a help on how to code. Can anyone help me? Many thanks, *****My SAS data set*******************************; proc format; value birdage 1='1 Week' 2='2 Weeks' 3='3 Weeks' 4='4 Weeks' 5='2 Months' 6='3 Months' 7='4 Months' 8='5 Months' 9='6 Months' 10='7 Months' 11='8 Months' 12='9 Months' 13='10 Months' 14='11 Months' ; run; data WORK.bird; infile datalines truncover; input bird_age:32. perc:32.; format bird_age birdage9.; datalines; 1 25.34 2 38.05 3 45.23 4 56.73 5 69.28 6 77.87 7 82.4 8 85.88 9 90.05 10 91.43 11 93.12 12 93.69 13 94.27 14 94.4 ;;;; run;
... View more