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>?
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.