simulate a two-component admixture model, where the first component is a mixture itself
rsimmix_mix(n, m, s, p, a)
is the number of observations to be drawn
the mean (up to the shift a) of the unknown components
the standard deviation of the unknown components
the weight of the unknown component (itself a mixture).
the shift of the mean for the two distributions that are embedded in the unknown component
a list containing the data generated from a mixture of mixture distribution, the data where the known component density has been made uniform(0,1), and the known data (corresponding to the part of data generated from the known component density).
Xavier Milhaud email@example.com