45701 - Estimating the Standard Deviation of a Variable in a Finite Population- Sample

The finite population standard deviation of a variable provides a measure of the amount of variation in the corresponding attribute of the study population's members, thus helping to describe the distribution of a study **...**

39111 - Converting columns using a custom add-in task in SAS® Enterprise Guide® 4.2- Sample

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 shows you how to define a row-level permission filter that is based on group membership using the SAS.IdentityGroups property, which is available with SAS 9.2. This filtering method can be useful when you **...**

This sample demonstrates how to create an information map that selects which table to use based on a parameter selected from a prompt.

32160 - How to Apply IF-THEN-ELSE Logic by Using SAS® Enterprise Guide- Sample

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 **...**

32110 - How to use code to write log and listing files to disk using SAS ® Enterprise Guide- Sample

<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>

26136 - Changing the Output Format with SAS Enterprise Guide- Sample

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 **...**

58047 - Parse output from PROC SCAPROC to create a data set with inputs and outputs- Sample

Overview This sample code parses the output from PROC SCAPROC and creates a data set with information about the program that was run. Information included in the data set: Program name Inputs Outputs

58046 - Creating a rolling 12-month expression in SAS® Visual Analytics- Sample

It is not uncommon to want to view a year's worth of data. It is also not uncommon to want a rolling 12-month view of data where the data is automatically updated based on the current date. This is possible in SAS® **...**

24988 - Obtain a subset of data for the FIXONE, FIXTWO, RANONE or RANTWO methods in PROC TSCSREG- Sample

The %TSCSDATA macro helps identify those observations in a panel data set which can be used with the FIXONE, FIXTWO, RANONE or RANTWO methods of SAS/ETS PROC TSCSREG.

57766 - Add multiple tables and graphs to each worksheet using the ODS Destination for Excel- Sample

You can add multiple tables or graphs to each worksheet with the ODS Destination for Excel beginning with the third maintenance release of SAS® 9.4 (TS1M3). This can be accomplished by specifying the SHEET_INTERVAL=

24590 - Convert variable values from character to numeric or from numeric to character- Sample

Convert variable values using either the INPUT function or the PUT function.

24990 - Approximating the area under a curve using PROC EXPAND- Sample

Use PROC EXPAND in SAS/ETS<sup>®</sup> software to calculate the approximate area under the curve for data consisting of a set of (x,y) pairs.

24763 - Stratified random sample without replacement, unequal allocation- Sample

Select a random sample of data where the number of observations chosen from each group are of different sizes, without replacement.

24760 - Stratified random sample without replacement, equal allocation- Sample

Select a specific number of observations from different groups, where no observation can be chosen more than once.

24764 - Stratified random sample with replacement, unequal allocation- Sample

Select a random sample of data where the number of observations chosen from each group are of different sizes, with replacement.

24722 - Simple random sample without replacement- Sample

Select a random sample where no observation can be chosen more than once.

24802 - Simple random sample with replacement- Sample

Select a random sample where an observation can be chosen more than once.

24762 - Stratified random sample with replacement, equal allocation- Sample

Select a specific number of observations from different groups, where observations can be chosen more than once.

The sample code on the Full Code tab uses PROC FORMAT and Unicode values to create axis values that contain special symbols. The graph is produced using the Graph Template Language (GTL) with PROC SGRENDER. This **...**

56933 - Display special symbols as axis values using PROC FORMAT with PROC SGPLOT- Sample

The sample code on the Full Code tab uses PROC FORMAT and Unicode values to create axis values that contain special symbols. The graph in this sample is produced by PROC SGPLOT. This sample requires the third **...**

45664 - Using Bootstrap Replicate Weights with SAS/STAT Survey Procedures- Sample

This example shows how, and under what conditions, this commonality can be exploited so that bootstrap replicate weights can be used with existing SAS/STAT survey procedures to perform variance estimation.

25009 - Macros to plot statistics generated by PROC PLS- Sample

Using the OUTMODEL= and OUT= data sets from PROC PLS, these macros collect and plot residuals, scores, loadings, weights, coefficients, and other statistics.

56794 - Creating a prompted stored process that can be used to filter data in SAS® BI Dashboard- Sample

This sample provides the basic steps to create a prompted stored process for use as a data source in SAS BI Dashboard. The sample assumes that you are familiar with stored processes and each application that is **...**

56698 - Create a format to write numbers in engineering format style- Sample

Engineering notation is a version of scientific notation in which the exponent of ten must be divisible by three.
There is not a format available in SAS® software to write this style of output. However, you can **...**