I want to minimize the following function over a range of z values. As you can see below, I\'ve minimized using optim the profile_loglikeliho
z
optim
profile_loglikeliho