A voir également:
- Sas waterlot et associés avis
- Donrand boutique - Forum Consommation & Internet
- Bocchio et associés avis - Forum Vos droits sur internet
- Free sas c'est quoi - Forum Antivirus
- Vente sur internet : menace d'huissier !!!! ✓ - Forum Consommation & Internet
- Quel est votre avis Huissiersplus.com ? ✓ - Forum Vos droits sur internet
2 réponses
Hello,
Tu peux tenter un truc comme ça et ça peut s'optimiser en passant par une macro :
data tab;
set tab;
alea=ranuni(12345);
run;
proc sort data=tab;
by alea;
run;
data tab;
set tab;
n=_N_;
run;
proc rank data=tab groups=10 out=tab_fin;
var n;
run;
data tab1 tab2 tab3 tab4 ...;
set tab_fin;
n=n+1;
if n=1 then output tab1;
if n=1 then output tab2;
....
run;
Tu peux tenter un truc comme ça et ça peut s'optimiser en passant par une macro :
data tab;
set tab;
alea=ranuni(12345);
run;
proc sort data=tab;
by alea;
run;
data tab;
set tab;
n=_N_;
run;
proc rank data=tab groups=10 out=tab_fin;
var n;
run;
data tab1 tab2 tab3 tab4 ...;
set tab_fin;
n=n+1;
if n=1 then output tab1;
if n=1 then output tab2;
....
run;
28 avril 2008 à 11:11
merci pr tn aide