Search Results

69 résultats trouvés Page 1 / 7
Action CAS
Voir

fmtLibCntlIn

The fmtLibCntlIn action creates a format library from a control table. This is useful for importing format definitions stored in a CAS table, similar to the CNTLIN= option in the PROC FORMAT procedure. The input table must adhere to the structure required for format control data sets (containing ...

Exemple
Voir

Add, Promote, and Replace a Format Library from a Server Path

libname mycas cas; proc format lib=work; value $countryfmt 'US'='United States' 'CA'='Canada'; run; proc format lib=work cntlout=work.countryctl; select $countryfmt; run; data mycas.countryformats; set work.countryctl; run; proc casutil; save casdata="countryformats" incaslib="...

Code SAS
Voir

Managing Decimals with PROC FORMAT PICTURE

Demonstration of using PROC FORMAT with the PICTURE statement to format numerical values, specifically managing decimals and rounding.

Code SAS
Voir

Format Management and Dataset Creation

This SAS script demonstrates the creation of a custom format using PROC FORMAT, its application, and the use of random functions in a DATA STEP to generate a dataset. Finally, the formatted dataset is displayed via PROC PRINT.

Code SAS
Voir

Managing user-defined formats in CAS for Viya

This SAS script demonstrates how to create, save, promote, and make user-defined formats accessible in the SAS Cloud Analytic Services (CAS) environment of SAS Viya 4. It includes steps to initialize the CAS session, define a format via PROC FORMAT with a CASFMTLIB, and configure CAS server optio...

Code SAS
Voir

Cancer Data Analysis and Sorting

proc format; picture positive low-

Code SAS
Voir

Random Assignment of Subjects to Groups

proc format; value group 1 = "Control" group 2 = "Treatment"; run;

Code SAS
Voir

Simulation and classification of white blood cell (WBC) counts

proc format; value class low-3000 = 'Abnormally Low' 3000-4000 = 'Low' 4001-6000 = 'Medium' 6001-12000 = 'High' 12000-high = 'Abnormally High' . = 'Not Available'; proc freq; format WBC class.; tables WBC/MIS...

Code SAS
Voir

Creation of format for US states

proc format; value state_f 12 = "Florida" 25 = "Massachusetts" 27 = "Minnesota" ; run;

Code SAS
Voir

Definition of Custom Formats for States and Sex

proc format; value state_f 12 = "Florida" 25 = "Massachusetts" 27 = "Minnesota" ; value sex_f 1 = "Male" 2 = "Female" 7 = "Unknown" 9 = "Unknown" ; run;