The %CIF macro implements nonparametric methods for estimating cumulative incidence functions with competing risks data. The macro can also be used to test the hypothesis that cumulative incidence functions are ...
This sample includes a downloadable SAS Enterprise Guide 4.2 custom add-in task that can be used to convert columns from character to numeric, character to date, character to datetime, and numeric to character.
This sample demonstrates how to create an information map that selects which table to use based on a parameter selected from a prompt.
The Query Builder in SAS Enterprise Guide can be used to create new columns called Computed Columns. CASE syntax can be used to apply IF-THEN-ELSE logic within the process of creating Computed Columns. This sample shows ...
<p>This sample shows how to add code in SAS Enterprise Guide that will write a SAS log file and ODS listing file to disk each time that a SAS program is run from SAS Enterprise Guide.</p>
When you run a task that produces output, by default SAS Enterprise Guide creates that output in HTML format. But, you don't have to confine yourself to HTML. SAS Enterprise Guide can produce output in RTF, which can be ...
This sample creates a copy of data set ONE containing only variables that exist in data set TWO.
SAS® Drug Development 3.5 Remote API Build 60 Macros - Inventory containers and objects in a Trash Can and delete them base on date or other criteria
The sample code on the Full Code tab uses the SPEDIS function with the SQL procedure to perform a fuzzy merge.
This sample illustrates how to calculate the number of seconds if a time interval goes beyond midnight.
SAS® Drug Development 3.5 Remote API Build 102 Macros - List the contents of a folder
SAS® Drug Development 3.5 Remote API Build 102 Macros - Change the ?recursivelevel? option to get more than one directory
This sample shows you how to create a link from a dashboard that passes filter values to an OLAP-based SAS Web Report Studio report.
This sample program shows how to extract the ExtendObsCounter file attribute using the SAS® Output Delivery System (ODS) and the CONTENTS procedure. The ExtendObsCounter attribute is added to a SAS® data set only when ...
The sample code on the Full Code tab shows how to code the DS2 SQLEXEC function to create a table and insert rows using the FedSQL CREATE and INSERT statements from within a DS2 program.
The LOCK statement acquires and releases a lock on a data set. This sample shows how to determine whether a lock is already held on a data set. The second part of the sample demonstrates how to test for the ...
Within a BY group, you can determine the starting and ending dates for periods of continuous activity. When a break in activity exists, begin a new starting date. This is a frequent request from various industries, ...
This Sample defines a C function that accepts a multidimensional array from SAS, and calls the C function from SAS.
This sample illustrates how to prevent a carriage return at the end of a table routed to a CSV file with ODS.
This Sample describes a simple historical simulation analysis, by both using and not using SAS Risk Dimensions, in order to show how the analysis perturbs risk factors.
SAS® Drug Development 3.5 - Using PROC PWENCODE to encode passwords