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 simpl
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 h
Dear Rohit
On 3 May 2011 22:53, Rohit Pandey 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 different from the others
maxBHHH is *not* an in-built R function. It is in a distributed package called
"maxLik". Always tell us which package is being used so that it is easier for
us to help you.
The error message says that the gradient function is returning a 10 x 2 matrix,
whereas you say that you have 1000's of
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).
>
5 matches
Mail list logo