Boost to tackle nonlinearity

data nonlinear;
do x=1 to 627;
p=(sin(x/100)+1)*0.45;
do j=1 to 100;
x1=x+(j-1)/100;
if ranuni(8655645)<=p then y=1; else y=0;
output; drop p j;
end;
end;
run;

proc rank data=nonlinear out=nonlinearrank groups=…

Convert data to CSV file

In addition to the export file wizard and proc export (section 1.2.3 of SAS and R), SAS provides a the nifty little %ds2csv macro that can do this quickly and easily. 
The advantages to this approach are that there are a few extra options and that…