Re: [R] help with the maxBHHH routine

2011-05-04 Thread Arne Henningsen
Dear Rohit On 3 May 2011 22:53, Rohit Pandey rohitpandey...@gmail.com wrote: Hello R community, I have been using R's inbuilt maximum likelihood functions, for the different methods (NR, BFGS, etc). I have figured out how to use all of them except the maxBHHH function. This one is

Re: [R] help with the maxBHHH routine

2011-05-04 Thread Rohit Pandey
Hi Andrew, Ravi and Arne, Thank you so much for your prompt replies. I see that all of you mention the need for simple, reproducible code. I had thought of doing this, but the functions I was using for the observation level gradient and likelihood function were very long. I will paste them below

Re: [R] help with the maxBHHH routine

2011-05-04 Thread Andrew Robinson
Hi Rohit, actually, the request for simple reproducible code means that you have to find the simplest possible representation of the problem. What happens if you simplify the observation level gradient and the likelihood function? Eg to trivial examples? If you still get the error, then

[R] help with the maxBHHH routine

2011-05-03 Thread Rohit Pandey
Hello R community, I have been using R's inbuilt maximum likelihood functions, for the different methods (NR, BFGS, etc). I have figured out how to use all of them except the maxBHHH function. This one is different from the others as it requires an observation level gradient. I am using the

Re: [R] help with the maxBHHH routine

2011-05-03 Thread Andrew Robinson
I suggest that you provide some commented, minimal, self-contained, reproducible code. Cheers Andrew On Wed, May 04, 2011 at 02:23:29AM +0530, Rohit Pandey wrote: Hello R community, I have been using R's inbuilt maximum likelihood functions, for the different methods (NR, BFGS, etc). I

Re: [R] help with the maxBHHH routine

2011-05-03 Thread Ravi Varadhan
. From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] On Behalf Of Rohit Pandey [rohitpandey...@gmail.com] Sent: Tuesday, May 03, 2011 4:53 PM To: r-help@r-project.org Subject: [R] help with the maxBHHH routine Hello R community, I have been using R's