Search Results

68 résultats trouvés Page 7 / 7
Code SAS
Voir

GEE Analysis of Ordinal Shoulder Pain Data

proc format; value $abc 'y' = 'Active' 'n' = 'Placebo'; value $xyz 'f' = 'Female' 'm' = 'Male'; run;

Code SAS
Voir

Controlling the Sort Order in a Frequency Report

proc format; /*3*/ value FuelEff low-20="Low" 20

Code SAS
Voir

Processing Millions of Rows with SAS PROC ASSESS

/* Configuration CAS (si non déjà configurée) */ cas; caslib _all_ assign; /* Préparation des données: Création d'un jeu de données de score synthétiques */ data work.score_data; length good_bad $4; input _PartInd_ good_bad $ p_good p_bad; datalines; 0 good 0.6675 0.3325 0 good 0.5189 0...

Code SAS
Voir

From Cloud to Disk: How to Efficiently Convert CAS Tables to SAS Datasets

libname mycas cas; /* Création d'une table CAS avec des données */ data mycas.employes_cas; input ID Employe $ Service $ Salaire Anniversaire :yymmdd10.; format Anniversaire yymmdd10.; datalines; 101 Dupont RH 50000 1980-05-15 102 Martin Ventes 65000 1975-11-22 103 Dubo...

Code SAS
Voir

How to Organize and Process SAS Datasets with BY Groups and PROC SORT

options linesize=80 pagesize=60; data test; input name $ Score; datalines; Jon 1 Anthony 3 Miguel 3 Joseph 4 Ian 5 Jan 6 ; proc format; value Range 1-2='Low' 3-4='Medium' 5-6='High'; run; data newtest; set test; by groupformat S...

Code SAS
Voir

No Data Step Required: Creating Computed Columns on the Fly with table.fetch

/* Création d'une table de démonstration en mémoire CAS */ data casuser.etudiants; input Nom $ Matiere $ Note; datalines; Alice Math 90 Bob Info 85 Alice Info 92 Charlie Math 78 Bob Math 88 ; run; /* Création d'un format personnalisé pour les notes */ proc format; value note_fmt ...

Code SAS
Voir

Mastering Data Segmentation: The Definitive Guide to BY-Group Processing in SAS

options linesize=80 pagesize=60; data test; input name $ Score; datalines; Jon 1 Anthony 3 Miguel 3 Joseph 4 Ian 5 Jan 6 ; proc format; value Range 1-2='Low' 3-4='Medium' 5-6='High'; run; data newtest; set test; by groupform...

Code Article
Voir

Mastering Descriptive Statistics in SAS: PROC MEANS, SUMMARY, and TABULATE

/* Définition du format de couleur */ PROC FORMAT; VALUE watchit 0 - 20000 = 'Green' 20001 - 30000 = 'Orange' 30001 - 50000 = 'Blue' 50001 - 60000 = 'Purple' 60001 - high = 'Red'; run; /* Application du format comme couleur de fond (foregroun...