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 (November 2007, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 21 Nov 2007 17:53:06 -0500
Reply-To:     Snow Sweeps <snowsweeps@YAHOO.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Snow Sweeps <snowsweeps@YAHOO.COM>
Subject:      Re: Using IML for pdf and cdf contaminated normal

Thank you for the advice and information. This is actually just an enrichment class for me and definately outside my major which is special education. I have talked with the professor several times and just don't quite understand how to run the program. I will download the workbench though and see how it goes. Thank you again.

On Wed, 21 Nov 2007 11:46:36 -0600, Paul A. Thompson <paul@WUBIOS.WUSTL.EDU> wrote:

>On the other hand, if you were to take your attempt to your teacher, you >might find that the person would be quite happy at your initiative and >cleverness. I used to try to do things like this myself, and find that it >is a wonderful method to further learn the system. > >IML is a great tool, and is underused. > >Have you found the IML Workbench? It is available for download from SAS. > >Paul A. Thompson, Ph.D. >Division of Biostatistics, Washington University School of Medicine >660 S. Euclid, St. Louis, MO 63110-1093 >314-747-3793 >paul@wubios.wustl.edu > > >-----Original Message----- >From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Dale >McLerran >Sent: Wednesday, November 21, 2007 11:44 AM >To: SAS-L@LISTSERV.UGA.EDU >Subject: Re: Using IML for pdf and cdf contaminated normal > >--- Snow Sweeps <snowsweeps@YAHOO.COM> wrote: > >> Thanks I had the formula worked out, but I am working on a stats >> project at >> school and after we figure it out on paper we need to transfer it >> into a >> proc iml module code. After spending an afternoon in SAS >> documentation,I >> still haven't coded it correctly. >> What I figured I needed to do was something along these lines: >> >> options nodate pageno=1; >> Proc iml; >> start mod1 /*not sure what to do here*/ >> (1-p)*pdf('normal',x,mean,sigma)+p*pdf('normal',x,mean,sigmac); >> finish mod1; >> quit; >> >> and the same for cdf: >> >> (1-p)*cdf('normal',x,mean,sigma)+p*cdf('normal',x,mean,sigmac) >> quit; >> > >I'm sorry, but providing direct assistance for classroom exercises >is against etiquette on SAS-L. However, I can give you some idea >where to look in the SAS documentation for the information that >you need to complete your exercise. Look up the chapter on >programming statements in the SAS/IML users guide. Within that >chapter is a section that focuses on writing functions and >subroutines. I think that is as far as I should go with respect >to guidance about your specific problem. > >Best wishes, > >Dale > > >--------------------------------------- >Dale McLerran >Fred Hutchinson Cancer Research Center >mailto: dmclerra@NO_SPAMfhcrc.org >Ph: (206) 667-2926 >Fax: (206) 667-5977 >--------------------------------------- > > > >____________________________________________________________________________ >________ >Never miss a thing. Make Yahoo your home page. >http://www.yahoo.com/r/hs


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