Input the desired variance, number of distributions, and mean of the distributions, returns a value of the variance of each mixture distribution.
desireVar(desVar, num_dist, means, equalWeight = TRUE)
Desired overall variance of mixture normal distribution.
Number of normal distributions.
Vector of means for each normal distribution. Must equal num_dist.
Should equal weights be used, only TRUE is currently supported.
This function can be used to generate the inputs for the rbimod
variances when a specific variance is desired. Especially useful when
attempting to simulate a mixture normal/bimodal distribution.