Displaying 4 results from an estimated 4 matches for "ddirichlet".
Did you mean:
dirichlet
2008 Dec 09
1
bayesm package not downloading via any mirror or repository
...done
Warning in download.packages(unique(pkgs), destdir = tmpd, available =
available, :
no package 'bayesm' at the repositories
The package is certainly there.
It could be my version of linux, I know.
All I want to do is sample from a dirichlet prior, so I want rdirichlet and
ddirichlet commands basically. If anyone can help or suggest an alternate
package that would be great.
E
--
View this message in context: http://www.nabble.com/bayesm-package-not-downloading-via-any-mirror-or-repository-tp20906495p20906495.html
Sent from the R help mailing list archive at Nabble.com.
2012 Feb 28
2
Error: could not find function "hier.part"
...he package "gtools", I get (hier.part is
not included):
> gtools:: <TAB>
gtools::addLast gtools::ask gtools::assert
gtools::binsearch gtools::capture
gtools::checkRVersion
gtools::combinations gtools::ddirichlet gtools::defmacro
gtools::even gtools::foldchange
gtools::foldchange2logratio
gtools::inv.logit gtools::invalid gtools::keywords
gtools::logit gtools::logratio2foldchange gtools::mixedorder
gtools...
2006 Oct 21
2
problem with mode of marginal distriubtion of rdirichlet{gtools}
Hi all,
I have a problem using rdirichlet{gtools}.
For Dir( a1, a2, ..., a_n), its mode can be found at $( a_i -1)/ (
\sum_{i}a_i - n)$;
The means are $a_i / (\sum_{i} a_i ) $;
I tried to study the above properties using rdirichlet from gtools. The code
are:
##############
library(gtools)
alpha = c(1,3,9) #totoal=13
mean.expect = c(1/13, 3/13, 9/13)
mode.expect = c(0, 2/10, 8/10) #
2006 Sep 19
1
help on dirichlet distribution
Dear Gregory R. Warnes,
I'm a phd student in statistics, at the University of Milano Bicocca.
I'm interested to the methods of estimate the parameters of the Dirichlet distribution.
Do you have implemented an algorithm in R?
If so, can you give me the script? or, in general, some helps?
Best Regards
Gianna
---------------------------------------------------------------
Gianna Monti