Not applicable
Posts: 0

# Selecting every 10th observation from a dataset

I would like to create a subset to of data by selecting every 10th record, does anyone know how to do this? Thanks in advance!!
Posts: 3,852

## Re: Selecting every 10th observation from a dataset

one possibility using SET and POINT.
[pre]
data every10;
do point = 10 to nobs by 10;
set sashelp.shoes point=point nobs=nobs;
output;
end;
stop;
run;
[/pre]
Not applicable
Posts: 0