ASSIGNMENT 2.
Check the Web page for the S-Plus code for fitting the 2-component normal mixture discussed in class today.
For class on Tuesday 28th, be prepared to ask questions about this normal mixture framework, and to discuss your experiences with this code and variants of it. Experiment with differing sample sizes n and resampled data y, and differing values of the true mean mu (mux in the code) and probability pi (probx in the code).
It is hard to identify (i.e., to estimate mu and pi accurately) this mixture of normals when mu is small relative to sigma, so rerun the analysis a few times exploring posterior inferences for mu with different true values underlying your simulated data. We'll chat about your experiments in class on Tuesday.