fun_estimate_Dirichlet_from_samples.Rd
Estimate MLE parameters from a dataframe of Dirichlet samples from different sources. The sources must be known.
fun_estimate_Dirichlet_from_samples(df, col_source = "source", ...)
df | dataframe of Dirichlet samples with a source column |
---|---|
col_source | the column name containing the source column |
... | Arguments passed on to
|
a tibble containing the Dirichlet parameter estimates for each source
Suppose that rows in source i are \(X ~ Dir(\theta_i)\) iid. This function estimates \(\theta_i\).