[Rd] Writing new probability functions

From: Vincent Goulet <vincent.goulet_at_act.ulaval.ca>
Date: Thu 10 Nov 2005 - 20:36:57 GMT


Dear developeRs,

I am maintaining a package of Actuarial Science functions (soon to be uploaded to CRAN) in which we would like to include the usual d*, p*, q* and r* functions for some probability laws not currently found in base R.

Taking into account that most of the distributions are functions or transformations of the distributions found in base R, should we look into writing our functions in C or in R, both in terms of: (1) speed, and (2) accuracy?

If we opt for C, is there a canonical reference detailing the precautions one has to take to ensure accuracy of the density/distribution/quantile functions over the complete domain of the probability laws?

Comments appreciated.

-- 
  Vincent Goulet, Associate Professor
  École d'actuariat
  Université Laval, Québec 
  Vincent.Goulet_at_act.ulaval.ca   http://vgoulet.act.ulaval.ca

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Fri Nov 11 07:42:39 2005

This archive was generated by hypermail 2.1.8 : Fri 11 Nov 2005 - 16:21:18 GMT