similar to: Simulation of a Dirichlet Process.

Displaying 20 results from an estimated 300 matches similar to: "Simulation of a Dirichlet Process."

2008 Apr 15
1
codes for MCMC
I look for codes sources of R (examples of application) to implement examples on Monte Carlo, MCMC and Gibbs sampling. -- Dr. P. NGOM, Facult? des Sciences et Techniques D?partement de Math?matiques et Informatique Universit? Cheikh Anta Diop Dakar - S?n?gal ---------------------------------------------------------------- Universite Cheikh Anta DIOP - DAKAR
2024 Sep 14
1
Dirichlet kernel requires r to be defined, which is not in the help
Code to reproduce > kernel("dirichlet") Error in kernel("dirichlet") : argument "r" is missing, with no default The help says r??? the kernel order for a Fejer kernel. Thanks to update the help. Best, Samuel
2011 Mar 29
1
Dirichlet surface
Dear list members, I want to draw surfaces of Dirichlet distributions with different parameter settings. My code is the following: #<begin code> a1 <- a2 <- a3 <- 2 #a2 <- .5 #a3 <- .5 x1 <- x2 <- seq(0.01, .99, by=.01) f <- function(x1, x2){ term1 <- gamma(a1+a2+a3)/(gamma(a1)*gamma(a2)*gamma(a3)) term2 <- x1^(a1-1)*x2^(a2-1)*(1-x1-x2)^(a3-1)
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
2013 May 12
1
Multinomial-Dirichlet using R
Hi: I have asked this question on Cross-Validated. So it might be a cross posting but havent received any responses to it. I am trying to see which distribution will best fit the data I am working on. The dataset is as following: Site Nausea headache Abdominal Distension 1 17 5 10 2 12
2007 Nov 27
1
voronoi/Delaunay/Dirichlet tessellation on sphere in R or S?
There's Renka's STRIPACK, and TRIPACK, respectively, ACM TOMS Algorithms 772 and 751, and there's the R package "deldir" which does the Delaunay for a plane, but does anyone have or know of the tessellation in R for a sphere? Also, is there a standard indexing scheme for Delaunay facets, and perhaps of edges in such facets? I'd expect that to be a publication reference,
2006 Sep 25
1
sieve problem unresolved
hello, I follow your suggestions : _cyrus timsieved installed on the two LDA server _the sieve script stored in the /var/home (which is the virtual home directory) and in /var/mail/user/ for testing purposes But nothing happened when the user receive a email. Below the sieve script. Regards #################################################### # This script has been automatically generated by
2006 Oct 10
4
generate random numbers that sum up to 1
As I have previously asked, in response to a similar question: Is this a homework problem? cheers, Rolf Turner rolf at math.unb.ca
2007 Jul 10
2
integration over a simplex
Hello The excellent adapt package integrates over multi-dimensional hypercubes. I want to integrate over a multidimensional simplex. Has anyone implemented such a thing in R? I can transform an n-simplex to a hyperrectangle but the Jacobian is a rapidly-varying (and very lopsided) function and this is making adapt() slow. [ A \dfn{simplex} is an n-dimensional analogue of a triangle or
2016 Apr 29
1
my dahdi dont'n start
<!DOCTYPE html> <html><head> <meta charset="UTF-8"> </head><body><p>Hello,</p><p>I have not resolved my problem.I renamed my  dahdi file  "mv dahdi.bash dahdi " in the directory /etc/init.d, but it doesn'nt work yet.</p><p>the same error after the command  <strong>/etc/init.d/dahdi
2008 Nov 23
2
Latin Hypercube with condition sum = 1
Hi I want to du a sensitivity analysis using Latin Hypercubes. But my parameters have to fulfill two conditions: 1) ranging from 0 to 1 2) have to sum up to 1 So far I am using the lhs package and am doing the following: library(lhs) ws <- improvedLHS(1000, 7) wsSums <- rowSums(ws) wss <- ws / wsSums but I think I can't do that, as after the normalization > min(wss) [1]
2010 Aug 27
2
multivariate distributions
Hi, How can I generate data from multivariate gamma distribution & multivariate beta distribution? I only found command for multivariate normal only. Many thanks in advance :) Regards Rofizah [[alternative HTML version deleted]]
2016 Jun 07
2
Want to detect sound
<!DOCTYPE html> <html><head> <meta charset="UTF-8"> </head><body><p>Hello everybody,<br><br>I manage not to detect one silence with record () when I make as follows:<br><br>Exten = > 0178900271, n, Record ($ ${ link_recorded_pseudos_clients } pseudo_ Client_Id} wav, 5,5) exten = > 0178900271, n, GotoIf ($ ["
2016 May 09
2
voicemail: duration while leaving a message
<!DOCTYPE html> <html><head> <meta charset="UTF-8"> </head><body><p>Hello list,</p><p><br></p><p>I am asking when a caller want to leave a message to a mailbox with the application voicemail</p><p>How i can limit the duration for exemple 30 seconds.</p><p>exten =>
2016 Dec 05
2
Suma condicionada.-
Hola comunidad, Les consulto mi duda. Quisiera generar N números aleatorios tal que su suma esté predeterminada a un valor k. Sé que con la distribución Dirichlet, por ejemplo, se podrían obtener números aleatorios tal que su suma es la unidad. Por ejemplo MCMCpack::rdirichlet(1,rep(10,7)) genera 7 números tal que su suma es 1 (el parámetro rep(10,7) es cualquier cosa). Pero me pregunto si se
2006 Jul 19
2
voronoi tessellations
Okay, been working with tripack, seems the most mature package for this. Got it to work well with their test data set - data(tritest). When i tried random numbers to explore further, i am getting some results that don't reconcile. example run this: library(tripack) y <- runif(100) x <- runif(100) vm <- voronoi.mosaic(x,y) plot(vm) par(new=T) plot(x,y,col='blue') when
2016 Apr 26
7
my dahdi dont'n start
<!DOCTYPE html> <html><head> <meta charset="UTF-8"> </head><body><p>Hello,</p><p><br></p><p>Having installed DAHDI to be able to use the meetme() application , when I start the dahdi service it generates me the following error:</p><p>-bash: /etc/init.d/dahdi: No such file or
2010 Jul 05
2
Function to compute the multinomial beta function?
Dear R-users, Is there an R function to compute the multinomial beta function? That is, the normalizing constant that arises in a Dirichlet distribution. For example, with three parameters the beta function is Beta(n1,n2,n2) = Gamma(n1)*Gamma(n2)*Gamma(n3)/Gamma(n1+n2+n3) Thanks in advance for any assisstance. Regards, Greg [[alternative HTML version deleted]]
2003 Feb 16
1
multivariate sampling question again
Hi Thanks for replying my question! What really interested me is that the package providing some complex form sampling, such as wishart, multinomial, dirichlet. And others for example conditional beta distribution confining the random variable in the interval (a, b). Since these concept are widely used in the baysian, I wonder whether somebody has already written this package. Thanks! Best
2011 Feb 24
1
weighted Voronoi diagrams
Dear R-users, Does anyone know how to do weighted Voronoi diagrams (Dirichlet tesselation) in R? To be more specific, I have a set of coordinates for tree locations on a plot, and I'm looking for a way to do the tesselation so that the polygon size for each tree depends on the size of the subject tree, and the size of its neighbors. So, the location of the bisection between two trees