data test8;
retain PrevScore;
PrevScore = Score;
set test7;
by id;
if first.id then
do ;
PrevScore = '';
end;
IF MISSING(Score) THEN DO;
Score=PrevScore*(1.05);
drop PrevScore;
END;
run;