Description Usage Arguments Value
returns the density of a given point based on the given parameters of a beta mixture distribution
1 | BM_Density(x, Mixture_Parameters, Alphas, Betas, Log = F)
|
x |
vector of data points. Will compute the density of them. |
Mixture_Parameters |
Vector of mixture parameters. Must add up to 1 if of length N, or must be within (0, 1) if of length N-1 (reference Alphas and Betas for help with length). |
Alphas |
Vector of Alpha shape parameters. Must be of length N (reference Alphas and Betas for help with length). |
Betas |
Vector of Beta shape parameters. Must be of length N (reference Alphas and Betas for help with length). |
Log |
Boolean to deterime if the log of the density is to be returned. |
Vector of density measures. Same length as input vector x, with cooresponding indices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.