The Wald-Wolfowitz test, also known as the Runs test for randomness, is used to test the hypothesis that a series of numbers is random. A run is a set of sequential values that are either all above or below the mean. To ...
This sample presents two small stored processes that you can use to seamlessly pass prompt values to all sections of a SAS Web Report Studio report. In this way, all sections are automatically subset by the same ...
This sample illustrates how to use the HTMLPANEL ODS tagset to put multiple graphs and tables on the same web page.
This sample includes two downloadable custom add-in tasks: one for SAS Enterprise Guide 4.2 and one for SAS Enterprise Guide 4.3. You can use the tasks to create KPI charts, which can then be used to build professional- ...
This sample demonstrates how to create an information map that selects which table to use based on a parameter selected from a prompt.
The output produced by this program displays a color swatch containing the 292 named SAS/GRAPH colors. When you hover your mouse over a color, the following information is displayed: SAS color name, full color name, ...
When your data flows freely into your SAS Enterprise Guide session, you can view it in the data grid, create queries, and run tasks. However, when data access points are not defined efficiently, everything seems to take ...
Using the SAS data set functions OPEN, ATTRN, and CLOSE, retrieve the number of observations and variables in a data set. Note that all of the following is done in macro code, not a DATA Step.
Illustrate how to create a data set of descriptive statistics on multiple input variables such that each row of the data set corresponds to an input variable and there is a column for each computed statistic.
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.
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, ...
It is a common practice to use the RANUNI function to generate random numbers within a SAS® program. These random numbers are real numbers between 0 and 1. To generate random alphabetic values, the program requires a ...
This Sample defines a C function that accepts a multidimensional array from SAS, and calls the C function from SAS.
This sample creates filled areas based on the value of the Y variable.
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 4.X - Converting file encoding
SAS® Drug Development - Removing extra line breaks in a Windows files
SAS® Drug Development 3.5 Remote API Macros Build 102 - Sample to code move files from the PC to instance
This sample demonstrates how to create a border line between group values in PROC REPORT output.