DPdensity() with multivariate(3 variates)

5 views
Skip to first unread message

Christina Ahn

unread,
May 11, 2017, 1:56:11 PM5/11/17
to Davis R Users' Group

Hi, for Bayesian Dirichelt process misxure model, I used DP package and DPdensity().
DPdensity() worked well for univarate and Bivaraite but not for mulitvaraites.

However, I used data with 3 variables, and  it doesn't give  x1,x2 or fun1, fun2, and no dens, but calculates number of clusters.
So seems like it computes and  estimates number of clusters, but I see dens is NULL. So I changed the parameter for prior with three "nu"s like nu1, nu2, nu3. but  still comes with empty x1,x2,  fun1, fun2 and I don't think its a solution

So how i can build x3 or fun3 and get the list for dens? which parameters I need to change? thank you!!!




Reply all
Reply to author
Forward
0 new messages