LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2008, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 3 Sep 2008 15:41:09 -0500
Reply-To:     Mary <mlhoward@avalon.net>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Mary <mlhoward@AVALON.NET>
Subject:      Re: Flag significant result
Comments: To: tal <talila.ar@GMAIL.COM>
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
              reply-type=original

tal,

Not exactly, but what you could do is to use ODS to accumulate particular items from each run on a row, such as:

ods select Association(persist) Type3Analysis(persist) GlobalTests(persist) FitStatistics(persist); ods output Association=Association_set Type3=type3_set GlobalTests=globaltests_set FitStatistics= fitstatistics_set; ods listing close;

proc logistic data=logistic_set; class model_var; model amd_flag= model_var; title &model; run;

ods select all; ods _all_ close; ods listing;

data globaltests_set; informat modelcount 4. likelihood 7.5; set globaltests_set; if Test='Likelihood Ratio'; modelcount= &model_count; likelihood= probchisq; keep modelcount likelihood; run;

data allset; set allset globaltests_set; label modelcount='Model'; run;

Then once you have in your "allset" a row for each run that you did, you can either just move it to Excel and use the "conditional formatting" items there to color results of certain values (such as less than .05), or you can use Proc Report in SAS with conditional formatting to color or otherwiser format your rows conditionally. Note: this is a fair amount of work to set up using Proc Report; though condional formatting in Excel is not too hard to learn.

-Mary

----- Original Message ----- From: tal To: SAS-L@LISTSERV.UGA.EDU Sent: Wednesday, September 03, 2008 3:20 PM Subject: Flag significant result

Hi! is there a way to ask SAS to flag the significant results in Proc Logistic? or in any other procedure? Thanks in advance!


Back to: Top of message | Previous page | Main SAS-L page