Normal-Uniform mixture model fitting
This function fits the distribution of a input vector with mixture of Normal and Uniform distributions and returns the BIC score for the model.
input vector. In the context of subclonality inference,
The model is: Y~ A*U(0,1)+(1-A)*Normal(mu,sigma), where A, mu and sigma are parameters to be fitted.
a list containing the following elements:
BIC score from the model.
a vector containing three numbers, in the order of fitted A, mu and sigma.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.