Example programs

Data Management Program Examples

A Typical Import File and Data Merging Routine

A Typical Data Preparation File, Advance of Analysis

An example program for flipping data vertically or horizontally

I have other example programs for data cleaning, missing data assessment, and other data review needs. These are case specific. If you send a me a few sentences about what you are trying to do, I will try to send you an example if I have something relevant to your need.

Descriptives and Plotting.

The below programs are set up to run as macros and generate SAS ODS Output into PDF files. However, it is a simple matter to excerpt code from the programs and set it up on your own system without a macro.

A SAS Macro to produce ODS PDF Output of Below Descriptives File

Descriptives Program for an Intensive Longitudinal Database

Example Output of Descriptives File

A SAS Macro to produce ODS PDF Output of Below Plots File

Plots Program for an Intensive Longitudinal Database

Example Output of Below Plots File (3 Megabytes)

SAS program for spline plots for each subject

SAS program for scatter plots for each subject