You have a data set of 100 observations,how can you
restrict the output so that the output has only data from
row no. 10 to row no. 20

Answer Posted / jonathan o&

data Subset;
set whatever;
if _N_ not in (10-20) then delete;
run;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?

686


what other sas products have you used and consider yourself proficient in using? : Sas programming

688


What are the scrubbing procedures in sas?

576


How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?

1168


How would you identify a macro variable? : sas-macro

537






What does P-value signify about the statistical data?

856


How does proc sql work?

618


what is broad cast agent? : Sas-bi

599


What is the sas data set? : sas-grid-administration

576


what is snowflake schema? : Sas-di

698


Mention the category in which sas informats are placed?

631


What is a macro routine?

2106


do you need to know if there are any missing values? : Sas programming

553


How to sort in descending order?

798


What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?

2010