Reparametrize mixture proportions
Re-parameterise the mixture proportions so that when there is more than a 2-point mixture, the proportions sum to 1.
A set of mixture proportions.
Is the last parameter provided, i.e. does sum(mix.prop)=1?
a vector of parameters
See Miller and Thomas for information on exactly how these are calculated. Thanks go to David Borchers for proposing the trick.
David L. Miller
Miller, D.L. and L. Thomas (in prep.). Mixture model distance sampling detection functions.
1 2 3
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.