Hi R-Experts,

I want to know "for one parameter case, which function is better or correct, optim or optimization?"

I want to optimize the function to get mle using "optimization" function for single parameter case. Is there any other method to check the "optimization" really gives the global mle not the local mle. 

Looking forward for your reply. Thanks in advance. 

Regards,
hena
	[[alternative HTML version deleted]]

