|
|
||||
|
Home |
SAS Helpful HintsBiostat Macro LibraryPercent Change%PctChange and %PctPrint reside in the departments SAS Macro Library and are enabled with the following SAS statements: L For safety we like to run Chi-Square tests on the number of subjects that have a 20% change from baseline. The procedure %PctChange does this for a list of outcome measures. Three batteries of Chi-square test may be done: All combinations(A-B,A-C,A-D,B-C,B-D,C-D), Dosage response(A-B,A-C,A-D), or TwoByTwo design(AB-CD,AC-BD,AD-BC). If you would like to check for other %changes besides 20, you can define a macro variable "percents" as a list of percentages to use. There must be one percentage for each outcome measure in the procedure call: %Let percents=10 10 5 5; %PctPrint creates a listing of subjects that have a 20% change from baseline on the listed outcome measures. This procedure is very helpful in identifying subjects with radical changes over time. Syntax: Example: The default number of significant digits, two, can be changed by defining a macro variable named “Digits” before calling the procedure: %Let Digits=1; Several styles of HTML output can be requested by defining a macro variable named "HtmlStyle" before calling the procedure: %Let HtmlStyle=URbw1; Available styles include: URbw1, URpp1, BarrettsBlue, Beige, Brick, Brown, D3D, Default, Minimal, NoFontDefault, Printer, RTF, Statdoc, Theme, FancyPrinter, SansPrinter, SasdocPrinter and SerifPrinter. The HTML output may be directed to a file by defining a macro variable named "HtmlFile" before calling the procedure: %Let HtmlFile=c:/test.html; The size of the text in the HTML output may be changed by defining a macro variable named "HtmlSize" before calling the procedure: %Let HtmlSize=-1; *or; Output: Please send your comments and suggestions about this web page to A. Watts (watts@bst.rochester.edu) |
|||
©Copyright University of Rochester Medical Center, 1999-2006. Disclaimer. For questions or suggestions concerning the content of these pages, contact the URMC Webmaster. |
||||