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.

36930 - Bootstrap Computations in SAS/IML Studio- Sample

Shows how to use bootstrap methods in SAS/IML Studio to compute both a bootstrap estimate for a statistic and also an estimate for the standard error of the statistic.

36788 - Calculating a person's age using PROC FCMP- Sample

Use PROC FCMP to create a user defined function to calculate a person's age. User defined functions created by PROC FCMP can be used in the DATA Step beginning in SAS 9.2.

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>

24983 - Macro to test multivariate normality- Sample

The %MULTNORM macro provides tests and plots of univariate and multivariate normality.

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

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.

26100 - QIC goodness of fit statistic for GEE models- Sample

The %QIC macro computes the QIC and QICu statistics proposed by Pan (2001) for GEE (generalized estimating equations) models. These statistics allow comparisons of GEE models (model selection) and selection of a **...**

25010 - Create a polychoric correlation or distance matrix- Sample

The %POLYCHOR macro creates a SAS data set containing a correlation matrix of polychoric correlations or a distance matrix based on polychoric correlations.

25017 - Nonparametric comparison of areas under correlated ROC curves- Sample

Provides point and confidence interval estimates of multiple ROC areas. Performs pairwise comparisons among ROC areas. Any contrast among ROC areas may be estimated and tested.

56523 - Create graphics output for the web using PROC SGPLOT that has data tip functionality- Sample

The sample code on the Full Code tab demonstrates how to use the SGPLOT procedure to create graphics output for the web that has customized data tip functionality. When displaying the graph output via the web, position **...**

56546 - View National Language Support (NLS) characters in a map- Sample

This sample uses the $UESC50. format with the map attribute Unicode variable to view the national characters in an English SAS UTF-8 session.

56332 - Annotate points on a U.S. map using the MAPSGFK.US_STATES data set- Sample

This sample shows how you can annotate points on a map when using the MAPSGFK.US_STATES data set.

55481 - Symmetric Confidence and Prediction Intervals for Generalized Linear Models- Sample

The GLMPI macro computes asymptotic 100(1-?)% confidence and prediction intervals that are symmetric about the predicted mean using the delta method.

34443 - Determine the operating system and SAS® release in which a catalog was created- Sample

This sample program produces an output data set that contains information about the origin of any catalog. Two methods of converting catalogs are described.

Beginning with SAS® 9.2, PROC FREQ has a crosstab table template, CrossTabFreqs. You can use this template to modify many aspects of the crosstab table.

55808 - ODS LAYOUT: Placing text, graphs, and images on the same PDF page- Sample

ODS LAYOUT ABSOLUTE is new syntax for SAS<sup>®</sup> 9.4 (TS1M0). ODS LAYOUT enables the precise placement of text, tables, and images on a PDF page using ODS REGION statements. This sample shows the use of ODS LAYOUT **...**

24841 - Executing Your Stored Formats at Start-Up- Sample

This sample shows how you can permanently store and use formats that you have created.

55417 - How to code a DS2 package to return the package creation date- Sample

This sample shows the code to add to a DS2 Package so that the creation date is returned when it is invoked.

55272 - Process groups of variables in N increments within an array- Sample

When variables need to be processed in groups, using an array with several DO loops is a simple approach.
See the Full Code tab for sample code that processes three variables at a time to determine whether they all **...**

Use PROC FORMAT to create a user-defined format that can be used to apply traffic lighting in PROC REPORT output. Another user-defined format is used to add the arrow symbol with text to adjacent cells.

54866 - Logistic model selection using area under curve (AUC) or R-square selection criteria- Sample

The SELECT macro provides forward, backward, and stepwise model selection methods for categorical-response models and sorts models on the specified criterion - area under the ROC curve (AUC), R-square, max-rescaled R- **...**