All Questions
Tagged with dirichlet-distribution r
16
questions
0
votes
0
answers
32
views
Results dirichlet regression - brms vs DirichelReg comparison
I am new to Dirichlet regression, but I am trying to understand why model outputs are potentially different when I use two different R packages, and how I could interpret the slope and intercept ...
0
votes
0
answers
187
views
Using the methods of moments in R for the dirichlet distribution
I'm trying to build a distribution of transition probabilities to randomly sample from in a Markov model where individuals can transition from one health state to another (assume that in the image ...
2
votes
2
answers
863
views
Is it possible to fit a Dirichlet Regression to changing response variables?
A toy problem to illustrate my issue:
We put a 100 people in a room with 10 candy bars. Each bar is different and has a different brand, flavor, size, color, etc. We ask each person in the group to ...
3
votes
1
answer
1k
views
Convergence issue dirichlet model JAGS, implemented in R
I have data on the relative abundances of 3 species, stored in the matrix r.spp.y. Species 1 has a negative relationship with the variable ...
1
vote
0
answers
57
views
Measuring covariance among multiple y-variables using a dirlichet model, implemented in JAGS in R
I have data on 3 species abundances as fractional compositions. Within each sample, the sum of all species abundances is 1. Essentially, each observation is a proportional abundance. Here is an ...
4
votes
1
answer
2k
views
Interpretation of the Precision Model in Dirichlet regression
I use dirichlet regression to analyze the result of a membership matrix (compositional data). For each observation, I have membership probabilities to different groups and these probabilities sum to ...
1
vote
1
answer
135
views
multivariate dirichlet for multiple imputation
I dealing with 3 covariates {x1, x2, x3} all three are discrete and contain missing data.
...
1
vote
2
answers
495
views
Unkown 6-sided dice. After 600 rolls frequency for all sides exactly equal. What is the chance, that rolling "6" with this dice has frequency > 1/6?
Although it is unknown dice, the symmetry of the evidence tells us, that we can treat the dice as fair, so the chance should be exactly 50%.
But if we simulate it by hand, the result is less then 50%:...
6
votes
3
answers
7k
views
simulate dirichlet process in R
I am reading the paper of "Dirichlet Process Mixtures of Generalized Linear Models" authored by L. A. Hannah. If I would like to simulate the following model
$$\mathcal{P}\sim \text{DP}(c\mathbb{G}_0)...
1
vote
1
answer
406
views
How to draw samples from a Bayesian nonparamatric density estimation? [DPpackage]
I am trying to compute a Kernel Density from high dimensional data ($n > 2$). The underlying (generative) model is assumed unknown.
The goal is to draw samples from this estimate, in a sense ...
0
votes
0
answers
538
views
can Dirichlet prior distribution be larger than 1?
This question is related to my quest of clustering the sequences using mixture Markov modeling.
I have trouble understanding Dirichlet priors in the context of MAP-estimate (Mixture Markov Models). ...
10
votes
2
answers
2k
views
Implementation of Dirichlet cdf?
I need to compute the Dirichlet CDF, but I can only find implementations of the PDF.
Do you guys know of any library (preferably in R) implementing it?
1
vote
0
answers
83
views
Dirichlet density with just one x value and one alpha parameter
Does it make any sense to apply the Dirichlet density function to only one x value and therefore one alpha parameter? (this would be the result of some bin merging)
I'm asking because it appears ...
1
vote
0
answers
27
views
dirichlet density function returning values > 1.0 [duplicate]
Possible Duplicate:
Probability distribution value exceeding 1 is OK?
I'm comparing results given by this implementation and that from the gtool library in R, of the Dirichlet density function.
...
1
vote
1
answer
579
views
Input parameters in Dirichlet density function
I'm trying to feed the Dirichlet density function with some sample data and estimated alpha vector using R in Python (library rpy2), but I don't understand the error that I got:
...