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 / reema

For that u have to use fistobs and obs both.
Eg:- firstobs 10 obs 20

Firstobs :- Will start observing from the row 10 ..

Obs:- will show till 20th observation .

Is This Answer Correct ?    21 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how merging helps to combine data sets.

618


explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di

549


Explain the difference between using drop = data set option in set and data statement?

687


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


what is hierarchy flattening? : Sas-di

622






what is business intelligence? : Sas-bi

585


what is ae onset date n what is RDS

1939


What are the different operating system platforms in which we can use sas? : sas-grid-administration

595


What is the purpose of _character_ and _numeric_?

591


Are you involved in writing the inferential analysis plan? Tables specfications?

1748


Where do you use proc means over proc freq?

566


what is the use of proc contents and proc print in sas? : Sas-administrator

609


Mention sas system options to debug sas macros.

664


Which are the statements whose placement in the data step is critical?

764


How to limit decimal places for the variable using proc means?

606