Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Student Distribution

From: lmecir:mbox:vol:cz at: 20-Feb-2002 16:11

Thanks, how about the Cumulative Student Distribution function, do I have to use numerical integration? ----- Original Message ----- From: "Joel Neely" <[joel--neely--fedex--com]> To: <[rebol-list--rebol--com]> Sent: Wednesday, February 20, 2002 2:22 PM Subject: [REBOL] Re: Student Distribution Hi, Ladislav, Ladislav Mecir wrote:
> I would like to define a Rebol function, that can compute > values of the Student Distribution. Any pointers? >
_Numerical_Recipes__The_Art_of_Scientific_Computation_ by Press, Flannery, Teukolsky, and Vetterling (c) Cambridge University Press, 1986 ISBN 0-521-30811-9 describes the mathematics of Student's t and the incomplete beta function in chapters 6 and 13, and presents both FORTRAN and PASCAL code for the relevant functions. There is a later edition of that book that uses C as the demo language, if that's of any help. -jn- -- ; sub REBOL {}; sub head ($) {@_[0]} REBOL [] # despam: func [e] [replace replace/all e ":" "." "#" "@"] ; sub despam {my ($e) = @_; $e =~ tr/:#/.@/; return "\n$e"} print head reverse despam "moc:xedef#yleen:leoj" ;