Stat 514: Spring 2010 Homework 7: Use the below R code to report the final estimates of lamda, mu1 and mu2. Also give the total number of iterations to convergence. ######################################################################### # below is a function to solve a normal mixture problem by EM algorithm # ######################################################################### emnormal <- function(x,lambda,mu1,mu2,sigma=15,epsi=10^(-8),maxit=1000){ diff <- 1 iter <- 0 oldlog <- sum(log(lambda*dnorm(x,mu1,sigma)+(1-lambda)*dnorm(x,mu2,sigma))) while(diff>epsi & iter