Posts Tagged ‘ SAS macro ’

Example 9.35: Discrete randomization and formatted output

June 18, 2012
By

A colleague asked for help with randomly choosing a kid within a family. This is for a trial in which families are recruited at well-child visits, but in each family only one of the children having a well-child visit that day can be in the study. The...
Read more »

Tags: , , , , , , , , ,
Posted in SAS | Comments Off

Example 9.34: Bland-Altman type plot

June 5, 2012
By
Example 9.34: Bland-Altman type plot

The Bland-Altman plot is a visual aid for assessing differences between two ways of measuring something. For example, one might compare two scales this way, or two devices for measuring particulate matter. The plot simply displays the difference betw...
Read more »

Tags: , , , , , , , ,
Posted in SAS | Comments Off

Example 9.32: Multiple testing simulation

May 21, 2012
By

In examples 9.30 and 9.31 we explored corrections for multiple testing and then extracting p-values adjusted by the Benjamini and Hochberg (or FDR) procedure. In this post we'll develop a simulation to explore the impact of "strong" and "weak" control...
Read more »

Tags: , , , , , , ,
Posted in SAS | Comments Off

A time-saving coding tip: leverage the SAS macro facility

February 28, 2012
By

Hi!  My name is Jim.  I’m a SAS instructor based in Irvine, CA.  I spend a lot of time each year teaching students in CA and across the United States how to program in SAS and how to master the SAS macro facility. In case you haven’t taken one...
Read more »

Tags: ,
Posted in SAS | Comments Off

Example 9.16: Small multiples

November 29, 2011
By
Example 9.16: Small multiples

Small multiples are one of the great ideas of graphics visionary Edward Tufte (e.g., in Envisioning Information). Briefly, the idea is that if many variations on a theme are presented, differences quickly become apparent. Today we offer general guida...
Read more »

Tags: , , , , , , , , , , ,
Posted in SAS | Comments Off

Example 9.16: Small multiples

November 29, 2011
By
Example 9.16: Small multiples

Small multiples are one of the great ideas of graphics visionary Edward Tufte (e.g., in Envisioning Information). Briefly, the idea is that if many variations on a theme are presented, differences quickly become apparent. Today we offer general guida...
Read more »

Tags: , , , , , , , , , , ,
Posted in SAS | Comments Off

Tracing calling programs for %INCLUDE

August 17, 2011
By

Dear Miss SAS Answers, I run a lot of programs that call other programs with %include. I was wondering if there was a way, perhaps through a SAS Automatic Macro variable, to determine 1) whether a program was called or "included" from another program? ...
Read more »

Tags: , , , ,
Posted in SAS | Comments Off

Example 8.35: Grab true (not pseudo) random numbers; passing API URLs to functions or macros

April 19, 2011
By

Usually, we're content to use a pseudo-random number generator. But sometimes we may want numbers that are actually random-- an example might be for randomizing treatment status in a randomized controlled trial.The site Random.org provides truly rando...
Read more »

Tags: , , , , , , , , , ,
Posted in SAS | Comments Off

Welcome!

SAS-X.com offers news and tutorials about the various SAS® software packages, contributed by bloggers. You are welcome to subscribe to e-mail updates, or add your SAS-blog to the site.

SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.