Please I have this set of data I want to delete rows 1-3, 5-6 and row 60
Which SAS code can I use?
An easy way:
data want;
set have;
if _n_ in (1, 2, 3, 5, 6, 60) then delete;
run;
You mean this?
data want;
set tank;
if _n_ in (1, 2, 3, 5, 6, 60) then delete;
run;
But you will need to learn some basics. To be used in a SET statement, TANK has to be a SAS data set. So you need to learn how to get from a spreadsheet to a SAS data set.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.