Lab Macros

Last updated: 21 Apr 2015

Introduction

This page will give you links to some lab macros I wrote to help QC most of the different table outputs of the company standard lab macro. The macros were never fully completed. The reason this page is here is to show you how I intended for people to use the Spectre clinical macros along with the utility macros. These macros won't work for you - they are more of a guide on how to use the Spectre macros in those cases where the format of the report is purely a client style and not one of the limited styles that the Spectre clinical macros cover. Spectre is a clinical reporting engine, rather than being a clinical reporting system. It's purpose is not to impose a clinical reporting style on the user. It contains some commonly seen styles (that might have all originated from the Research Triangle Park) but as originally written (no longer the case) the main clinical reporting macros did not provide any output. Instead, it did the descriptive statistics or the counts and percentages and wrote it to a dataset for later reporting by the programmer.

Again, I would remind the reader that these macros will not work for them and were just written to QC a major client macro written by an external software house. Do not put these as a lab macro library on your sasautos path like you should do for the utility macros and the clinical reporting macros.

The Lab Macros

Links to the lab macros are provided below. They are just for you to look at and study how the Spectre macros were originally intended to be used for specialized client reporting purposes:

qccatd

qccatmrr

qccatrrm

qccatrrmbe

qccatrrms

qcdstat

qcdstatbe

qcdstatstr

qcmean

qcmedian

qcpcsaf

qcpcsafp

qcrrcat

qcworst

xcatrrmbe

xpcsaf
 

Conclusion

You have seen how the Spectre clinical and utility macros were expected to be used for specialized client reporting purposes.


 

Use the "Back" button of your browser to return to the previous page.

contact the author













































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.