peter dalgaard
2015-Sep-29 12:35 UTC
[R] [FORGED] cumulative distribtuion function for multinomial distribution in R
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
Rolf Turner
2015-Sep-29 20:44 UTC
[R] [FORGED] cumulative distribtuion function for multinomial distribution in R
On 30/09/15 01:35, peter dalgaard wrote:> > 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.... ;-)Yeah, well, some brains would help too. Be that as it were, did you see my follow-up post in respect of the (actually relevant) MFSAS package and it's "orphaned" (or not) status? The package (source version in the Archives) seems to be basically OK. Did the maintainer just disappear off the face of the earth? According to my reading of the README, this should instigate an "orphaned" annotation in the DESCRIPTION file, but there doesn't seem to be one. cheers, Rolf -- Technical Editor ANZJS Department of Statistics University of Auckland Phone: +64-9-373-7599 ext. 88276
peter dalgaard
2015-Sep-30 07:55 UTC
[R] [FORGED] cumulative distribtuion function for multinomial distribution in R
I know exactly this: https://cran.r-project.org/web/packages/MFSAS/index.html As I understand things (but I am not a CRAN maintainer): This is compatible with a situation where the maintainer exists but doesn't update the package. I think a package only gets to orphaned status if the maintainer steps down or disappears. -pd> On 29 Sep 2015, at 22:44 , Rolf Turner <r.turner at auckland.ac.nz> wrote: > > On 30/09/15 01:35, peter dalgaard wrote: >> >> 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.... ;-) > > > Yeah, well, some brains would help too. > > Be that as it were, did you see my follow-up post in respect of the (actually relevant) MFSAS package and it's "orphaned" (or not) status? > > The package (source version in the Archives) seems to be basically OK. Did the maintainer just disappear off the face of the earth? > > According to my reading of the README, this should instigate an "orphaned" annotation in the DESCRIPTION file, but there doesn't seem to be one. > > cheers, > > Rolf > > -- > Technical Editor ANZJS > Department of Statistics > University of Auckland > Phone: +64-9-373-7599 ext. 88276-- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com