Re: [R] MLEs using optim

2012-02-06 Thread Rolf Turner
On 07/02/12 03:24, djbanana wrote: I am trying to use the optim command to get the MLEs for a number of parameters based on some data. Is it possible to write a program that maximizes the likelihood and stores the parameters (many times)? Of course it's possible. This is R. I need to do th

[R] MLEs using optim

2012-02-06 Thread djbanana
I am trying to use the optim command to get the MLEs for a number of parameters based on some data. Is it possible to write a program that maximizes the likelihood and stores the parameters (many times)? I need to do this a lot of times, each time the data will be updated with more entries (rows).