LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (January 2007, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 29 Jan 2007 01:16:28 -0800
Reply-To:     Albert-jan Roskam <fomcl@YAHOO.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Albert-jan Roskam <fomcl@YAHOO.COM>
Subject:      Re: SAS code to shut down windows
Comments: To: David L Cassell <davidlcassell@MSN.COM>
In-Reply-To:  <BAY103-F40ABD699B904E5E8098A6BB0A70@phx.gbl>
Content-Type: text/plain; charset=iso-8859-1

Hi list,

Thank you *all* for your advice! I greatly appreciate this.

David, you suggested looking at the problem of slow calculations 'upstream'. Well, in my case I was using a macro to calculate prevalence rate ratios:

Deddens JA, Petersen MR, Lei X. Estimation of prevalence ratios when PROC GENMOD does not converge. Proceedings of the 28th Annual SAS Users Group International Conference, Seattle, Washington, March 30–April 2, 2003. (Paper 270-28). (http://www2.sas.com/proceedings/sugi28/270-28.pdf).

The log-binomial approach for calculating PRRs is known for its numerical instability, hence the COPY method: "This method consists of expanding the original data set to include a large number of copies of the original data set together with one copy of the original data set with cases and controls reversed. The estimated standard error of the prevalence ratio on the expanded data set is then "adjusted" to obtain the correct estimate of the standard error of the prevalence ratio."

So although you're basically right David, in this case it's hard to by-pass the computer's slowness.

Cheers! Albert-Jan

--- David L Cassell <davidlcassell@MSN.COM> wrote:

> fomcl@YAHOO.COM wrote: > > > >hi list, > > > >Some analyses I do are so time-consuming that I > leave > >my computer on overnight. I was just wondering > whether > >some 'green' approach is possible: SAS code to shut > >down windows after the SAS job is done, and save > >electricity, trees, and what have you. I've been > >looking for such a piece of code but with no > success. > > > >Does anybody know how to do this? > > > >Thanks in advance! > > > >Albert-Jan > > I see that you have already received some good > advice on this. > Let me offer something else. :-) > > If you really want to 'go green', perhaps it would > be better > to focus on the upstream problem. Why are your > analyses > taking so long to run? What are you computing? Are > there > faster alternatives which would reduce the need to > leave your > computer running overnight? > > HTH, > David > -- > David L. Cassell > mathematical statistician > Design Pathways > 3115 NW Norwood Pl. > Corvallis OR 97330 > > _________________________________________________________________ > Valentine’s Day -- Shop for gifts that spell L-O-V-E > at MSN Shopping > http://shopping.msn.com/content/shp/?ctId=8323,ptnrid=37,ptnrdata=24095&tcode=wlmtagline >

____________________________________________________________________________________ No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail


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