Re: [R] Loglikelihood for x factorial?

From: Ben Bolker <bolker_at_ufl.edu>
Date: Wed, 09 Jul 2008 15:08:42 +0000 (UTC)

 <ctu <at> bigred.unl.edu> writes:

> I have a silly question. I don't know how to express the loglikelihood
> function of
> 1/(x!) where x=x1,x2,....xn in R.

  Not clear what you mean. If you just want the log of the factorial, just use lfactorial(x) ...

 Ben Bolker



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 09 Jul 2008 - 15:13:16 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 09 Jul 2008 - 15:31:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive