You need to read the help page for optimize. Again, if you already have ;-)
The error message
>Error in optimize(llik, init.params = F) : element 1 is empty;
>the part of the args list of 'min' being evaluated was:
>(interval)
is telling you that the parameter (interval) required by o
Please
a) read the posting guide
b) really submit reproducible code. Yours is not.
c) read ?optimize and learn to specify the interval
d) you specified an argument init.params, but that is not used in
optimize() nor can it be usefully passed to llik.
Uwe Ligges
On 01.07.2011 02:46, Edward B
2 matches
Mail list logo