Dear Sir\ Madam I am trying to maximise a complicated loglikelihood function via EM algorithm which consists of two step "E-step and M-step"and in this case I need to maximize the expected of like lihood function " which I get from E- step" and take those estimates of parameter to update the E-step and repate these till convargence has been met. So I need to know if I control the number of iterlim in maxLik or optim Package by puting this number equals to one to maximize M-step and getting just the estimates of parameter for one iteration and hence use them to update the E-step and again maximaize M-step by using maxLik or optim by contoling the number of limiter and putting the number equals to 1 is it true and acceptance? I mean if I do this my results can be reasonable?. please I am waiting your response. Regards Fauzia Taweab phd.student. [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.