View source: R/kernel_multnom.R
convert_Multinom_Normal | R Documentation |
Calculate the parameters of the Dirichlet that best approximates the given log-Normal distribution. The approximation is the best in the sense that it minimizes the KL divergence from the log-Normal to the Dirichlet.
convert_Multinom_Normal(ft, Qt, parms = list())
ft |
vector: A vector representing the means from the normal distribution. |
Qt |
matrix: A matrix representing the covariance matrix of the normal distribution. |
parms |
list: A list of extra known parameters of the distribution. Not used in this kernel. |
The parameters of the conjugated distribution of the linear predictor.
Other auxiliary functions for a Multinomial outcome:
convert_Normal_Multinom()
,
multnom_pred()
,
update_Multinom()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.