generate a random sample from a mixture of exponentials

Generate a random sample from a mixture of normals.

1 |

`n` |
sample size. |

`alpha` |
vector of mixture proportions of length m, the order of the mixture. |

`mu` |
vector of means of component distributions. |

`sigma` |
vector of standard deviations of component distributions, default value: sigma = rep(1,length(alpha)). |

Return a samples of size n from an m-component normal mixture.

Shaoting Li, Jiahua Chen and Pengfei Li

emtest.norm, emtest.norm0, plotmix.norm, plotmix.norm0, pmle.norm, pmle.norm0

1 2 3 4 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.