Sam Wong qxsr at yahoo.com writes:
Hi, R Users;
I am trying to maximize a likelihood function which
contains an integral. The integral contains the
unknown parameter as well. I am trying to use the
following code to do the maximization:
[snip]
The error message is:
Error in
Hi, R Users;
I am trying to maximize a likelihood function which
contains an integral. The integral contains the
unknown parameter as well. I am trying to use the
following code to do the maximization:
ll-function(b.vec){
b0-b.vec[1]
b1-b.vec[2]
b2-b.vec[3]