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 (February 2001, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 20 Feb 2001 11:07:45 -0500
Reply-To:   "F.J. Kelley" <jkelley@ARCHES.UGA.EDU>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "F.J. Kelley" <jkelley@ARCHES.UGA.EDU>
Subject:   Re: factorial function and values for e and pi
Comments:   To: kviel <kviel@GMCF.ORG>
In-Reply-To:   <C7CCC9FC48DDD311973900508BA36E6E47893E@exchangeserver.gmcf.org>
Content-Type:   TEXT/PLAIN; charset=US-ASCII

there is no factorial function in SAS, but there is a gamma function.

n! = gamma(n+1) ... since these values get large quickly, you may also have need of the log gamma function (lgamma)

On Tue, 20 Feb 2001, kviel wrote:

> Good day all, > > I have looked for a factorial function and the value of e and > briefly. Finally I wrote code to produce e using the both the SAS funciton > log( ) and the infinite series. Have I missed them? As an off-topic > question, does anyone know the Taylor series for pi? > > Thanks, > > Kevin > > Kevin Viel > Georgia Medical Care Foundation > 57 Executive Park South, NE > suite 200 > Atlanta, GA 30329-2224 > > > ------------------------ > CONFIDENTIALITY NOTICE: This e-mail transmission, and any documents, files > or previous e-mail messages attached to it may contain proprietary, > privileged or confidential information. If you are not an intended > recipient, or a person responsible for delivering it to the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of any of the information contained in or > attached to this transmission is STRICTLY PROHIBITED. If you have > received this transmission in error, please immediately notify me by > reply e-mail and destroy the original transmission and its > attachments without saving them in any manner. > ----------------------- >


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