Does anyone know how to filling this missing values? I have information to fill, but I don't know how to locate these three and then assign, as other variables are the same.
data want;
set have;
if athlete="" then do;
athlete="abc";
age=21;
end;
run;
How could I do if three missing Athletes have different age?
You need to provide some information on what you are doing I can't guess. Post test data in the form of a datastep, post example output that you want, explain the logic between the two.
The first one is my results, there are three missing value. The second is the information. I need to find the three and three them up.
And how do I know that row 4009 should contain <insert correct data>? And how to know the row 4010 should contain <insert correct data>?
It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.
Get started using SAS Studio to write, run and debug your SAS programs.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.