Dear:
I try to revise the maximum likelihood function below using something
constrains. But it seems something wrong with it. Becasue R would not allow me
to edit the function like this. It is very appreciate if you can help.
function (parameters,y,x1,x2)
{
p-parameters[1]
Dear Xin,
Although I have no idea what your function does, I believe it would be
formally correct in the following way:
foo - function (parameters,y,x1,x2)
{
p -parameters[1]
alpha1-parameters[2]
beta1-parameters[3]
delta1-parameters[4]