I'm not 100% I'm sure what you want here but perhaps a transpose may help.
Check out this example below.
data have;
input
year 4.
variable $1.
pct_missing 3.;
CARDS;
2011A100
2011B90
2010A80
2010B70
2010C60
;
run;
proc sort
data=have;
by variable;
run;
Proc Transpose
data=have
out=want (drop=_name_)
prefix=pct_missing;
id year;
var pct_missing;
by variable ;
run;
mAndroid
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…