Re: [R] how to find the minimum

From: <>
Date: Tue, 29 Apr 2008 09:46:32 +0100

> I am a new R user, and not very good at statistics and maths
> I find it difficult to find the minimum of this item:
> ((p*(b-1)-1)*(p+1)^(b-1)+1)/p^2
> It seems that the method optim can find the minimum. I tried several
> times , but R constanly tells that " failure to find b or p"
> Would you please give some suggestions?

Put down your copy of R, and step away from the computer! This is a reasonably straightforward calculus problem, and you'll likely get more insight solving it with pen and paper ...and if you can't differentiate, then now is as good a time to learn as any!


Mathematical Sciences Unit

ATTENTION: This message contains privileged and confidential inform...{{dropped:20}} mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Tue 29 Apr 2008 - 09:02:29 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 29 Apr 2008 - 09:30:32 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive