Re: [R] EM algorithm in R

2010-03-21 Thread Daniel Nordlund
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of tj > Sent: Saturday, March 20, 2010 10:35 AM > To: r-help@r-project.org > Subject: Re: [R] EM algorithm in R > > > here is my program... Im try

Re: [R] EM algorithm in R

2010-03-20 Thread tj
here is my program... Im trying to fit 1 component to 6 components in each of the 300 generated samples. Each sample has size=200. For each of the 300 generated samples and for each modeled component (v=1,2,3,4,5,6), I will get estimates of the parameters that will maximize the likelihood, AND the

Re: [R] EM algorithm in R

2010-03-20 Thread Sharpie
tj wrote: > > Thanks David. I already tried two different programs for this. The first > one has errors. > I'm working right now on my alternative program ( i hope it will work), > BUT I still prefer to use the first program I made because it is more > detailed. So, I'm trying how to correct the

Re: [R] EM algorithm in R

2010-03-20 Thread tj
Thanks David. I already tried two different programs for this. The first one has errors. I'm working right now on my alternative program ( i hope it will work), BUT I still prefer to use the first program I made because it is more detailed. So, I'm trying how to correct the errors in the first R p

Re: [R] EM algorithm in R

2010-03-20 Thread David Winsemius
On Mar 20, 2010, at 3:53 AM, tj wrote: Please help me in writing the R code for this problem. I've been solving this for 4 days. It was hard for me to solve it. It's a simulation problem in R. The problem is My true model is a normal mixture which is given as 0.5 N(-0.8,1) + 0.5 N(0.8,

[R] EM algorithm in R

2010-03-20 Thread tj
Please help me in writing the R code for this problem. I've been solving this for 4 days. It was hard for me to solve it. It's a simulation problem in R. The problem is My true model is a normal mixture which is given as 0.5 N(-0.8,1) + 0.5 N(0.8,1). This model has two components. I will get a

Re: [R] EM Algorithm in R

2008-05-13 Thread Prof Brian Ripley
The EM algorithm is not an algorithm for solving problems, rather an algorithm for creating statistical methods. So you need to look for a package to solve the specific problem you want to solve. In some engineering literature the term is used for its application to finite mixtures of distribu

[R] EM Algorithm in R

2008-05-13 Thread Edward Wijaya
Hi all, Is there any EM (Expectation Maximization) package available for R? CRAN Package archive (http://cran.r-project.org/) doesn't seem to have it. Regards, Edward __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help