[R] [FORGED] cumulative distribtuion function for multinomial distribution in R

peter dalgaard pdalgd at gmail.com
Tue Sep 29 14:35:52 CEST 2015


On 29 Sep 2015, at 04:16 , Rolf Turner <r.turner at auckland.ac.nz> wrote:

> On 29/09/15 14:58, li li wrote:
>> Hi all,
>>   In R, is there a function for the cumulative distribution function
>> for multinomial distribution? I only see pmultinom and rmultinom which
>> are the prabability mass function and the function for generating
>> multinomial random variables respectively.
> 
> A moment's Googling would have led you to pmvnorm in package "mvtnorm".

A moment spent with a cup of strong coffee would have led you to realize that multinomial and multivariate normal are two different things....  ;-)

- pd

> 
> cheers,
> 
> Rolf Turner
> 
> -- 
> Technical Editor ANZJS
> Department of Statistics
> University of Auckland
> Phone: +64-9-373-7599 ext. 88276
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-help mailing list