Hi
I have a function of two parameters alpha and beta, I found the MLEs for these two parameters. I have then to create a function of beta only which I need to solve
then use the result to find alpha. I used bisection method to solve for beta. My problem is that the answer doesn't seem to be alright it always choose the upper limit i.e. every time I change the boundary
I get different solution ( if the interval (a=0.75, b=1.5) then the answer is 1.499999 and if (a=0.75, b=1) then the answer is 0.99999 and so on. The MLE for the same problem using the same data set has been computed to be 0.9900573, and the true value=1 ). I can't plot the function using the lineplot because I have an old version of SAS, but I picked the (a,b) interval to be around the MLE which is known as I said from previous code. I highly appreciate any advice or suggestions.
my code is attached below
thank you